List of usage examples for java.awt.dnd DragSourceListener interface-usage
From source file ScribbleDragAndDrop.java
/**
* This component can operate in two modes. In "draw mode", it allows the user
* to scribble with the mouse. In "drag mode", it allows the user to drag
* scribbles with the mouse. Regardless of the mode, it always allows scribbles
* to be dropped on it from other applications.
*/
From source file TreeDragTest.java
class TreeDragSource implements DragSourceListener, DragGestureListener {
DragSource source;
DragGestureRecognizer recognizer;
From source file com.qspin.qtaste.ui.TestCaseTree.java
@SuppressWarnings("serial") public class TestCaseTree extends JTree implements DragSourceListener, DropTargetListener, DragGestureListener { static DataFlavor localObjectFlavor; static { try {
From source file org.orbisgis.core.ui.plugins.views.geocatalog.Catalog.java
public class Catalog extends JPanel implements DragGestureListener, DragSourceListener, WorkbenchFrame { private static final String AC_BTN_DEL_TAG = "del"; private static final String AC_BTN_ADD_TAG = "add"; private static final int FILTER_VISIBLE_ROW_COUNT = 6; private HashMap<String, HashSet<String>> tagSources = new HashMap<String, HashSet<String>>();
From source file org.jas.dnd.FileDragSource.java
public final class FileDragSource implements DragGestureListener, DragSourceListener { private static final Log LOG = LogFactory.getLog(FileDragSource.class); private DragSource dragSource; private FileSelection fileSelection;
From source file de.tor.tribes.ui.windows.TribeTribeAttackFrame.java
/** * @author Torridity */ public class TribeTribeAttackFrame extends DSWorkbenchGesturedFrame implements ActionListener, AlgorithmListener, DropTargetListener, DragGestureListener, DragSourceListener, SettingsChangedListener, GenericManagerListener, ListSelectionListener {
From source file DragDropTreeExample.java
class FileTreeDragSource implements DragGestureListener, DragSourceListener { public FileTreeDragSource(FileTree tree) { this.tree = tree; // Use the default DragSource DragSource dragSource = DragSource.getDefaultDragSource();