Class NewsSelection
- java.lang.Object
-
- org.silverpeas.core.clipboard.ClipboardSelection
-
- org.silverpeas.components.quickinfo.model.NewsSelection
-
- All Implemented Interfaces:
ClipboardOwner,Transferable,Serializable
public class NewsSelection extends org.silverpeas.core.clipboard.ClipboardSelectionModel representing aNewsinto the context of the clipboard API.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DataFlavorNewsFlavor
-
Constructor Summary
Constructors Constructor Description NewsSelection(News news)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.silverpeas.core.index.indexing.model.IndexEntrygetIndexEntry()org.silverpeas.core.clipboard.SilverpeasKeyDatagetKeyData()ObjectgetTransferData(DataFlavor parFlavor)
-
-
-
Field Detail
-
NewsFlavor
public static final DataFlavor NewsFlavor
-
-
Constructor Detail
-
NewsSelection
public NewsSelection(News news)
-
-
Method Detail
-
getTransferData
@Nonnull public Object getTransferData(DataFlavor parFlavor) throws UnsupportedFlavorException
- Specified by:
getTransferDatain interfaceTransferable- Overrides:
getTransferDatain classorg.silverpeas.core.clipboard.ClipboardSelection- Throws:
UnsupportedFlavorException
-
getIndexEntry
public org.silverpeas.core.index.indexing.model.IndexEntry getIndexEntry()
- Specified by:
getIndexEntryin classorg.silverpeas.core.clipboard.ClipboardSelection
-
getKeyData
public org.silverpeas.core.clipboard.SilverpeasKeyData getKeyData()
- Specified by:
getKeyDatain classorg.silverpeas.core.clipboard.ClipboardSelection
-
-