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:
java.io.Serializable
public class StartEditingEvent extends CellEvent
- Author:
- Dennis.Chen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StartEditingEvent(java.lang.String name, org.zkoss.zk.ui.Component target, Sheet sheet, int row, int col, java.lang.Object editingValue, java.lang.Object clientvalue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()Cancel editing, which means the editing will not start;java.lang.ObjectgetClientValue()Return value when client side fire start editing.java.lang.ObjectgetEditingValue()booleanisCancel()booleanisEditingSet()Return true if editing value is set bysetEditingValue(Object)voidsetEditingValue(java.lang.Object editingValue)Sets the editing value. if editing value is set, then client value will be ignore.
-
-
-
Constructor Detail
-
StartEditingEvent
public StartEditingEvent(java.lang.String name, org.zkoss.zk.ui.Component target, Sheet sheet, int row, int col, java.lang.Object editingValue, java.lang.Object clientvalue)
-
-
Method Detail
-
getEditingValue
public java.lang.Object getEditingValue()
-
setEditingValue
public void setEditingValue(java.lang.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 java.lang.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()
-
-