Package org.silverpeas.core.node.model
Class NodeSelection
- java.lang.Object
-
- org.silverpeas.core.clipboard.ClipboardSelection
-
- org.silverpeas.core.node.model.NodeSelection
-
- All Implemented Interfaces:
ClipboardOwner
,Transferable
,Serializable
public class NodeSelection extends ClipboardSelection implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DataFlavor
NodeDetailFlavor
-
Fields inherited from class org.silverpeas.core.clipboard.ClipboardSelection
IndexFlavor, selected, SilverpeasKeyDataFlavor, supportedFlavorsList
-
-
Constructor Summary
Constructors Constructor Description NodeSelection(NodeDetail node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexEntry
getIndexEntry()
-------------------------------------------------------------------------- ------------------------------SilverpeasKeyData
getKeyData()
-------------------------------------------------------------------------- ------------------------------Object
getTransferData(DataFlavor parFlavor)
Return the data stored into the DataFlavor.-
Methods inherited from class org.silverpeas.core.clipboard.ClipboardSelection
addFlavor, getTransferDataFlavors, isCutted, isDataFlavorSupported, isSelected, lostOwnership, setCutted, setSelected
-
-
-
-
Field Detail
-
NodeDetailFlavor
public static final DataFlavor NodeDetailFlavor
-
-
Constructor Detail
-
NodeSelection
public NodeSelection(NodeDetail node)
-
-
Method Detail
-
getTransferData
@Nonnull public Object getTransferData(DataFlavor parFlavor) throws UnsupportedFlavorException
Description copied from class:ClipboardSelection
Return the data stored into the DataFlavor.- Specified by:
getTransferData
in interfaceTransferable
- Overrides:
getTransferData
in classClipboardSelection
- Throws:
UnsupportedFlavorException
-
getIndexEntry
public IndexEntry getIndexEntry()
Description copied from class:ClipboardSelection
-------------------------------------------------------------------------- ------------------------------- Specified by:
getIndexEntry
in classClipboardSelection
- Returns:
-
getKeyData
public SilverpeasKeyData getKeyData()
Description copied from class:ClipboardSelection
-------------------------------------------------------------------------- ------------------------------- Specified by:
getKeyData
in classClipboardSelection
- Returns:
-
-