public class MultiLineVertexView extends VertexView
JGraphpadBusinessObject rendering and
in-place editing, that means it supports simple text, rich text and component
values.VertexView.SizeHandle| Modifier and Type | Field and Description |
|---|---|
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.
|
bounds, defaultBounds, defaultCursors, xCursors, yCursorsallAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent| Constructor and Description |
|---|
MultiLineVertexView()
Empty constructor for persistence.
|
MultiLineVertexView(java.lang.Object cell)
Constructs a new vertex view for the specified cell.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
getBounds, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, getPerimeterPoint, setCachedBounds, updatechangeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getParentView, getRendererComponent, includeInGroupBounds, intersects, isLeaf, mergeAttributes, refresh, removeFromParent, scale, setAttributes, setBounds, setCell, translate, updateGroupBoundspublic static RichTextEditor editor
public static RedirectingEditor redirector
public static MultiLineVertexRenderer renderer
public MultiLineVertexView()
public MultiLineVertexView(java.lang.Object cell)
cell - The cell to construct the vertex view for.public GraphCellEditor getEditor()
editor if the user object of the cell is a rich text
value or redirector if the user object is a component.getEditor in interface CellViewgetEditor in class AbstractCellViewpublic CellViewRenderer getRenderer()
renderer.getRenderer in class VertexViewCopyright (C) 2001-2009 JGraph Ltd. All rights reserved.