Package org.adempiere.webui.component
Class Tab.DecorateInfo
java.lang.Object
org.adempiere.webui.component.Tab.DecorateInfo
- Enclosing class:
- Tab
Class contain decorate info.
At the moment, has only image info.
At the moment, it's use to transfer decorate info from info window, standard window, report, process,... to tab
At the moment, has only image info.
At the moment, it's use to transfer decorate info from info window, standard window, report, process,... to tab
- Author:
- hieplq
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decorate
(org.zkoss.zul.impl.LabelImageElement comp) Apply custom style to compstatic Tab.DecorateInfo
Helper method to create decorate info from adWindow infostatic Tab.DecorateInfo
static Tab.DecorateInfo
get
(MInfoWindow mInfo) Create DecorateInfo from Info Window.
-
Constructor Details
-
DecorateInfo
- Parameters:
imageData
- MImage
-
DecorateInfo
- Parameters:
imagePath
- Image URL
-
-
Method Details
-
decorate
public void decorate(org.zkoss.zul.impl.LabelImageElement comp) Apply custom style to comp- Parameters:
comp
-
-
get
Helper method to create decorate info from adWindow info- Parameters:
adWindow
-- Returns:
- DecorateInfo
-
get
Create DecorateInfo from Info Window.- Parameters:
mInfo
-- Returns:
- DecorateInfo
-
get
-