|
PathwayLogic Assistant API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectg2d.glyph.Identifiable
g2d.glyph.Attributable
g2d.glyph.Glyphish
g2d.glyph.GlyphList
g2d.graph.IOPGraph
pla.graph.PLAGraph
public class PLAGraph
| Field Summary | |
|---|---|
static Color |
avoidFillColor
|
static Color |
bidirEdgeColor
|
static Color |
cxtBorderColor
|
static Color |
cxtFillColor
|
static Color |
foundFillColor
|
static Color |
goalFillColor
|
static Color |
initFillColor
|
static Color |
ngoalFillColor
|
static Color |
nodeBorderColor
|
static Color |
noneFillColor
|
static Color |
ruleFillColor
|
static Color |
unidirEdgeColor
|
static Color |
usesFillColor
|
| Fields inherited from class g2d.glyph.Glyphish |
|---|
DEBUG |
| Fields inherited from class g2d.glyph.Identifiable |
|---|
uid |
| Constructor Summary | |
|---|---|
PLAGraph()
|
|
| Method Summary | |
|---|---|
void |
addNode(IOPNode n)
|
void |
clear()
|
boolean |
doLayout(PLAGraph context)
Layout graph. |
String |
getDiffStatus()
Assembles difference in status from previous call to this method (or when nodes have been added and removed) in a handy String format that Maude's setStatus request can readily
understand. |
PLANode |
getOccurrence(IOPEdge edge)
Get the node that corresponds to an occurrence from a given edge in this bipartite graph. |
PLANode |
getPLANode(NodeThing nt)
Find node associated with given node thing in this graph. |
PLANode |
getPLANode(String longname)
Find node associated with given long name in this graph. |
PLANode[] |
getPLANodes()
Get all nodes as an array of PLANode entries. |
PLANode |
getRule(IOPEdge edge)
Get the node that corresponds to a rule from a given edge in this bipartite graph. |
boolean |
isDotLayout()
Obtain current layout mode of this graph. |
void |
resetAllStatus()
Go through all nodes and remove flags. |
void |
rmNode(IOPNode n)
|
| Methods inherited from class g2d.graph.IOPGraph |
|---|
add2Manifold, addChangeListener, addEdge, cloneFromGraph, createManifold, doLayout, fireChange, getAntiAliased, getBufferedImage, getEdge, getEdge, getEdge, getEdgesInArray, getGlyphThing, getGraphItem, getHeight, getNode, getNode, getNodesInArray, getThumbNail, getWidth, makeAdjacencyList, makeDotInput, paint, printAdjacencyList, removeChangeListener, rmEdge, setAntiAliased, setGraph, setHeight, setStrokeWidth, setWidth, size, writeGraph |
| Methods inherited from class g2d.glyph.GlyphList |
|---|
add, add, contains, getBounds, getListIterator, inside, intersects, length, paint, remove, transform |
| Methods inherited from class g2d.glyph.Glyphish |
|---|
keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, rotate, rotate, scale, setKeyAction, setMouseAction, shear, translate |
| Methods inherited from class g2d.glyph.Identifiable |
|---|
getObject, getUID, setUID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Color noneFillColor
public static Color initFillColor
public static Color goalFillColor
public static Color ngoalFillColor
public static Color avoidFillColor
public static Color usesFillColor
public static Color foundFillColor
public static Color nodeBorderColor
public static Color cxtBorderColor
public static Color cxtFillColor
public static Color ruleFillColor
public static Color bidirEdgeColor
public static Color unidirEdgeColor
| Constructor Detail |
|---|
public PLAGraph()
| Method Detail |
|---|
public void addNode(IOPNode n)
addNode in class IOPGraphpublic void rmNode(IOPNode n)
rmNode in class IOPGraphpublic void clear()
clear in class IOPGraphpublic PLANode[] getPLANodes()
public PLANode getPLANode(NodeThing nt)
nt - NodeThing to look for
public PLANode getPLANode(String longname)
longname - String of long name to look for
public String getDiffStatus()
setStatus request can readily
understand.
public void resetAllStatus()
public boolean doLayout(PLAGraph context)
null will invoke
dot to position nodes and edges in graph. This results
in compact layout. If given context is not null, will use
it as the super graph to position all nodes and edges exactly as they
are in super graph. This will add context nodes and edges from super
graph that are not currently in this graph.
context -
public boolean isDotLayout()
dot layout and false
otherwisepublic PLANode getOccurrence(IOPEdge edge)
edge - IOPEdge between 2 PLANodes
public PLANode getRule(IOPEdge edge)
edge - IOPEdge between 2 PLANodes
|
PathwayLogic Assistant API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||