|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Element | |
---|---|
att.grappa |
Uses of Element in att.grappa |
---|
Subclasses of Element in att.grappa | |
---|---|
class |
Edge
This class describes an edge. |
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). |
class |
Node
This class describes a node. |
class |
Subgraph
This class describes a subgraph, which can consist of nodes, edges and other subgraphs. |
Methods in att.grappa that return Element | |
---|---|
Element |
Subgraph.createElement(int type,
java.lang.Object[] info,
Attribute[] attrs)
Creates a new element and adds it to the subgraph's element dictionary. |
static Element |
GrappaSupport.findContainingElement(Subgraph subg,
java.awt.geom.Point2D pt)
Find an element in the supplied subgraph that contains the given point. |
Element |
GrappaNexus.getElement()
Get the underlying element. |
Element |
GraphIterator.nextGraphElement()
A convenience method that should just return a cast of a call to nextElement() |
Methods in att.grappa that return types with arguments of type Element | |
---|---|
java.util.List<Element> |
Subgraph.listOfElements(int types)
Get a vector of elements in this subgraph and, by recursion, descendant subgraphs. |
Methods in att.grappa with parameters of type Element | |
---|---|
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. |
static void |
GrappaSupport.setHighlight(Element elem,
int mode,
int setting)
Set the highlight on an element and, possibly, related elements. |
Constructors in att.grappa with parameters of type Element | |
---|---|
GrappaNexus(Element elem)
Constructs a new GrappaNexus object from an element. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |