org.globus.cog.gui.grapheditor.canvas
Interface CanvasRenderer

All Superinterfaces:
CanvasEventListener
All Known Implementing Classes:
AbstractCanvasRenderer

public interface CanvasRenderer
extends CanvasEventListener


Method Summary
 void dispose()
          For cleanup purposes
 GraphCanvas getCanvas()
          Returns the canvas that this renderer renders
 RootContainer getRootContainer()
           
 List getSupportedViews()
           
 CanvasView getView()
           
 void setCanvas(GraphCanvas canvas)
          Binds this renderer to a canvas
 void setRootContainer(RootContainer rootContainer)
           
 void setSize(Dimension dimension)
           
 void setView(CanvasView View)
          Sets the active view for the canvas
 
Methods inherited from interface org.globus.cog.gui.grapheditor.canvas.CanvasEventListener
canvasEvent
 

Method Detail

setCanvas

public void setCanvas(GraphCanvas canvas)
Binds this renderer to a canvas


getCanvas

public GraphCanvas getCanvas()
Returns the canvas that this renderer renders


setSize

public void setSize(Dimension dimension)

setView

public void setView(CanvasView View)
Sets the active view for the canvas

Parameters:
View -

getView

public CanvasView getView()
Returns:
the active view for the canvas

getSupportedViews

public List getSupportedViews()
Returns:
a list with the views supported by this canvas

setRootContainer

public void setRootContainer(RootContainer rootContainer)

getRootContainer

public RootContainer getRootContainer()

dispose

public void dispose()
For cleanup purposes