Class WSurveyEditor

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

public class WSurveyEditor extends WEditor implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Survey Editor
Version:
$Id: WSurveyEditor.java, v1.0 01/10/13 15:50:01,gabriels
Author:
Gabriel S. Schneider (gabriel.schneider@brerp.org, http://www.brerp.org)
  • Constructor Details

    • WSurveyEditor

      public WSurveyEditor(GridTab gridTab, GridField gridField)
      Constructor
    • WSurveyEditor

      public WSurveyEditor(int adTableID, int recordID, int windowNo, String label)
  • Method Details

    • getPopupMenu

      public WEditorPopupMenu getPopupMenu()
      Overrides:
      getPopupMenu in class WEditor
      Returns:
      popup menu instance ( if available )
    • validateQuestions

      public void validateQuestions()
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event event)
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
    • onMenu

      public void onMenu(ContextMenuEvent evt)
    • actionZoom

      public void actionZoom()
    • getEvents

      public String[] getEvents()
      Overrides:
      getEvents in class WEditor
      Returns:
      list of WEditor.component events that this editor will listen to
    • setReadWrite

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

      public Taxesbox getComponent()
      Overrides:
      getComponent in class WEditor
      Returns:
      Component
    • 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