tico.board.componentview
Class TCellView

java.lang.Object
  extended by org.jgraph.graph.AbstractCellView
      extended by org.jgraph.graph.VertexView
          extended by tico.board.componentview.TComponentView
              extended by tico.board.componentview.TCellView
All Implemented Interfaces:
java.io.Serializable, org.jgraph.graph.CellView

public class TCellView
extends TComponentView

Implementation of a TCell view.

Version:
1.0 Nov 20, 2006
Author:
Pablo Muñoz
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jgraph.graph.VertexView
org.jgraph.graph.VertexView.SizeHandle
 
Field Summary
static TCellRenderer renderer
          TCellRendered that displays the TCell of this view.
 
Fields inherited from class org.jgraph.graph.VertexView
defaultBounds, defaultCursors, xCursors, yCursors
 
Constructor Summary
TCellView()
          Creates a new TCellView.
TCellView(java.lang.Object cell)
          Creates a new TCellView for the specified cell.
 
Method Summary
 javax.swing.JPopupMenu createPopupMenu(TEditor editor)
          Creates the popupMenu for the component.
 org.jgraph.graph.CellViewRenderer getRenderer()
           
 
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, getAllAttributes, getAttributes, getBounds, getCell, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, intersects, isLeaf, refresh, removeFromParent, setAttributes, setBounds, setCell
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderer

public static transient TCellRenderer renderer
TCellRendered that displays the TCell of this view.

Constructor Detail

TCellView

public TCellView()
Creates a new TCellView.


TCellView

public TCellView(java.lang.Object cell)
Creates a new TCellView for the specified cell.

Parameters:
cell - The specified cell
Method Detail

getRenderer

public org.jgraph.graph.CellViewRenderer getRenderer()
Overrides:
getRenderer in class TComponentView

createPopupMenu

public javax.swing.JPopupMenu createPopupMenu(TEditor editor)
Description copied from class: TComponentView
Creates the popupMenu for the component.

Overrides:
createPopupMenu in class TComponentView
Parameters:
editor - editor that is editing the component's board
Returns:
The created popupMenu