org.zkoss.zss.ui.event
Class CellSelectionEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zss.ui.event.CellEvent
          extended by org.zkoss.zss.ui.event.CellAreaEvent
              extended by org.zkoss.zss.ui.event.CellSelectionEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CellSelectionUpdateEvent

public class CellSelectionEvent
extends CellAreaEvent

Event class about selection of cell

Author:
Dennis.Chen
See Also:
Serialized Form

Constructor Summary
CellSelectionEvent(java.lang.String name, org.zkoss.zk.ui.Component target, Sheet sheet, int tRow, int lCol, int bRow, int rCol, CellSelectionType type)
           
 
Method Summary
 int getBottom()
          Deprecated. use CellAreaEvent.getLastRow()
 int getLeft()
          Deprecated. use CellEvent.getColumn()
 int getRight()
          Deprecated. use CellAreaEvent.getLastColumn()
 int getTop()
          Deprecated. use CellEvent.getRow()
 CellSelectionType getType()
          Returns the selection type
 
Methods inherited from class org.zkoss.zss.ui.event.CellAreaEvent
getArea, getLastColumn, getLastRow
 
Methods inherited from class org.zkoss.zss.ui.event.CellEvent
getColumn, getRow, getSheet
 
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellSelectionEvent

public CellSelectionEvent(java.lang.String name,
                          org.zkoss.zk.ui.Component target,
                          Sheet sheet,
                          int tRow,
                          int lCol,
                          int bRow,
                          int rCol,
                          CellSelectionType type)
Method Detail

getType

public CellSelectionType getType()
Returns the selection type

Returns:
the selection type.

getLeft

@Deprecated
public int getLeft()
Deprecated. use CellEvent.getColumn()


getTop

@Deprecated
public int getTop()
Deprecated. use CellEvent.getRow()


getRight

@Deprecated
public int getRight()
Deprecated. use CellAreaEvent.getLastColumn()


getBottom

@Deprecated
public int getBottom()
Deprecated. use CellAreaEvent.getLastRow()



Copyright © 2005-2010 Potix Corporation. All Rights Reserved.