List of usage examples for javax.swing TransferHandler subclass-usage
From source file net.sf.jabref.groups.EntryTableTransferHandler.java
public class EntryTableTransferHandler extends TransferHandler { private final MainTable entryTable; private final JabRefFrame frame;
From source file net.sf.jabref.gui.groups.EntryTableTransferHandler.java
public class EntryTableTransferHandler extends TransferHandler { private final MainTable entryTable; private final JabRefFrame frame;
From source file Dropper.java
/** Non-public class to handle filename drops */ class MyFileTransferHandler extends TransferHandler { /** * @see javax.swing.TransferHandler#canImport(javax.swing.JComponent,
From source file DragImage.java
class ImageSelection extends TransferHandler implements Transferable { private static final DataFlavor flavors[] = { DataFlavor.imageFlavor }; private JLabel source;
From source file com.projity.pm.graphic.spreadsheet.common.transfer.NodeListTransferHandler.java
/** * */ public class NodeListTransferHandler extends TransferHandler { public NodeListTransferHandler(SpreadSheet spreadSheet) { super();
From source file DragColorDemo.java
/**
* An implementation of TransferHandler that adds support for dropping colors.
* Dropping a color on a component having this TransferHandler changes the
* foreground or the background of the component to the dropped color, according
* to the value of the changesForegroundColor property.
*/
From source file DragListDemo.java
class ArrayListTransferHandler extends TransferHandler { DataFlavor localArrayListFlavor, serialArrayListFlavor; String localArrayListType = DataFlavor.javaJVMLocalObjectMimeType + ";class=java.util.ArrayList"; JList source = null;
From source file ExtendedDnDDemo.java
abstract class StringTransferHandler extends TransferHandler { protected abstract String exportString(JComponent c); protected abstract void importString(JComponent c, String str);
From source file DropDemo.java
class ListTransferHandler extends TransferHandler { private int[] indices = null; private int addIndex = -1; // Location where items were added private int addCount = 0; // Number of items added. public boolean canImport(TransferHandler.TransferSupport info) {
From source file TextCutPaste.java
/** * An implementation of TransferHandler that adds support for the import and * export of text using drag and drop and cut/copy/paste. */ class TextTransferHandler extends TransferHandler { // Start and end position in the source text.