jcreek.cke.graph
Interface Node
- All Superinterfaces:
- java.lang.Cloneable, java.io.Serializable
- All Known Implementing Classes:
- VisualEntity
- public interface Node
- extends java.io.Serializable, java.lang.Cloneable
getPosition
public DPoint getPosition()
setPosition
public void setPosition(double x,
double y)
setSelected
public void setSelected(boolean state)
isSelected
public boolean isSelected()
addEdge
public boolean addEdge(Edge edge)
removeEdge
public void removeEdge(Edge edge)
containsEdge
public boolean containsEdge(Edge edge)
removeChild
public void removeChild(Node child)
containsChild
public boolean containsChild(Node node)
getChildIterator
public java.util.Iterator getChildIterator()
getNumChildren
public int getNumChildren()
getEdgeIterator
public java.util.Iterator getEdgeIterator()
getBoundingBox
public DDimension getBoundingBox()
getEntity
public Entity getEntity()
relationIsActive
public boolean relationIsActive(RelationType rcd)
relationIsActive
public boolean relationIsActive(Relation relation)
relationIsActive
public boolean relationIsActive(java.lang.String relationName)
getCount
public int getCount(Relation relation)
Created at IDI, NTNU by the Artificial Intelligence and Learning group