performancemonster.graph
Class GraphModel
java.lang.Object
performancemonster.graph.GraphModel
public class GraphModel
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphModel
public GraphModel()
clear
public void clear()
putElement
public void putElement(GraphElement element)
replaceElement
public void replaceElement(GraphElement oldElement,
GraphElement newElement)
getElements
public java.util.Set<GraphElement> getElements()
addFocusListener
public void addFocusListener(GraphModelFocusListener listener)
removeFocusListener
public void removeFocusListener(GraphModelFocusListener listener)
addChangeListener
public void addChangeListener(GraphModelChangeListener listener)
removeChangeListener
public void removeChangeListener(GraphModelChangeListener listener)
setElementsInFocus
public void setElementsInFocus(java.util.Set<java.lang.Long> elementsInFocus)
- Specifies the IDs for the elements in focus. It is up to each view of the
GraphModel to interpret what it means for an element to be "in focus", e.g.
painting the elements in a specific color.
getElementsInFocus
public java.util.Set<java.lang.Long> getElementsInFocus()
- Gives a list of IDs for elements in focus. It is up to each view of the
GraphModel to interpret what it means for an element to be "in focus", e.g.
painting the elements in a specific color.
Copyright © 2005 Ole Friis. All Rights Reserved.