jcreek.cke.graph
Interface CreekModel
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- GraphModel
- public interface CreekModel
- extends java.io.Serializable
addEntity
public boolean addEntity(VisualEntity node)
addEntityList
public boolean addEntityList(VertexList nodes)
removeEntity
public void removeEntity(VisualEntity node)
removeEntity
public boolean removeEntity(Entity e)
removeEntityList
public boolean removeEntityList(VertexList nodes)
removeEntityList
public boolean removeEntityList(Entity[] nodes)
deleteEntityList
public boolean deleteEntityList(VertexList nodes)
getEntities
public VertexList getEntities()
getSelectedEntities
public VisualEntity[] getSelectedEntities()
selectVertices
public void selectVertices(boolean state,
VertexList vList)
setSelected
public void setSelected(VisualEntity v,
boolean s)
unselectAllVertices
public void unselectAllVertices()
findVisualEntity
public VisualEntity findVisualEntity(Entity e)
moveEntityList
public boolean moveEntityList(VertexList vl,
int dx,
int dy)
addRelation
public boolean addRelation(VisualRelation rel)
addRelationList
public boolean addRelationList(RelationList relations)
getRelations
public RelationList getRelations()
removeRelation
public boolean removeRelation(VisualRelation edgeToRemove)
removeRelation
public boolean removeRelation(Relation r)
removeRelationList
public boolean removeRelationList(RelationList edges)
removeRelationList
public boolean removeRelationList(Relation[] edges)
deleteRelationList
public boolean deleteRelationList(RelationList edges)
selectRelations
public void selectRelations(boolean state,
RelationList rList)
setSelected
public void setSelected(VisualRelation e,
boolean s)
unselectAllEdges
public void unselectAllEdges()
findVisualRelation
public VisualRelation findVisualRelation(Relation rel)
getActiveRelations
public Relation[] getActiveRelations(VisualEntity ved)
markDirty
public void markDirty()
addChangeListener
public void addChangeListener(java.beans.PropertyChangeListener listener)
removeChangeListener
public void removeChangeListener(java.beans.PropertyChangeListener listener)
fireChange
public void fireChange()
getGraph
public Graph getGraph()
replace
public void replace(Graph grp)
Created at IDI, NTNU by the Artificial Intelligence and Learning group