Package org.adempiere.webui.adwindow
Class ADWindow
- java.lang.Object
-
- org.adempiere.webui.part.AbstractUIPart
-
- org.adempiere.webui.adwindow.ADWindow
-
- All Implemented Interfaces:
ISupportMask,UIPart
public class ADWindow extends AbstractUIPart
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass
-
-
Field Summary
Fields Modifier and Type Field Description static StringAD_WINDOW_ATTRIBUTE_KEY-
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
Constructors Constructor Description ADWindow(Properties ctx, int adWindowId)ADWindow(Properties ctx, int adWindowId, MQuery query)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.zkoss.zk.ui.ComponentdoCreatePart(org.zkoss.zk.ui.Component parent)static ADWindowfindADWindow(org.zkoss.zk.ui.Component comp)static ADWindowget(int windowNo)intgetAD_Window_ID()StringgetAD_Window_UU()ADWindowContentgetADWindowContent()org.zkoss.zk.ui.ComponentgetComponent()MImagegetMImage()List<String>getTabToolbarRestrictList(int AD_Tab_ID)StringgetTitle()List<String>getWindowAdvancedButtonList()List<String>getWindowToolbarRestrictList()-
Methods inherited from class org.adempiere.webui.part.AbstractUIPart
createPart, getMaskComponent, getMaskObj, hideMask, showMask
-
-
-
-
Field Detail
-
AD_WINDOW_ATTRIBUTE_KEY
public static final String AD_WINDOW_ATTRIBUTE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ADWindow
public ADWindow(Properties ctx, int adWindowId)
- Parameters:
ctx-adWindowId-
-
ADWindow
public ADWindow(Properties ctx, int adWindowId, MQuery query)
- Parameters:
ctx-adWindowId-query-
-
-
Method Detail
-
getTitle
public String getTitle()
- Returns:
- title of window
-
getMImage
public MImage getMImage()
- Returns:
- image for the country
-
doCreatePart
protected org.zkoss.zk.ui.Component doCreatePart(org.zkoss.zk.ui.Component parent)
- Specified by:
doCreatePartin classAbstractUIPart
-
getComponent
public org.zkoss.zk.ui.Component getComponent()
-
getADWindowContent
public ADWindowContent getADWindowContent()
- Returns:
- ADWindowContent
-
getAD_Window_ID
public int getAD_Window_ID()
-
getAD_Window_UU
public String getAD_Window_UU()
-
get
public static ADWindow get(int windowNo)
- Parameters:
windowNo-- Returns:
- adwindow instance for windowNo ( if any )
-
findADWindow
public static ADWindow findADWindow(org.zkoss.zk.ui.Component comp)
- Parameters:
comp-- Returns:
- adwindow instance if found, null otherwise
-
-