tico.board.componentview
Class TGridCellView

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

public class TGridCellView
extends TComponentView

Implementation of a TGridCellView 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 TGridCellRenderer renderer
          TGridCellRendered that displays the TGridCell of this view.
 
Fields inherited from class org.jgraph.graph.VertexView
defaultBounds, defaultCursors, xCursors, yCursors
 
Constructor Summary
TGridCellView()
          Creates a new TGridCellView.
TGridCellView(java.lang.Object gridCell)
          Creates a new TGridCellView for the specified gridCell.
 
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 TGridCellRenderer renderer
TGridCellRendered that displays the TGridCell of this view.

Constructor Detail

TGridCellView

public TGridCellView()
Creates a new TGridCellView.


TGridCellView

public TGridCellView(java.lang.Object gridCell)
Creates a new TGridCellView for the specified gridCell.

Parameters:
gridCell - The specified gridCell
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