Class SchedulerStateEditor

java.lang.Object
org.adempiere.webui.editor.WEditor
org.adempiere.webui.scheduler.SchedulerStateEditor
All Implemented Interfaces:
PropertyChangeListener, EventListener, IInputValidator, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class SchedulerStateEditor extends WEditor
Field editor for state (DisplayType.SchedulerState) of scheduler (AD_Scheduler).
Author:
hengsin
  • Constructor Details

    • SchedulerStateEditor

      public SchedulerStateEditor(GridField gridField)
      Parameters:
      gridField -
    • SchedulerStateEditor

      public SchedulerStateEditor(GridField gridField, boolean tableEditor, IEditorConfiguration editorConfiguration)
      Parameters:
      gridField -
      tableEditor -
      editorConfiguration -
    • SchedulerStateEditor

      public SchedulerStateEditor(GridField gridField, int rowIndex)
      Parameters:
      gridField -
      rowIndex -
    • SchedulerStateEditor

      public SchedulerStateEditor(GridField gridField, int rowIndex, boolean tableEditor, IEditorConfiguration editorConfiguration)
      Parameters:
      gridField -
      rowIndex -
      tableEditor -
      editorConfiguration -
  • Method Details

    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
      Throws:
      Exception
      See Also:
      • EventListener.onEvent(org.zkoss.zk.ui.event.Event)
    • setReadWrite

      public void setReadWrite(boolean readWrite)
      Specified by:
      setReadWrite in class WEditor
    • isReadWrite

      public boolean isReadWrite()
      Specified by:
      isReadWrite in class WEditor
      Returns:
      true if editable
    • setValue

      public void setValue(Object value)
      Description copied from class: WEditor
      Set editor value
      Specified by:
      setValue in class WEditor
    • getValue

      public Object getValue()
      Specified by:
      getValue in class WEditor
      Returns:
      Object, current value of editor
    • getDisplay

      public String getDisplay()
      Specified by:
      getDisplay in class WEditor
      Returns:
      display text
    • getComponent

      public Button getComponent()
      Overrides:
      getComponent in class WEditor
      Returns:
      Component
    • isSearchable

      public boolean isSearchable()
      Overrides:
      isSearchable in class WEditor
      Returns:
      true if usable in find window, false otherwise