Example usage for javax.swing TransferHandler subclass-usage

List of usage examples for javax.swing TransferHandler subclass-usage

Introduction

In this page you can find the example usage for javax.swing TransferHandler subclass-usage.

Usage

From source file net.sf.jhylafax.addressbook.AbstractContactTransferHandler.java

public abstract class AbstractContactTransferHandler extends TransferHandler {

    private final static Log logger = LogFactory.getLog(AbstractContactTransferHandler.class);

    public abstract void importData(Contact[] contacts);

From source file FileTransferHandler.java

/**
 * This TransferHandler subclass wraps another TransferHandler and delegates
 * most of its operations to the wrapped handler. It adds the ability to to drop
 * or paste files using the predefined DataFlavor.javaFileListFlavor. When a
 * file list is pasted or dropped, it assumes the files are text, reads them in
 * order, concatenates their contents, and then passes the resulting string to

From source file net.sf.nmedit.patchmodifier.mutator.VariationTransferHandler.java

public class VariationTransferHandler extends TransferHandler {

    private static final Log log = LogFactory.getLog(VariationTransferHandler.class);

    private static final long serialVersionUID = -7388283079611345524L;

From source file DnDDemo2.java

class TextColorTransferHandler extends TransferHandler {

    public int getSourceActions(JComponent c) {
        return COPY_OR_MOVE;
    }

From source file edu.ku.brc.specify.tasks.subpane.wb.ImageTransferable.java

/**
 * @author rods
 *
 * @code_status Alpha
 *
 * Created Date: Aug 18, 2011

From source file com.anrisoftware.prefdialog.miscswing.filetextfield.FileTextTransferHandler.java

/**
 * Supports the import a file or a URI string representation of a file.
 * 
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 3.0
 */

From source file MainClass.java

class ImageSelection extends TransferHandler implements Transferable {

    private static final DataFlavor flavors[] = { DataFlavor.imageFlavor };

    private Image image;

From source file UTest.java

class UberHandler extends TransferHandler {
    JTextArea output;

    public void TransferHandler() {
    }

From source file net.sf.jabref.gui.fieldeditors.FileListEditorTransferHandler.java

class FileListEditorTransferHandler extends TransferHandler {
    private DataFlavor urlFlavor;
    private final DataFlavor stringFlavor;
    private final JabRefFrame frame;
    private final EntryContainer entryContainer;
    private final TransferHandler textTransferHandler;

From source file edu.clemson.cs.nestbed.client.gui.ProgramTreeTransferHandler.java

public class ProgramTreeTransferHandler extends TransferHandler {
    private final static Log log = LogFactory.getLog(ProgramTreeTransferHandler.class);

    private DataFlavor localProgramFlavor = null;
    private DataFlavor serialProgramFlavor = null;
    private String localProgramType = DataFlavor.javaJVMLocalObjectMimeType