com.jgraph.components.labels

Class MultiLineVertexView

public class MultiLineVertexView extends VertexView

Vertex view that supports JGraphpadBusinessObject rendering and in-place editing, that means it supports simple text, rich text and component values.
Field Summary
static RichTextEditoreditor
Holds the static editor for views of this kind.
static RedirectingEditorredirector
Holds the static editor for views of this kind.
static MultiLineVertexRendererrenderer
Holds the static renderer for views of this kind.
Constructor Summary
MultiLineVertexView()
Empty constructor for persistence.
MultiLineVertexView(Object cell)
Constructs a new vertex view for the specified cell.
Method Summary
GraphCellEditorgetEditor()
Returns editor if the user object of the cell is a rich text value or redirector if the user object is a component.
CellViewRenderergetRenderer()
Returns the renderer.

Field Detail

editor

public static RichTextEditor editor
Holds the static editor for views of this kind.

redirector

public static RedirectingEditor redirector
Holds the static editor for views of this kind.

renderer

public static MultiLineVertexRenderer renderer
Holds the static renderer for views of this kind.

Constructor Detail

MultiLineVertexView

public MultiLineVertexView()
Empty constructor for persistence.

MultiLineVertexView

public MultiLineVertexView(Object cell)
Constructs a new vertex view for the specified cell.

Parameters: cell The cell to construct the vertex view for.

Method Detail

getEditor

public GraphCellEditor getEditor()
Returns editor if the user object of the cell is a rich text value or redirector if the user object is a component.

Returns: Returns the editor for the cell view.

getRenderer

public CellViewRenderer getRenderer()
Returns the renderer.

Returns: Returns the renderer for the cell view.

Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.