Package org.adempiere.webui.part
Class MultiTabPart
java.lang.Object
org.adempiere.webui.part.AbstractUIPart
org.adempiere.webui.part.MultiTabPart
- All Implemented Interfaces:
ISupportMask
,UIPart
Tabbox based UI block
- Author:
- Low Heng Sin
-
Field Summary
Fields inherited from class org.adempiere.webui.part.AbstractUIPart
page, showMaskWrapper
Fields inherited from interface org.adempiere.webui.ISupportMask
READY_SHOW_MASK_FLAG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add comp as new tabvoid
Add comp as new tabprotected org.zkoss.zk.ui.Component
doCreatePart
(org.zkoss.zk.ui.Component parent) Sub class override this to create root UI block or child UI blockvoid
Close selected tabvoid
setSelectedTab
(Tab tab) Set selected tabMethods inherited from class org.adempiere.webui.part.AbstractUIPart
createPart, getMaskComponent, getMaskObj, hideMask, showMask
-
Constructor Details
-
MultiTabPart
public MultiTabPart()
-
-
Method Details
-
doCreatePart
protected org.zkoss.zk.ui.Component doCreatePart(org.zkoss.zk.ui.Component parent) Description copied from class:AbstractUIPart
Sub class override this to create root UI block or child UI block- Specified by:
doCreatePart
in classAbstractUIPart
- Parameters:
parent
- parent Component or null for root UI block- Returns:
- Component
-
addTab
Add comp as new tab- Parameters:
comp
-title
-closeable
-
-
addTab
Add comp as new tab- Parameters:
comp
-title
-closeable
-enable
-
-
setSelectedTab
Set selected tab- Parameters:
tab
-
-
removeTab
public void removeTab()Close selected tab -
getComponent
- Returns:
- Tabbox
-