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
- Author:
- Dennis.Chen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStartEditingEvent(String name, org.zkoss.zk.ui.Component target, Sheet sheet, int row, int col, Object editingValue, Object clientvalue) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancel editing, which means the editing will not start;Return value when client side fire start editing.booleanisCancel()booleanReturn true if editing value is set bysetEditingValue(Object)voidsetEditingValue(Object editingValue) Sets the editing value.Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
Constructor Details
-
StartEditingEvent
-
-
Method Details
-
getEditingValue
-
setEditingValue
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
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()
-