com.stratelia.webactiv.beans.admin
Class ComponentSelection
java.lang.Object
com.silverpeas.util.clipboard.ClipboardSelection
com.stratelia.webactiv.beans.admin.ComponentSelection
- All Implemented Interfaces:
- ClipboardOwner, Transferable, Serializable
public class ComponentSelection
- extends ClipboardSelection
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentDetailFlavor
public static final DataFlavor ComponentDetailFlavor
ComponentSelection
public ComponentSelection(ComponentInst component)
- Parameters:
component
- the component selected.
getTransferData
public Object getTransferData(DataFlavor parFlavor)
throws UnsupportedFlavorException
- Returns the data transfered.
- Specified by:
getTransferData
in interface Transferable
- Overrides:
getTransferData
in class ClipboardSelection
- Parameters:
parFlavor
- the DataFlavor.
- Returns:
- the dta copied.
- Throws:
UnsupportedFlavorException
getIndexEntry
public IndexEntry getIndexEntry()
- Returns the IndexEntry for the component being copeid.
- Specified by:
getIndexEntry
in class ClipboardSelection
- Returns:
- an IndexEntry for this component
getKeyData
public SilverpeasKeyData getKeyData()
- Tranforms the dat into a SilverpeasKeyData.
- Specified by:
getKeyData
in class ClipboardSelection
- Returns:
Copyright © 2016 Silverpeas. All Rights Reserved.