Package org.adempiere.webui.apps.form
Class WTabEditor
java.lang.Object
org.compiere.apps.form.TabEditor
org.adempiere.webui.apps.form.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.
- Author:
- Juan David Arboleda, Carlos Ruiz
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.zkoss.zul.Vlayout
Center ofmainLayout
protected Group
Current group.protected WEditor
protected WEditor
protected WEditor
protected WEditor
protected WEditor
protected WEditor
protected WEditor
protected WYesNoEditor
protected WEditor
protected WEditor
Properties editor for field (AD_Field).protected WEditor
protected WEditor
protected WEditor
protected WEditor
protected WEditor
protected Grid
Grid layout for fields.int
Window NoCell:Integer to decode SeqNo and XPosition.List of all form rowprotected org.zkoss.zul.Vlayout
West ofmainLayout
Fields inherited from class org.compiere.apps.form.TabEditor
AD_UserDef_Tab_ID, isBaseLang, isSystem, log, m_tab
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Close formgetForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)void
initForm()
Initialize formvoid
onEvent
(org.zkoss.zk.ui.event.Event e) Event Listenervoid
Handle value change event from field properties editor (editorName editorDescription, etc).Methods inherited from class org.compiere.apps.form.TabEditor
cmd_save, getActiveMField, getFieldGroup, getFieldGroupType, getGridField, getGridFields, getMField, getMFields, getMTab, initMFields, loadUserDefField, resortArrays, saveUserDefField, setActiveMField, updateFieldList
-
Field Details
-
m_WindowNo
public int m_WindowNoWindow No -
editorName
Properties editor for field (AD_Field). East ofmainLayout
-
editorDescription
-
editorHelp
-
editorPlaceholder
-
editorAD_FieldGroup_ID
-
editorIsDisplayed
-
editorSeqNo
-
editorXPosition
-
editorColumnSpan
-
editorNumLines
-
editorDisplayLogic
-
editorMandatoryLogic
-
editorReadOnlyLogic
-
editorColumn
-
editorIsReadOnly
-
currentGroup
Current group. Temporary variable for form rendering increateUI()
-
rowList
List of all form row -
mapCellField
-
mapEmptyCellField
Cell:Integer to decode SeqNo and XPosition. Use to support DropEvent -
form
Grid layout for fields. Child ofcenterVLayout
-
centerVLayout
protected org.zkoss.zul.Vlayout centerVLayoutCenter ofmainLayout
-
westVLayout
protected org.zkoss.zul.Vlayout westVLayoutWest ofmainLayout
-
-
Constructor Details
-
WTabEditor
public WTabEditor()Default constructor
-
-
Method Details
-
initForm
public void initForm()Initialize form -
dispose
public void dispose()Close form -
onEvent
Event Listener- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Parameters:
e
- event- Throws:
Exception
-
getForm
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-
valueChange
Handle value change event from field properties editor (editorName editorDescription, etc).- Specified by:
valueChange
in interfaceValueChangeListener
-