javax > javax.swing > javax.swing.transferhandler >

Class: javax.swing.TransferHandler
    java.lang.Object
       javax.swing.TransferHandler


public class TransferHandler extends Object implements Serializable

Inner Class(es): TransferHandler.DropLocation, TransferHandler.TransferSupport

FIELDS:
public static final int COPY : 1
public static final int COPY_OR_MOVE : 3
public static final int LINK : 1073741824
public static final int MOVE : 2
public static final int NONE : 0

CONSTRUCTORS:
public TransferHandler(String property)

protected TransferHandler()


METHODS:
public boolean canImport(JComponent comp, DataFlavor[] transferFlavors)

public boolean canImport(TransferHandler.TransferSupport support)
Throws: NullPointerException

protected Transferable createTransferable(JComponent c)

public void exportAsDrag(JComponent comp, InputEvent e, int action)

protected void exportDone(JComponent source, Transferable data, int action)

public void exportToClipboard(JComponent comp, Clipboard clip, int action)
Throws: IllegalStateException

public static Action getCopyAction()

public static Action getCutAction()

public static Action getPasteAction()

public int getSourceActions(JComponent c)

public Icon getVisualRepresentation(Transferable t)

public boolean importData(JComponent comp, Transferable t)

public boolean importData(TransferHandler.TransferSupport support)
Throws: NullPointerException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net