|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.graphics.ObjectSelection
This class represent a group of selectioned objects This could be a string or a list of objects
Field Summary | |
static java.awt.datatransfer.DataFlavor |
baseObjectFlavor
|
Constructor Summary | |
ObjectSelection(java.lang.String pString)
Construct a selection |
|
ObjectSelection(java.util.Vector pView)
Construct a selection |
Method Summary | |
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor parFlavor)
Get the data for a given dataflavor |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Get the supported flavors |
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor parFlavor)
Check if this dataflavor is supported |
void |
lostOwnership(java.awt.datatransfer.Clipboard parClipboard,
java.awt.datatransfer.Transferable parTransferable)
The clipboard lost ownership |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.awt.datatransfer.DataFlavor baseObjectFlavor
Constructor Detail |
public ObjectSelection(java.util.Vector pView)
pView
- a vector of object viewspublic ObjectSelection(java.lang.String pString)
pString
- a StringMethod Detail |
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor parFlavor)
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
parFlavor
- the flavor
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor parFlavor) throws java.awt.datatransfer.UnsupportedFlavorException
getTransferData
in interface java.awt.datatransfer.Transferable
parFlavor
- the dataflavor
java.awt.datatransfer.UnsupportedFlavorException
public void lostOwnership(java.awt.datatransfer.Clipboard parClipboard, java.awt.datatransfer.Transferable parTransferable)
parClipboard
- the clipboardparTransferable
- the object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |