public class GMLContext extends Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
directed |
protected long |
edgeid |
(package private) FileSourceGML |
gml |
(package private) boolean |
inGraph |
protected KeyValues |
nextStep |
(package private) String |
sourceId |
Constructor and Description |
---|
GMLContext(FileSourceGML gml) |
FileSourceGML gml
boolean directed
boolean inGraph
protected long edgeid
GMLContext(FileSourceGML gml)
void handleKeyValues(KeyValues kv) throws IOException
IOException
void setNextStep(KeyValues kv)
public void setDirected(boolean on)
void setIsInGraph(boolean on)
public void addNodeOrEdge(String element, KeyValues kv)
protected void insertKeyValues(KeyValues kv) throws IOException
IOException
protected Object compositeAttribute(KeyValues kv)
protected void handleAddNode(KeyValues kv) throws IOException
IOException
protected void handleAddEdge(KeyValues kv) throws IOException
IOException
protected void handleDelNode(KeyValues kv) throws IOException
IOException
protected void handleDelEdge(KeyValues kv) throws IOException
IOException
protected void handleChangeNode(KeyValues kv) throws IOException
IOException
protected void handleChangeEdge(KeyValues kv) throws IOException
IOException
protected void handleNodeAttributes(String id, KeyValues node)
protected void handleEdgeAttributes(String id, KeyValues edge)
protected void handleStep(KeyValues kv) throws IOException
IOException
protected Graphics optNodeStyle(KeyValues kv)
protected Graphics optEdgeStyle(KeyValues kv)
protected void commonGraphicsAttributes(KeyValues kv, StringBuffer style)
protected String asNodeShape(String type)
protected String asEdgeShape(String type)
protected String asTextAlignment(String anchor)
protected String asArrowShape(String arrow)
protected boolean getBoolean(Object bool)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses