Package org.adempiere.webui
Interface ISupportMask
- 
- All Known Implementing Classes:
- AboutWindow,- AbstractADTabbox,- AbstractADWindowContent,- AbstractDesktop,- AbstractProcessDialog,- AbstractUIPart,- AbstractWQuickEntry,- AddAuthorizationForm,- ADForm,- ADWindow,- ADWindowContent,- BroadcastMessageWindow,- BusyDialog,- CalendarWindow,- ChangePasswordPanel,- CompareCtxHelpSuggestion,- CompareFieldSuggestion,- CompositeADTabbox,- CustomForm,- CustomizeGridViewDialog,- DashboardPanel,- DefaultDesktop,- DesktopTabpanel,- DetailPane.Tabpanel,- DPActivities,- DPCalendar,- DPDocumentStatus,- DPFavourites,- DPGoogleCalendar,- DPMenuTree,- DPPerformance,- DPRecentItems,- DPRunningJobs,- DPViews,- EventWindow,- FavouriteFolderDialog,- FedexLabelWindow,- FeedbackRequestWindow,- FindWindow,- FolderBrowser,- FooterPanel,- FWindow,- HelpWindow,- InfoAssetPanel,- InfoAssetWindow,- InfoAssignmentPanel,- InfoAssignmentWindow,- InfoBPartnerPanel,- InfoBPartnerWindow,- InfoCashLinePanel,- InfoGeneralPanel,- InfoInOutPanel,- InfoInOutWindow,- InfoInvoicePanel,- InfoInvoiceWindow,- InfoOrderPanel,- InfoOrderWindow,- InfoPanel,- InfoPAttributeInstancePanel,- InfoPAttributeInstanceWindow,- InfoPAttributePanel,- InfoPAttributeWindow,- InfoPaymentPanel,- InfoPaymentWindow,- InfoProductPanel,- InfoProductWindow,- InfoSchedule,- InfoWindow,- InvoiceHistory,- LinkWindow,- LoginOpenSequenceDialog,- LoginPanel,- LoginWindow,- Messagebox,- MFARegisterForm,- MultiFileDownloadDialog,- MultiTabPart,- ProcessDialog,- ProcessInfoDialog,- ProcessModalDialog,- RequestWindow,- ResetPasswordPanel,- RolePanel,- ShowMaskWrapper,- SimplePDFViewer,- TabbedDesktop,- Tabpanel,- UPSHtmlLabelWindow,- ValidateMFAPanel,- ValuePreference,- WAccountDialog,- WAcctViewer,- WAssignmentDialog,- WAttachment,- WAttributeGrid,- WBOMDrop,- WBPartner,- WChat,- WCreateFromForm,- WCreateFromWindow,- WCtxHelpSuggestion,- WDocActionPanel,- WEMailDialog,- WFEditor,- WFieldRecordInfo,- WFieldSuggestion,- WFileImport,- WGadgets,- WGenForm,- WImageDialog,- Window,- WindowContainer,- WLocationDialog,- WLocatorDialog,- WLogin,- WMediaDialog,- WMediaOptions,- WMergeUI,- WOnlyCurrentDays,- WPAttributeDialog,- WPAttributeInstance,- WPaymentFormWindow,- WPerformanceDetail,- WPluginManager,- WPostIt,- WPreference,- WProcessParameterForm,- WQuickEntry,- WQuickForm,- WRC1DisplayFieldsPanel,- WRC2FieldOrderPanel,- WRC3SortCriteriaPanel,- WRC4GroupingCriteriaPanel,- WRC5SummaryFieldsPanel,- WRCTabPanel,- WRecordAccessDialog,- WRecordInfo,- WRecordTimeLine,- WReportExportDialog,- WReportUploadDialog,- WSchedule,- WSQLProcess,- WTabEditorForm,- WTask,- WTextEditorDialog,- WViewPI,- WWFActivity,- ZkJRViewer,- ZkReportViewer
 
 public interface ISupportMaskinterface for any component want support show other window over it with a mask. object manage component as AbstractUIPart also implement this interface consider below case. 1. show a dialog => show mask 2. process a event 2.1. show other dialog => show mask 2.1. hidden dialog in step 1 => hidden mask 3. result dialog show without mask to void this case process as below inshowMask()set a flag to request scope by call:Component.setAttribute(String, Object, int)key isREADY_SHOW_MASK_FLAGvalue is Integer(1) and scope isComponent.REQUEST_SCOPEinhideMask()check flag before hidden mask. when has flag, don't hidden mask component want support show mask can implement this interface or use support classShowMaskWrapperas composite object
- 
- 
Field SummaryFields Modifier and Type Field Description static StringREADY_SHOW_MASK_FLAG
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description org.zkoss.zk.ui.ComponentgetMaskComponent()return self if is a component or return component it manage ifAbstractUIPartis implement this interface, returnUIPart.getComponent()MaskgetMaskObj()return cache object or make new object and returnvoidhideMask()Hide mask. at code call showMask will hand reference to this object. and call this function in handle close event of window when override, remember check exists of keyREADY_SHOW_MASK_FLAGat scopeComponent.REQUEST_SCOPEin attribute by callLayoutUtilsif exists flag, don't hidden maskvoidshowMask()show mask over this component when override, remember callComponent.setAttribute(String, Object, int)with key isREADY_SHOW_MASK_FLAGvalue is Integer(1) and scope isComponent.REQUEST_SCOPEby callLayoutUtils
 
- 
- 
- 
Field Detail- 
READY_SHOW_MASK_FLAGstatic final String READY_SHOW_MASK_FLAG - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
showMaskvoid showMask() show mask over this component when override, remember callComponent.setAttribute(String, Object, int)with key isREADY_SHOW_MASK_FLAGvalue is Integer(1) and scope isComponent.REQUEST_SCOPEby callLayoutUtils
 - 
hideMaskvoid hideMask() Hide mask. at code call showMask will hand reference to this object. and call this function in handle close event of window when override, remember check exists of keyREADY_SHOW_MASK_FLAGat scopeComponent.REQUEST_SCOPEin attribute by callLayoutUtilsif exists flag, don't hidden mask
 - 
getMaskObjMask getMaskObj() return cache object or make new object and return- Returns:
 
 - 
getMaskComponentorg.zkoss.zk.ui.Component getMaskComponent() return self if is a component or return component it manage ifAbstractUIPartis implement this interface, returnUIPart.getComponent()- Returns:
 
 
- 
 
-