Package org.graffiti.graph
Interface GraphElement
- All Superinterfaces:
Attributable
,Comparable<GraphElement>
- All Known Implementing Classes:
AbstractEdge
,AbstractGraphElement
,AbstractNode
,AdjListEdge
,AdjListNode
,MergedNode
,NodeHelper
public interface GraphElement extends Attributable, Comparable<GraphElement>
Interfaces a graph element. A graph element knows the graph it belongs to and
can contain attributes.
-
Method Summary
Methods inherited from interface org.graffiti.attributes.Attributable
addAttribute, addBoolean, addByte, addDouble, addFloat, addInteger, addLong, addShort, addString, changeBoolean, changeByte, changeDouble, changeFloat, changeInteger, changeLong, changeShort, changeString, getAttribute, getAttributes, getBoolean, getByte, getDouble, getFloat, getInteger, getListenerManager, getLong, getShort, getString, removeAttribute, setBoolean, setByte, setDouble, setFloat, setInteger, setLong, setShort, setString
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getGraph
Graph getGraph()Returns the Graph the GraphElement belongs to.- Returns:
- the Graph the GraphElement belongs to.
-
setID
void setID(long id) -
getID
long getID() -
getViewID
int getViewID() -
setViewID
void setViewID(int id)
-