|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.Graph2DClipboard
y.view.hierarchy.Graph2DHierarchyClipboard
public class Graph2DHierarchyClipboard
Provides clipboard functionality for diagrams that are
hierarchically organized by a HierarchyManager instance.
| Field Summary |
|---|
| Fields inherited from class y.view.Graph2DClipboard |
|---|
propertyChangeSupport |
| Constructor Summary | |
|---|---|
Graph2DHierarchyClipboard(ViewContainer view)
Creates a new clipboard for the graphs managed by the given view container. |
|
| Method Summary | |
|---|---|
void |
copyToClipBoard(Graph graph,
NodeCursor selection)
Copies parts the given graph to the clipboard. |
boolean |
isEmpty()
Returns whether or not the clipboard is currently empty. |
NodeList |
pasteFromClipBoard(Graph graph)
Pastes the elements of the clipboard graph to the given graph. |
NodeList |
pasteFromClipBoard(Graph graph,
double x,
double y)
Pastes the elements of the clipboard graph to the given graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Graph2DHierarchyClipboard(ViewContainer view)
| Method Detail |
|---|
public boolean isEmpty()
Graph2DClipboard
isEmpty in class Graph2DClipboard
public void copyToClipBoard(Graph graph,
NodeCursor selection)
Graph2DClipboard
copyToClipBoard in class Graph2DClipboard
public NodeList pasteFromClipBoard(Graph graph,
double x,
double y)
Graph2DClipboard
pasteFromClipBoard in class Graph2DClipboardgraph - the graph pasted to.x - the x-coordinate of the paste locationy - the y-coordinate of the paste locationpublic NodeList pasteFromClipBoard(Graph graph)
Graph2DClipboard
pasteFromClipBoard in class Graph2DClipboardgraph - the graph pasted to.
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||