JGraph
v5.13.0.0


com.jgraph.components.labels
Class MultiLineVertexView

java.lang.Object
  extended by org.jgraph.graph.AbstractCellView
      extended by org.jgraph.graph.VertexView
          extended by com.jgraph.components.labels.MultiLineVertexView
All Implemented Interfaces:
Serializable, CellView

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.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jgraph.graph.VertexView
VertexView.SizeHandle
 
Field Summary
static RichTextEditor editor
          Holds the static editor for views of this kind.
static RedirectingEditor redirector
          Holds the static editor for views of this kind.
static MultiLineVertexRenderer renderer
          Holds the static renderer for views of this kind.
 
Fields inherited from class org.jgraph.graph.VertexView
bounds, defaultBounds, defaultCursors, xCursors, yCursors
 
Fields inherited from class org.jgraph.graph.AbstractCellView
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent
 
Constructor Summary
MultiLineVertexView()
          Empty constructor for persistence.
MultiLineVertexView(Object cell)
          Constructs a new vertex view for the specified cell.
 
Method Summary
 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.
 CellViewRenderer getRenderer()
          Returns the renderer.
 
Methods inherited from class org.jgraph.graph.VertexView
getBounds, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, getPerimeterPoint, setCachedBounds, update
 
Methods inherited from class org.jgraph.graph.AbstractCellView
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getParentView, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, updateGroupBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Specified by:
getEditor in interface CellView
Overrides:
getEditor in class AbstractCellView
Returns:
Returns the editor for the cell view.

getRenderer

public CellViewRenderer getRenderer()
Returns the renderer.

Overrides:
getRenderer in class VertexView
Returns:
Returns the renderer for the cell view.

JGraph
v5.13.0.0


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