com.mindfusion.diagramming
Class SelectionCopy

java.lang.Object
  extended by com.mindfusion.diagramming.SelectionCopy

public class SelectionCopy
extends java.lang.Object

Used internally in the implementation of copy/paste functions.


Constructor Summary
SelectionCopy(DiagramItemList items, DiagramItemList originalItems, GroupList groups)
          Initializes a new instance of the SelectionCopy class.
 
Method Summary
 GroupList getGroups()
          Gets the underlying collection of groups.
 DiagramItemList getItems()
          Gets the underlying collection of items.
 DiagramItemList getOriginalItems()
          Gets a collection of the original items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionCopy

public SelectionCopy(DiagramItemList items,
                     DiagramItemList originalItems,
                     GroupList groups)
Initializes a new instance of the SelectionCopy class. This constructor supports the JDiagram infrastructure and is not intended to be used directly from your code.

Parameters:
items - A collection containing the item copies.
originalItems - A collection containing the original items.
groups - A collection containing the group copies.
Method Detail

getGroups

public GroupList getGroups()
Gets the underlying collection of groups.

Returns:
A GroupList containing the related Group objects.

getItems

public DiagramItemList getItems()
Gets the underlying collection of items.

Returns:
A DiagramItemList containing the cloned items.

getOriginalItems

public DiagramItemList getOriginalItems()
Gets a collection of the original items.

Returns:
A DiagramItemList containing the original items.