org.jgraph.graph.GraphTransferable Class Reference
Inheritance diagram for org.jgraph.graph.GraphTransferable:
List of all members.
Detailed Description
An object that represents the clipboard contents for a graph selection. The object has three representations:
1. Richer: The cells, view attributes and connections for this selection are stored as separate datastructures, which can be inserted using the GraphModel.insert() method. 2. HTML: If one cell is selected, the userObject is returned as HTML. 3. Plain: The userObject of the selected cell is returned as plain text.
- Author:
- Gaudenz Alder
- Version:
- 1.0 1/1/02
Constructor & Destructor Documentation
org.jgraph.graph.GraphTransferable.GraphTransferable |
( |
Object[] |
cells, |
|
|
Map |
attrMap, |
|
|
Rectangle2D |
bounds, |
|
|
ConnectionSet |
cs, |
|
|
ParentMap |
pm |
|
) |
|
|
|
Constructs a new transferable selection for cells , cs and attrMap . |
Member Function Documentation
org.jgraph.graph.GraphTransferable.[static initializer] |
( |
|
) |
[static, package] |
|
Map org.jgraph.graph.GraphTransferable.getAttributeMap |
( |
|
) |
|
|
|
Returns a map of (GraphCell, Map)-pairs that represent the view attributes for the respecive cells. |
Rectangle2D org.jgraph.graph.GraphTransferable.getBounds |
( |
|
) |
|
|
Object [] org.jgraph.graph.GraphTransferable.getCells |
( |
|
) |
|
|
|
Returns the cells that represent the selection. |
ConnectionSet org.jgraph.graph.GraphTransferable.getConnectionSet |
( |
|
) |
|
|
|
Returns the connections between cells (and possibly other, unselected cells). |
String org.jgraph.graph.GraphTransferable.getHTMLData |
( |
|
) |
|
|
ParentMap org.jgraph.graph.GraphTransferable.getParentMap |
( |
|
) |
|
|
String org.jgraph.graph.GraphTransferable.getPlainData |
( |
|
) |
|
|
Object org.jgraph.graph.GraphTransferable.getRicherData |
( |
DataFlavor |
flavor |
) |
throws UnsupportedFlavorException |
|
DataFlavor [] org.jgraph.graph.GraphTransferable.getRicherFlavors |
( |
|
) |
|
|
boolean org.jgraph.graph.GraphTransferable.isHTMLSupported |
( |
|
) |
|
|
boolean org.jgraph.graph.GraphTransferable.isPlainSupported |
( |
|
) |
|
|
void org.jgraph.graph.GraphTransferable.lostOwnership |
( |
Clipboard |
clip, |
|
|
Transferable |
contents |
|
) |
|
|
Member Data Documentation
|
(Cell, Map) entries that hold the view attributes for the cells. |
|
Rectangle that defines the former bounds of the views. |
|
Object that describes the connection between cells. |
|
Local Machine Reference Data Flavor. |
|
Object that describes the group structure between cells. |
The documentation for this class was generated from the following file:
Generated on Sun May 28 19:13:16 2006 for Digimod by
1.4.6-NO