org.zkoss.zss.ui.event
Class CellSelectionEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zss.ui.event.CellSelectionEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- SelectionChangeEvent
public class CellSelectionEvent
- extends org.zkoss.zk.ui.event.Event
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,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom)
|
CellSelectionEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom,
java.lang.Object data)
|
| 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 |
SELECT_CELLS
public static final int SELECT_CELLS
- See Also:
- Constant Field Values
SELECT_ROW
public static final int SELECT_ROW
- See Also:
- Constant Field Values
SELECT_COLUMN
public static final int SELECT_COLUMN
- See Also:
- Constant Field Values
SELECT_ALL
public static final int SELECT_ALL
- See Also:
- Constant Field Values
CellSelectionEvent
public CellSelectionEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom,
java.lang.Object data)
CellSelectionEvent
public CellSelectionEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom)
getSheet
public Worksheet getSheet()
- get Sheet
- Returns:
- sheet the related sheet
getSelectionType
public int getSelectionType()
- Returns the selection type; it can be either
SELECT_ALL(Select the whole sheet),
SELECT_COLUMN(select the whole column), SELECT_ROW(select the whole row), SELECT_CELLS(select a rectangle area).
- Returns:
- the selection type.
getLeft
public int getLeft()
getTop
public int getTop()
getRight
public int getRight()
getBottom
public int getBottom()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.