com.tensegrity.graph.event
Class ClipboardEvent

java.lang.Object
  extended bycom.tensegrity.graph.event.ClipboardEvent

public class ClipboardEvent
extends java.lang.Object

The ClipboardEvent class is used with all clipboard related events.

Version:
$Id$
Author:
MKegel
See Also:
ClipboardListener

Constructor Summary
ClipboardEvent(VisualGraphView visualgraphview, java.util.List subjectVisualGraphObjects)
          Constructor for CilpboardEvent with given instance of the VisualGraphView the clipboard is associated to and give List of subject VisualGraphObject instances.
 
Method Summary
 java.util.List getSubjectVisualGraphObjects()
          Returns a List of VisualGraphObject instances which are subject to this ClipboardEvent.
 VisualGraphView getVisualGraphView()
          Returns the VisualGraphView instance the clipboard is associated to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipboardEvent

public ClipboardEvent(VisualGraphView visualgraphview,
                      java.util.List subjectVisualGraphObjects)
Constructor for CilpboardEvent with given instance of the VisualGraphView the clipboard is associated to and give List of subject VisualGraphObject instances.
The List of VisualGraphObject instances can be null or empty.

Parameters:
visualgraphview - the VisualGraphView instance the clipboard is associated to
subjectVisualGraphObjects - the List of VisualGraphObject instanecs which are subject to the event
See Also:
VisualGraphView, VisualGraphObject
Method Detail

getVisualGraphView

public final VisualGraphView getVisualGraphView()
Returns the VisualGraphView instance the clipboard is associated to.

Returns:
VisualGraphView the VisualGraphView instance the clipboard is associated to.
See Also:
VisualGraphView

getSubjectVisualGraphObjects

public final java.util.List getSubjectVisualGraphObjects()
Returns a List of VisualGraphObject instances which are subject to this ClipboardEvent.
The returned List might be null or empty.

Returns:
List the List of VisualGraphObject instances that are subject to this ClipboardEvent or null
See Also:
VisualGraphObject


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.