org.jgraph.graph.CellViewRenderer Interface Reference

Inheritance diagram for org.jgraph.graph.CellViewRenderer:

manas.GGates.MyView.MyRenderer org.jgraph.graph.EdgeRenderer org.jgraph.graph.PortRenderer org.jgraph.graph.VertexRenderer List of all members.

Public Member Functions

Component getRendererComponent (JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)

Detailed Description

Defines the requirements for objects that may be used as a cell view renderer.

Version:
1.0 1/1/02
Author:
Gaudenz Alder


Member Function Documentation

Component org.jgraph.graph.CellViewRenderer.getRendererComponent JGraph  graph,
CellView  view,
boolean  sel,
boolean  focus,
boolean  preview
 

Configure and return the renderer based on the passed in components. The value is typically set from messaging the graph with convertValueToString. We recommend you check the value's class and throw an illegal argument exception if it's not correct.

Parameters:
graph the graph that that defines the rendering context.
view the view that should be rendered.
sel whether the object is selected.
focus whether the object has the focus.
preview whether we are drawing a preview.
Returns:
the component used to render the value.

Implemented in manas.GGates.MyView.MyRenderer, org.jgraph.graph.EdgeRenderer, org.jgraph.graph.PortRenderer, and org.jgraph.graph.VertexRenderer.


The documentation for this interface was generated from the following file:
Generated on Sun May 28 19:13:13 2006 for Digimod by  doxygen 1.4.6-NO