Class MultiLineVertexView
java.lang.Object
org.jgraph.graph.AbstractCellView
org.jgraph.graph.VertexView
com.jgraph.components.labels.MultiLineVertexView
- All Implemented Interfaces:
Serializable, CellView
Vertex view that supports
rendering and
in-place editing, that means it supports simple text, rich text and component
values.
invalid reference
JGraphpadBusinessObject
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class VertexView
VertexView.SizeHandle -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic RichTextEditorHolds the static editor for views of this kind.static RedirectingEditorHolds the static editor for views of this kind.static MultiLineVertexRendererHolds the static renderer for views of this kind.Fields inherited from class VertexView
bounds, defaultBounds, defaultCursors, xCursors, yCursorsFields inherited from class AbstractCellView
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor for persistence.MultiLineVertexView(Object cell) Constructs a new vertex view for the specified cell. -
Method Summary
Modifier and TypeMethodDescriptionReturnseditorif the user object of the cell is a rich text value orredirectorif the user object is a component.Returns therenderer.Methods inherited from class VertexView
getBounds, getCachedBounds, getCenterPoint, getHandle, getPerimeterPoint, getPerimeterPoint, setCachedBounds, updateMethods inherited from class 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
-
Field Details
-
editor
Holds the static editor for views of this kind. -
redirector
Holds the static editor for views of this kind. -
renderer
Holds the static renderer for views of this kind.
-
-
Constructor Details
-
MultiLineVertexView
public MultiLineVertexView()Empty constructor for persistence. -
MultiLineVertexView
Constructs a new vertex view for the specified cell.- Parameters:
cell- The cell to construct the vertex view for.
-
-
Method Details
-
getEditor
Returnseditorif the user object of the cell is a rich text value orredirectorif the user object is a component.- Specified by:
getEditorin interfaceCellView- Overrides:
getEditorin classAbstractCellView- Returns:
- Returns the editor for the cell view.
-
getRenderer
Returns therenderer.- Overrides:
getRendererin classVertexView- Returns:
- Returns the renderer for the cell view.
-