|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.ui.StructureQueryHelper
public class StructureQueryHelper
helper functions
| Field Summary | |
|---|---|
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
| Constructor Summary | |
|---|---|
StructureQueryHelper()
|
|
| Method Summary | |
|---|---|
(package private) java.util.Map |
createBounds(org.jgraph.graph.CellView view,
java.awt.Color color)
create the box for the label |
(package private) java.util.Map |
createLines(org.jgraph.graph.CellView view,
java.awt.Color color)
create an line |
(package private) java.lang.Object[] |
getGraphModel(org.jgraph.JGraph graph)
try to recognize the graph data model from the user interface |
(package private) java.util.List |
getPredEdgeList(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
get the predecessor edges |
(package private) org.jgraph.graph.DefaultGraphCell |
getSourceNode(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
get the source node list of the edge |
(package private) java.util.List |
getSuccEdgeList(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
get the successor edge list |
(package private) org.jgraph.graph.DefaultGraphCell |
getTargetNode(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
get the target node list of the edge |
(package private) boolean |
isEdge(org.jgraph.graph.GraphModel model,
java.lang.Object cell)
detect if it is a vertex |
(package private) boolean |
isVertex(org.jgraph.graph.GraphModel model,
java.lang.Object cell)
detect if it is a vertex |
(package private) java.lang.Integer |
nextPortObject()
create unique port number |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public StructureQueryHelper()
| Method Detail |
|---|
java.lang.Integer nextPortObject()
java.util.List getPredEdgeList(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
model - the graph modelcell - the graph element
java.util.List getSuccEdgeList(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
model - the graph modelcell - the graph element
org.jgraph.graph.DefaultGraphCell getSourceNode(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
model - the graph modelcell - the edge
boolean isVertex(org.jgraph.graph.GraphModel model,
java.lang.Object cell)
cell - the cell
java.lang.Object[] getGraphModel(org.jgraph.JGraph graph)
boolean isEdge(org.jgraph.graph.GraphModel model,
java.lang.Object cell)
cell - the cell
org.jgraph.graph.DefaultGraphCell getTargetNode(org.jgraph.graph.GraphModel model,
org.jgraph.graph.GraphCell cell)
model - the graph modelcell - the edge cell
java.util.Map createBounds(org.jgraph.graph.CellView view,
java.awt.Color color)
view - the box viewcolor - the color
java.util.Map createLines(org.jgraph.graph.CellView view,
java.awt.Color color)
view - the cell viewcolor - the color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||