Class WTabEditor

All Implemented Interfaces:
ValueChangeListener, IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class WTabEditor extends TabEditor implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, ValueChangeListener
Form to visually layout an AD_Tab.
Juan David Arboleda, Carlos Ruiz
  • Field Details

    • m_WindowNo

      public int m_WindowNo
      Window No
    • editorName

      protected WEditor editorName
      Properties editor for field (AD_Field). East of mainLayout
    • editorDescription

      protected WEditor editorDescription
    • editorHelp

      protected WEditor editorHelp
    • editorPlaceholder

      protected WEditor editorPlaceholder
    • editorAD_FieldGroup_ID

      protected WEditor editorAD_FieldGroup_ID
    • editorIsDisplayed

      protected WEditor editorIsDisplayed
    • editorSeqNo

      protected WEditor editorSeqNo
    • editorXPosition

      protected WEditor editorXPosition
    • editorColumnSpan

      protected WEditor editorColumnSpan
    • editorNumLines

      protected WEditor editorNumLines
    • editorDisplayLogic

      protected WEditor editorDisplayLogic
    • editorMandatoryLogic

      protected WEditor editorMandatoryLogic
    • editorReadOnlyLogic

      protected WEditor editorReadOnlyLogic
    • editorColumn

      protected WEditor editorColumn
    • editorIsReadOnly

      protected WYesNoEditor editorIsReadOnly
    • currentGroup

      protected Group currentGroup
      Current group. Temporary variable for form rendering in createUI()
    • rowList

      protected ArrayList<Row> rowList
      List of all form row
    • mapCellField

      protected Map<org.zkoss.zul.Cell,GridField> mapCellField
    • mapEmptyCellField

      protected Map<org.zkoss.zul.Cell,Integer> mapEmptyCellField
      Cell:Integer to decode SeqNo and XPosition. Use to support DropEvent
    • form

      protected Grid form
      Grid layout for fields. Child of centerVLayout
    • centerVLayout

      protected org.zkoss.zul.Vlayout centerVLayout
      Center of mainLayout
    • westVLayout

      protected org.zkoss.zul.Vlayout westVLayout
      West of mainLayout
  • Constructor Details

    • WTabEditor

      public WTabEditor()
      Default constructor
  • Method Details

    • initForm

      public void initForm()
      Initialize form
    • dispose

      public void dispose()
      Close form
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event e) throws Exception
      Event Listener
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      e - event
    • getForm

      public ADForm getForm()
      Description copied from interface: IFormController
      Called by org.adempiere.webui.panel.ADForm.openForm(int)
      Specified by:
      getForm in interface IFormController
    • valueChange

      public void valueChange(ValueChangeEvent e)
      Handle value change event from field properties editor (editorName editorDescription, etc).
      Specified by:
      valueChange in interface ValueChangeListener