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 DataFlavorNodeDetailFlavor-
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 IndexEntrygetIndexEntry()-------------------------------------------------------------------------- ------------------------------SilverpeasKeyDatagetKeyData()-------------------------------------------------------------------------- ------------------------------ObjectgetTransferData(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:ClipboardSelectionReturn the data stored into the DataFlavor.- Specified by:
getTransferDatain interfaceTransferable- Overrides:
getTransferDatain classClipboardSelection- Throws:
UnsupportedFlavorException
-
getIndexEntry
public IndexEntry getIndexEntry()
Description copied from class:ClipboardSelection-------------------------------------------------------------------------- ------------------------------- Specified by:
getIndexEntryin classClipboardSelection- Returns:
-
getKeyData
public SilverpeasKeyData getKeyData()
Description copied from class:ClipboardSelection-------------------------------------------------------------------------- ------------------------------- Specified by:
getKeyDatain classClipboardSelection- Returns:
-
-