org.globus.cog.gui.grapheditor
Class AbstractRenderer
java.lang.Object
org.globus.cog.gui.grapheditor.AbstractRenderer
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, EventListener, ComponentRenderer, GraphComponentListener
- Direct Known Subclasses:
- AbstractGenericNodeRenderer, AbstractSwingRenderer, EdgeRenderer, GenericRemoteNodeRenderer
public abstract class AbstractRenderer
- extends Object
- implements ComponentRenderer, GraphComponentListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRenderer
public AbstractRenderer()
getComponent
public GraphComponent getComponent()
- Description copied from interface:
ComponentRenderer
- Returns the component that this renderer represents
- Specified by:
getComponent
in interface ComponentRenderer
- Returns:
setComponent
public void setComponent(GraphComponent component)
- Description copied from interface:
ComponentRenderer
- Sets the component that this renderer is supposed to represent
- Specified by:
setComponent
in interface ComponentRenderer
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface PropertyChangeListener
dispose
public void dispose()
- Description copied from interface:
ComponentRenderer
- For cleanup purposes. Removes external references to the renderer so that
it can be garbage collected.
- Specified by:
dispose
in interface ComponentRenderer
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
getRootNode
protected NodeComponent getRootNode()