All Packages Class Hierarchy This Package Previous Next Index
Object
   |
   +----Clipboard
           |
           +----com.symantec.itools.vcafe.openapi.datatransfer.VisualCafeClipboard
The implementation of this class forces the native clipboard to be up to date
 with the java clipboard, and is extended for support of VisualObjects.
 
 
When placing a Transferable onto the clipboard, if it doesn't extend from
 StringSelection a new TransferableProxy object is created that wraps
 the Transferable.
 This ensures that the System Clipboard contents reflect the transferable data, 
 even if it doesn't actually understand the 'real' contents.
 
When VisualObject[s] are placed onto the clipboard, a TransferableVisualObjects
 is created that wraps the VisualObject[s].
VisualCafeClipboard.
VisualObject.
  VisualObjects.
  VisualObjects on Visual Cafe's native clipboard.
  VisualObjects onto Visual Cafe's native clipboard.
  VisualObject onto Visual Cafe's native clipboard.
public VisualCafeClipboard()
VisualCafeClipboard.
  
public abstract boolean canPasteInto(VisualObject visualObject)
VisualObject.
  
VisualObject.
    false if the clipboard doesn't contain VisualObjects, or the given
 VisualObject cannot accept the VisualObjects on the clipboard.
  public abstract boolean containsVisualObjects()
VisualObjects.
  
true if the clipboard contains VisualObjects, false otherwise.
  public abstract com.symantec.itools.vcafe.openapi.VisualObject[] getContents()
VisualObjects on Visual Cafe's native clipboard.
 If the clipboard doesn't contain VisualObjects, null is returned.
  
VisualObjects, or null if none.
  
public abstract void setContents(VisualObject[] visualObjects,
                                 String textValue)
VisualObjects onto Visual Cafe's native clipboard.
 This function is provided to simplify the common task of putting a set
 of VisualObjects onto the clipboard.
  
VisualObjects to copy onto the native clipboard.
    StringSelection flavors of the
 TransferableVisualObjects that is created.
    
public abstract void setContents(VisualObject visualObject,
                                 String textValue)
VisualObject onto Visual Cafe's native clipboard.
 This function is provided to simplify the common task of putting a
 VisualObject onto the clipboard.
  
VisualObject to copy onto the native clipboard.
    StringSelection flavors of the
 TransferableVisualObjects that is created.
    All Packages Class Hierarchy This Package Previous Next Index