tico.board.componentview
Class TControllerCellView

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.TControllerCellView
All Implemented Interfaces:
java.io.Serializable, org.jgraph.graph.CellView

public class TControllerCellView
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 TControllerCellRenderer renderer
          TCellRendered that displays the TCell of this view.
 
Fields inherited from class org.jgraph.graph.VertexView
defaultBounds, defaultCursors, xCursors, yCursors
 
Constructor Summary
TControllerCellView()
          Creates a new TCellView.
TControllerCellView(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 TControllerCellRenderer renderer
TCellRendered that displays the TCell of this view.

Constructor Detail

TControllerCellView

public TControllerCellView()
Creates a new TCellView.


TControllerCellView

public TControllerCellView(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