zeus.visualiser.society
Class SocietyModel
java.lang.Object
zeus.gui.graph.AbstractGraphModel
zeus.visualiser.society.SocietyModel
- All Implemented Interfaces:
- GraphModel
- public class SocietyModel
- extends AbstractGraphModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUPERIORS
static final int SUPERIORS
- See Also:
- Constant Field Values
SUBORDINATES
static final int SUBORDINATES
- See Also:
- Constant Field Values
PEERS
static final int PEERS
- See Also:
- Constant Field Values
COWORKERS
static final int COWORKERS
- See Also:
- Constant Field Values
isNodeEditable
protected boolean isNodeEditable
nodeTable
protected java.util.Hashtable nodeTable
imageTable
protected java.util.Properties imageTable
listeners
protected javax.swing.event.EventListenerList listeners
view
protected int view
links
protected java.util.BitSet links
SocietyModel
public SocietyModel()
reset
public void reset()
nodes
public java.util.Enumeration nodes()
- Specified by:
nodes in interface GraphModel- Specified by:
nodes in class AbstractGraphModel
setValue
public void setValue(GraphNode node,
java.lang.Object user_object)
- Specified by:
setValue in interface GraphModel- Specified by:
setValue in class AbstractGraphModel
isNodeEditable
public boolean isNodeEditable(GraphNode node)
- Specified by:
isNodeEditable in interface GraphModel- Specified by:
isNodeEditable in class AbstractGraphModel
getLinkColor
public java.awt.Color getLinkColor(GraphNode from,
GraphNode to)
- Specified by:
getLinkColor in interface GraphModel- Overrides:
getLinkColor in class AbstractGraphModel
isLinkVisible
public boolean isLinkVisible(GraphNode from,
GraphNode to)
- Specified by:
isLinkVisible in interface GraphModel- Overrides:
isLinkVisible in class AbstractGraphModel
getViewRelations
public java.util.Vector getViewRelations(GraphNode node)
- Specified by:
getViewRelations in interface GraphModel- Overrides:
getViewRelations in class AbstractGraphModel
getLinkType
protected int getLinkType(GraphNode node1,
GraphNode node2)
getColor
public java.awt.Color getColor(int type)
isLinkVisible
public boolean isLinkVisible(int type)
setView
public void setView(int type)
getView
public int getView()
showLinks
public void showLinks(int type,
boolean state)
removeNodes
public void removeNodes(GraphNode[] input)
getNode
public GraphNode getNode(java.lang.String name)
addAgent
public GraphNode addAgent(java.lang.String name,
java.lang.String type)
addAgents
public void addAgents(java.util.Vector input)
addAgent
public GraphNode addAgent(java.lang.String name)
addRelations
public void addRelations(java.lang.String name,
java.util.Vector List)
addChangeListener
public void addChangeListener(javax.swing.event.ChangeListener x)
removeChangeListener
public void removeChangeListener(javax.swing.event.ChangeListener x)
fireChanged
protected void fireChanged()
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.