org.globus.cog.gui.grapheditor
Class NullRenderer

java.lang.Object
  extended byorg.globus.cog.gui.grapheditor.NullRenderer
All Implemented Interfaces:
ComponentRenderer

public class NullRenderer
extends Object
implements ComponentRenderer


Constructor Summary
NullRenderer()
           
 
Method Summary
 void dispose()
          For cleanup purposes.
 GraphComponent getComponent()
          Returns the component that this renderer represents
 Object getVisualComponent()
           
 void setComponent(GraphComponent comp)
          Sets the component that this renderer is supposed to represent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullRenderer

public NullRenderer()
Method Detail

setComponent

public void setComponent(GraphComponent comp)
Description copied from interface: ComponentRenderer
Sets the component that this renderer is supposed to represent

Specified by:
setComponent in interface ComponentRenderer
Parameters:
comp -

getComponent

public GraphComponent getComponent()
Description copied from interface: ComponentRenderer
Returns the component that this renderer represents

Specified by:
getComponent in interface ComponentRenderer
Returns:

getVisualComponent

public Object getVisualComponent()

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