zeus.gui.graph
Class AbstractGraphModel
java.lang.Object
zeus.gui.graph.AbstractGraphModel
- All Implemented Interfaces:
- GraphModel
- Direct Known Subclasses:
- EngineGraphModel, ReportModel, SocietyModel, SocietyModel, SummaryTaskModel
- public abstract class AbstractGraphModel
- extends java.lang.Object
- implements GraphModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRUCTURE_CHANGED
private static final int STRUCTURE_CHANGED
- See Also:
- Constant Field Values
NODE_ADDED
private static final int NODE_ADDED
- See Also:
- Constant Field Values
NODE_REMOVED
private static final int NODE_REMOVED
- See Also:
- Constant Field Values
NODE_STATE_CHANGED
private static final int NODE_STATE_CHANGED
- See Also:
- Constant Field Values
graphModelListeners
protected javax.swing.event.EventListenerList graphModelListeners
AbstractGraphModel
public AbstractGraphModel()
nodes
public abstract java.util.Enumeration nodes()
- Specified by:
nodes in interface GraphModel
setValue
public abstract void setValue(GraphNode node,
java.lang.Object user_object)
- Specified by:
setValue in interface GraphModel
isNodeEditable
public abstract boolean isNodeEditable(GraphNode node)
- Specified by:
isNodeEditable in interface GraphModel
getLinkColor
public java.awt.Color getLinkColor(GraphNode from,
GraphNode to)
- Specified by:
getLinkColor in interface GraphModel
isLinkVisible
public boolean isLinkVisible(GraphNode from,
GraphNode to)
- Specified by:
isLinkVisible in interface GraphModel
getViewRelations
public java.util.Vector getViewRelations(GraphNode node)
- Specified by:
getViewRelations in interface GraphModel
fireGraphStructureChanged
protected void fireGraphStructureChanged()
fireGraphNodeAdded
protected void fireGraphNodeAdded(GraphNode node)
fireGraphNodeRemoved
protected void fireGraphNodeRemoved(GraphNode node)
fireGraphNodeStateChanged
protected void fireGraphNodeStateChanged(GraphNode node)
addGraphModelListener
public void addGraphModelListener(GraphModelListener x)
- Specified by:
addGraphModelListener in interface GraphModel
removeGraphModelListener
public void removeGraphModelListener(GraphModelListener x)
- Specified by:
removeGraphModelListener in interface GraphModel
fireGraphAction
private void fireGraphAction(int type,
GraphNode node)
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.