com.stratelia.webactiv.beans.admin
Class SpaceSelection

java.lang.Object
  extended by com.silverpeas.util.clipboard.ClipboardSelection
      extended by com.stratelia.webactiv.beans.admin.SpaceSelection
All Implemented Interfaces:
ClipboardOwner, Transferable, Serializable

public class SpaceSelection
extends ClipboardSelection
implements Serializable

See Also:
Serialized Form

Field Summary
static DataFlavor SpaceFlavor
           
 
Fields inherited from class com.silverpeas.util.clipboard.ClipboardSelection
IndexFlavor, selected, SilverpeasKeyDataFlavor, supportedFlavorsList
 
Constructor Summary
SpaceSelection(SpaceInst space)
           
 
Method Summary
 IndexEntry getIndexEntry()
          Returns the IndexEntry for the space being copied
 SilverpeasKeyData getKeyData()
          Tranforms the dat into a SilverpeasKeyData.
 Object getTransferData(DataFlavor parFlavor)
          Returns the data transfered.
 
Methods inherited from class com.silverpeas.util.clipboard.ClipboardSelection
addFlavor, getTransferDataFlavors, isCutted, isDataFlavorSupported, isSelected, lostOwnership, setCutted, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SpaceFlavor

public static final DataFlavor SpaceFlavor
Constructor Detail

SpaceSelection

public SpaceSelection(SpaceInst space)
Parameters:
space - the selected space
Method Detail

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 space being copied

Specified by:
getIndexEntry in class ClipboardSelection
Returns:
an IndexEntry for this space

getKeyData

public SilverpeasKeyData getKeyData()
Tranforms the dat into a SilverpeasKeyData.

Specified by:
getKeyData in class ClipboardSelection
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.