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


Method Summary
 boolean addEdge(Edge edge)
           
 boolean containsChild(Node node)
           
 boolean containsEdge(Edge edge)
           
 DDimension getBoundingBox()
           
 java.util.Iterator getChildIterator()
           
 int getCount(Relation relation)
           
 java.util.Iterator getEdgeIterator()
           
 Entity getEntity()
           
 int getNumChildren()
           
 DPoint getPosition()
           
 boolean isSelected()
           
 boolean relationIsActive(Relation relation)
           
 boolean relationIsActive(RelationType rcd)
           
 boolean relationIsActive(java.lang.String relationName)
           
 void removeChild(Node child)
           
 void removeEdge(Edge edge)
           
 void setPosition(double x, double y)
           
 void setSelected(boolean state)
           
 

Method Detail

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