Package org.adempiere.webui.adwindow
Class ADWindowContent
java.lang.Object
org.adempiere.webui.part.AbstractUIPart
org.adempiere.webui.adwindow.AbstractADWindowContent
org.adempiere.webui.adwindow.ADWindowContent
- All Implemented Interfaces:
EventListener
,ActionListener
,ToolbarListener
,ISupportMask
,ITabOnSelectHandler
,UIPart
,DataStatusListener
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Controller for
ADWindow
content.- Author:
- Ashley G Ramdass, Low Heng Sin
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Vlayout subclass to override onPageDetached. -
Field Summary
Fields inherited from class org.adempiere.webui.adwindow.AbstractADWindowContent
adTabbox, adwindow, breadCrumb, currQGV, lastFocusEditor, quickFormOpenTabs, showingOnExitDialog, statusBar, statusBarQF, title, toolbar
Fields inherited from class org.adempiere.webui.part.AbstractUIPart
page, showMaskWrapper
Fields inherited from interface org.adempiere.webui.ISupportMask
READY_SHOW_MASK_FLAG
Fields inherited from interface org.adempiere.webui.part.ITabOnSelectHandler
ATTRIBUTE_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Close tab related to tabPanelprotected IADTabbox
CreateCompositeADTabbox
protected org.zkoss.zk.ui.Component
doCreatePart
(org.zkoss.zk.ui.Component parent) Layout UI.
Vertical layout of toolbar, breadCrumb, statusBar andcontentArea
.org.zkoss.zul.Vlayout
Get main layout componentvoid
onEvent
(org.zkoss.zk.ui.event.Event event) protected void
switchEditStatus
(boolean editStatus) Handle switching of editing status.
Override to set isEditting to true/false at widget side.Methods inherited from class org.adempiere.webui.adwindow.AbstractADWindowContent
actionPerformed, closeQuickFormTab, createPart, dataStatusChanged, doOnQueryChange, doOnRefresh, executeASync, executeButtonProcess, executeButtonProcess, findADTabpanel, focusToActivePanel, focusToLastFocusEditor, focusToLastFocusEditor, getActiveGridTab, getADTab, getADWindow, getBreadCrumb, getCurrentFindWindow, getCurrQGV, getFindWindow, getGridWindow, getImage, getOpenQuickFormTabs, getStatusBar, getStatusBarQF, getTitle, getToolbar, getWindowNo, hideBusyMask, initPanel, initTab, isBlock, isFirstTab, isPendingChanges, onActiveWorkflows, onArchive, onAttachment, onChat, onCopy, onCSVImport, onCustomize, onDelete, onDetailRecord, onExit, onExport, onFileImport, onFind, onFirst, onHelp, onIgnore, onLabel, onLast, onLock, onNew, onNext, onParentRecord, onPostIt, onPrevious, onPrint, onProcess, onProductInfo, onQuickForm, onQuickForm, onRefresh, onRefresh, onRefresh, onReport, onRequests, onSave, onSave, onSaveCreate, onSavePayment, onSearchQuery, onSelect, onToggle, onTreeNavigate, onZoomAcross, registerQuickFormTab, saveAndNavigate, setADWindow, setCurrQGV, setLastFocusEditor, setStatusBarQF, showBusyMask
Methods inherited from class org.adempiere.webui.part.AbstractUIPart
getMaskComponent, getMaskObj, hideMask, showMask
-
Constructor Details
-
ADWindowContent
- Parameters:
ctx
-windowNo
-adWindowId
-
-
-
Method Details
-
doCreatePart
protected org.zkoss.zk.ui.Component doCreatePart(org.zkoss.zk.ui.Component parent) Layout UI.
Vertical layout of toolbar, breadCrumb, statusBar andcontentArea
.- Specified by:
doCreatePart
in classAbstractUIPart
- Parameters:
parent
- parent Component or null for root UI block- Returns:
- Component
-
createADTab
CreateCompositeADTabbox
- Specified by:
createADTab
in classAbstractADWindowContent
- Returns:
IADTabbox
-
getComponent
public org.zkoss.zul.Vlayout getComponent()Get main layout component- Returns:
Vlayout
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event event) - Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Overrides:
onEvent
in classAbstractADWindowContent
- See Also:
-
EventListener.onEvent(Event)
-
closeTab
Close tab related to tabPanel- Parameters:
tabPanel
- Tabpanel that represent AD_Window
-
switchEditStatus
protected void switchEditStatus(boolean editStatus) Description copied from class:AbstractADWindowContent
Handle switching of editing status.
Override to set isEditting to true/false at widget side.- Specified by:
switchEditStatus
in classAbstractADWindowContent
- Parameters:
editStatus
- true if editing (dirty)
-