Package io.keikai.ui.event
Class StartEditingEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- io.keikai.ui.event.CellEvent
-
- io.keikai.ui.event.StartEditingEvent
-
- All Implemented Interfaces:
Serializable
public class StartEditingEvent extends CellEvent
- Author:
- Dennis.Chen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StartEditingEvent(String name, org.zkoss.zk.ui.Component target, Sheet sheet, int row, int col, Object editingValue, Object clientvalue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
Cancel editing, which means the editing will not start;Object
getClientValue()
Return value when client side fire start editing.Object
getEditingValue()
boolean
isCancel()
boolean
isEditingSet()
Return true if editing value is set bysetEditingValue(Object)
void
setEditingValue(Object editingValue)
Sets the editing value.
-
-
-
Method Detail
-
getEditingValue
public Object getEditingValue()
-
setEditingValue
public void setEditingValue(Object editingValue)
Sets the editing value. if editing value is set, then client value will be ignore.
-
isEditingSet
public boolean isEditingSet()
Return true if editing value is set bysetEditingValue(Object)
-
getClientValue
public Object getClientValue()
Return value when client side fire start editing. For example if user press on A to start editing, then the value is "A". If user start editing by F2 or mouse click, then the value is null.
-
cancel
public void cancel()
Cancel editing, which means the editing will not start;
-
isCancel
public boolean isCancel()
-
-