Class QuestionContainerSelection
- java.lang.Object
-
- org.silverpeas.core.clipboard.ClipboardSelection
-
- org.silverpeas.core.questioncontainer.container.model.QuestionContainerSelection
-
- All Implemented Interfaces:
ClipboardOwner
,Transferable
,Serializable
public class QuestionContainerSelection extends ClipboardSelection implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DataFlavor
QuestionContainerDetailFlavor
-
Fields inherited from class org.silverpeas.core.clipboard.ClipboardSelection
IndexFlavor, selected, SilverpeasKeyDataFlavor, supportedFlavorsList
-
-
Constructor Summary
Constructors Constructor Description QuestionContainerSelection(QuestionContainerDetail questionContainer)
-
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
-
QuestionContainerDetailFlavor
public static final DataFlavor QuestionContainerDetailFlavor
-
-
Constructor Detail
-
QuestionContainerSelection
public QuestionContainerSelection(QuestionContainerDetail questionContainer)
- Parameters:
questionContainer
- a question container detail
-
-
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:
-
-