Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jgraph.graph
Interface CellViewRenderer

All Known Implementing Classes:
  EdgeRenderer, PortRenderer, VertexRenderer

public interface CellViewRenderer

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

Method Summary
`Component` | `getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)` Configure and return the renderer based on the passed in components.

Method Detail

### getRendererComponent

    public Component 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.
  Returns:
    the component used to render the value.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) 2003-2004 Gaudenz Alder. All rights reserved.