JGraphpad Pro
v6.0.5.0


com.jgraph.pad.graph
Class JGraphpadVertexView

java.lang.Object
  extended byorg.jgraph.graph.AbstractCellView
      extended byorg.jgraph.graph.VertexView
          extended bycom.jgraph.pad.graph.JGraphpadVertexView
All Implemented Interfaces:
org.jgraph.graph.CellView, Serializable

public class JGraphpadVertexView
extends org.jgraph.graph.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 inherited from class org.jgraph.graph.VertexView
org.jgraph.graph.VertexView.SizeHandle
 
Field Summary
static JGraphpadRichTextEditor editor
          Holds the static editor for views of this kind.
static JGraphpadRedirectingEditor redirector
          Holds the static editor for views of this kind.
static JGraphpadVertexRenderer 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
JGraphpadVertexView()
          Empty constructor for persistence.
JGraphpadVertexView(Object cell)
          Constructs a new vertex view for the specified cell.
 
Method Summary
 org.jgraph.graph.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.
 org.jgraph.graph.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 JGraphpadRichTextEditor editor
Holds the static editor for views of this kind.


redirector

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


renderer

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

Constructor Detail

JGraphpadVertexView

public JGraphpadVertexView()
Empty constructor for persistence.


JGraphpadVertexView

public JGraphpadVertexView(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 org.jgraph.graph.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 org.jgraph.graph.CellViewRenderer getRenderer()
Returns the renderer.

Returns:
Returns the renderer for the cell view.

JGraphpad Pro
v6.0.5.0


Copyright (C) 2005 JGraph.com. All rights reserved.