edu.isi.powerloom.gui.components
Class DataTransferInfo
java.lang.Object
|
+--edu.isi.powerloom.gui.components.DataTransferInfo
- public class DataTransferInfo
- extends java.lang.Object
Singleton class which maintains static and dynamic information
relevant to cut/paste and drag/drop operations.
- Since:
- Wed Oct 2 18:28:54 2002
- Author:
- Eric Melz
- See Also:
DataTransferManager
,
PLClipboardOwnerTable
,
CutPasteRecord
Field Summary |
static int |
COPY
|
static int |
CUT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CUT
public static int CUT
COPY
public static int COPY
getInstance
public static DataTransferInfo getInstance()
isLegalDelete
public boolean isLegalDelete(java.lang.String name)
- Returns:
- true if name is in legal delete set, or name's type is
in the legal delete set.
getCutPasteTable
public PLClipboardOwnerTable getCutPasteTable()
getDragDropTable
public PLClipboardOwnerTable getDragDropTable()
nameIsType
public boolean nameIsType(java.lang.String name)
registerTypes
public void registerTypes(java.lang.String name,
java.util.List types)
lookupTypes
public java.util.List lookupTypes(java.lang.String name)
typesAreCompatible
public boolean typesAreCompatible(java.lang.String name1,
java.lang.String name2)
nameMatchesType
public boolean nameMatchesType(java.lang.String name,
java.lang.String typeName)
main
public static void main(java.lang.String[] args)
Copyright © 2002 University of Southern California Information Sciences Institute. All Rights Reserved.