Class 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
      void cancel()
      Cancel editing, which means the editing will not start;
      java.lang.Object getClientValue()
      Return value when client side fire start editing.
      java.lang.Object getEditingValue()  
      boolean isCancel()  
      boolean isEditingSet()
      Return true if editing value is set by setEditingValue(Object)
      void setEditingValue​(java.lang.Object editingValue)
      Sets the editing value. if editing value is set, then client value will be ignore.
      • 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
    • 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.
      • 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()