|
JGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.AbstractCellView
org.jgraph.graph.VertexView
com.jgraph.components.labels.MultiLineVertexView
public class MultiLineVertexView
Vertex view that supports JGraphpadBusinessObject
rendering and
in-place editing, that means it supports simple text, rich text and component
values.
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(java.lang.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 |
---|
public static RichTextEditor editor
public static RedirectingEditor redirector
public static MultiLineVertexRenderer renderer
Constructor Detail |
---|
public MultiLineVertexView()
public MultiLineVertexView(java.lang.Object cell)
cell
- The cell to construct the vertex view for.Method Detail |
---|
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 CellView
getEditor
in class AbstractCellView
public CellViewRenderer getRenderer()
renderer
.
getRenderer
in class VertexView
|
JGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |