org.zkoss.zss.ui.event
Class SelectionChangeEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zss.ui.event.CellSelectionEvent
org.zkoss.zss.ui.event.SelectionChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SelectionChangeEvent
- extends CellSelectionEvent
Event class about selection of cell
- Author:
- Dennis.Chen
- See Also:
- Serialized Form
|
Constructor Summary |
SelectionChangeEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom,
int origleft,
int origtop,
int origright,
int origbottom)
|
SelectionChangeEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom,
int origleft,
int origtop,
int origright,
int origbottom,
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 |
MOVE
public static final int MOVE
- See Also:
- Constant Field Values
MODIFY
public static final int MODIFY
- See Also:
- Constant Field Values
SelectionChangeEvent
public SelectionChangeEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom,
int origleft,
int origtop,
int origright,
int origbottom,
java.lang.Object data)
SelectionChangeEvent
public SelectionChangeEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
Worksheet sheet,
int action,
int left,
int top,
int right,
int bottom,
int origleft,
int origtop,
int origright,
int origbottom)
getAction
public int getAction()
- Returns the action of this event. It can be either
MODIFY (change by dragging the 'dot') or MOVE (change by dragging the border)
getSelectionType
public int getSelectionType()
- Description copied from class:
CellSelectionEvent
- Returns the selection type; it can be either
CellSelectionEvent.SELECT_ALL(Select the whole sheet),
CellSelectionEvent.SELECT_COLUMN(select the whole column), CellSelectionEvent.SELECT_ROW(select the whole row), CellSelectionEvent.SELECT_CELLS(select a rectangle area).
- Overrides:
getSelectionType in class CellSelectionEvent
- Returns:
- the selection type.
getOrigleft
public int getOrigleft()
getOrigtop
public int getOrigtop()
getOrigright
public int getOrigright()
getOrigbottom
public int getOrigbottom()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.