tico.editor.handler
Class TGridMarqueeHandler

java.lang.Object
  extended by org.jgraph.graph.BasicMarqueeHandler
      extended by tico.editor.handler.TBasicMarqueeHandler
          extended by tico.editor.handler.TComponentMarqueeHandler
              extended by tico.editor.handler.TGridMarqueeHandler

public class TGridMarqueeHandler
extends TComponentMarqueeHandler

Marquee handler which allows to insert, in a boardContainer board, a new grid of the selected dimension and which contains a specified number of gridCells rows and columns.

Version:
1.0 Nov 20, 2006
Author:
Pablo Muñoz

Constructor Summary
TGridMarqueeHandler(TBoardContainer boardContainer, java.awt.Dimension dimension)
          Creates a new TGridMarqueeHandler for the specified boardContainer and dimension.
TGridMarqueeHandler(TBoardContainer boardContainer, int rows, int columns)
          Creates a new TGridMarqueeHandler for the specified boardContainer, rows and columns.
 
Method Summary
 
Methods inherited from class tico.editor.handler.TComponentMarqueeHandler
handleMarqueeEvent, isForceMarqueeEvent
 
Methods inherited from class tico.editor.handler.TBasicMarqueeHandler
mousePressed, mouseReleased
 
Methods inherited from class org.jgraph.graph.BasicMarqueeHandler
getCurrentPoint, getGraphForEvent, getMarqueeBounds, getPreviousCursor, getStartPoint, isMarqueeTriggerEvent, mouseDragged, mouseMoved, overlay, paint, setCurrentPoint, setMarqueeBounds, setPreviousCursor, setStartPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGridMarqueeHandler

public TGridMarqueeHandler(TBoardContainer boardContainer,
                           java.awt.Dimension dimension)
Creates a new TGridMarqueeHandler for the specified boardContainer and dimension.

Parameters:
boardContainer - The specified boardContainer
dimension - The dimension that determines the number of the new grid rows and columns

TGridMarqueeHandler

public TGridMarqueeHandler(TBoardContainer boardContainer,
                           int rows,
                           int columns)
Creates a new TGridMarqueeHandler for the specified boardContainer, rows and columns.

Parameters:
boardContainer - The specified boardContainer
rows - The specified rows
columns - The specified columns