|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Subgraph | |
---|---|
att.grappa |
Uses of Subgraph in att.grappa |
---|
Subclasses of Subgraph in att.grappa | |
---|---|
class |
Graph
This class is the root of the overall graph and provides methods for working with the entire graph (for example, printing the graph). |
Fields in att.grappa with type parameters of type Subgraph | |
---|---|
static java.util.List<Subgraph> |
Grappa.emptySubgraphIterator
|
Methods in att.grappa that return Subgraph | |
---|---|
Subgraph |
Subgraph.findSubgraphByName(java.lang.String graphName)
Searches current subgraph and, by recursion, descendent subgraphs for the subgraph matching the supplied name. |
Subgraph |
GrappaPanel.getSubgraph()
Get the subgraph being drawn on this panel. |
Subgraph |
Element.getSubgraph()
Get the containing Subgraph of this Element. |
Subgraph |
GraphIterator.getSubgraphRoot()
Get the root of this Iterator. |
Subgraph |
Subgraph.removeSubgraph(java.lang.String graphName)
Removes the subgraph matching the specified name from the subgraph's graph dictionary. |
Subgraph[] |
Subgraph.subgraphElementsAsArray()
|
Methods in att.grappa that return types with arguments of type Subgraph | |
---|---|
java.util.Iterator<Subgraph> |
Subgraph.subgraphElements()
Get an Iterator of the subgraph elements in this subgraph. |
Methods in att.grappa with parameters of type Subgraph | |
---|---|
void |
Subgraph.addSubgraph(Subgraph newGraph)
Adds the specified subgraph to the subgraph's graph dictionary. |
protected void |
GrappaAdapter.drillDown(Subgraph subg,
java.util.List elems,
int mode,
int setting)
|
static java.util.List |
GrappaSupport.findContainedElements(Subgraph subg,
GrappaBox box)
Find the elements in the supplied subgraph that are contained in the given box. |
static Element |
GrappaSupport.findContainingElement(Subgraph subg,
java.awt.geom.Point2D pt)
Find an element in the supplied subgraph that contains the given point. |
void |
GrappaListener.grappaClicked(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
int clickCount,
GrappaPanel panel)
The method called when a single mouse click occurs on a displayed subgraph. |
void |
GrappaAdapter.grappaClicked(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
int clickCount,
GrappaPanel panel)
The method called when a mouse click occurs on a displayed subgraph. |
void |
GrappaListener.grappaDragged(Subgraph subg,
GrappaPoint currentPt,
int currentModifiers,
Element pressedElem,
GrappaPoint pressedPt,
int pressedModifiers,
GrappaBox outline,
GrappaPanel panel)
The method called when a mouse drag occurs on a displayed subgraph. |
void |
GrappaAdapter.grappaDragged(Subgraph subg,
GrappaPoint currentPt,
int currentModifiers,
Element pressedElem,
GrappaPoint pressedPt,
int pressedModifiers,
GrappaBox outline,
GrappaPanel panel)
The method called when a mouse drag occurs on a displayed subgraph. |
void |
GrappaListener.grappaPressed(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
GrappaPanel panel)
The method called when a mouse press occurs on a displayed subgraph. |
void |
GrappaAdapter.grappaPressed(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
GrappaPanel panel)
The method called when a mouse press occurs on a displayed subgraph. |
void |
GrappaListener.grappaReleased(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
Element pressedElem,
GrappaPoint pressedPt,
int pressedModifiers,
GrappaBox outline,
GrappaPanel panel)
The method called when a mouse release occurs on a displayed subgraph. |
void |
GrappaAdapter.grappaReleased(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
Element pressedElem,
GrappaPoint pressedPt,
int pressedModifiers,
GrappaBox outline,
GrappaPanel panel)
The method called when a mouse release occurs on a displayed subgraph. |
java.lang.String |
GrappaListener.grappaTip(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
GrappaPanel panel)
The method called when a element tooltip is needed. |
java.lang.String |
GrappaAdapter.grappaTip(Subgraph subg,
Element elem,
GrappaPoint pt,
int modifiers,
GrappaPanel panel)
The method called when a element tooltip is needed. |
void |
Element.setSubgraph(Subgraph subgraph)
Set the parent subgraph for this element. |
Constructors in att.grappa with parameters of type Subgraph | |
---|---|
Edge(Subgraph subg,
Node tail,
Node head)
Use this constructor when creating an edge. |
|
Edge(Subgraph subg,
Node tail,
Node head,
java.lang.String name)
Use this constructor when creating an edge with a supplied unique name for easy look-up (the name is also used as the key). |
|
Edge(Subgraph subg,
Node tail,
java.lang.String tailPort,
Node head,
java.lang.String headPort)
Use this constructor when creating an edge with ports. |
|
Edge(Subgraph subg,
Node tail,
java.lang.String tailPort,
Node head,
java.lang.String headPort,
java.lang.String key)
Use this constructor when creating an edge requiring a key to distinguish it. |
|
Edge(Subgraph subg,
Node tail,
java.lang.String tailPort,
Node head,
java.lang.String headPort,
java.lang.String key,
java.lang.String name)
Use this constructor when creating an edge requiring a key to distinguish it and a supplied lookup name. |
|
Element(int type,
Subgraph subg)
Element constructor used during init phase of the Node, Edge and Subgraph classes. |
|
GrappaPanel(Subgraph subgraph)
Constructs a new canvas associated with a particular subgraph. |
|
GrappaPanel(Subgraph subgraph,
GrappaBacker backer)
Constructs a new canvas associated with a particular subgraph. |
|
Node(Subgraph subg)
Use this constructor when creating a node within a subgraph with an automatically generated name. |
|
Node(Subgraph subg,
java.lang.String name)
Use this constructor when creating a node within a subgraph. |
|
Subgraph(Subgraph subg)
Use this constructor when creating a subgraph within a subgraph with an automatically generated name. |
|
Subgraph(Subgraph subg,
java.lang.String name)
Use this constructor when creating a subgraph within a subgraph. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |