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 String
AD_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.Component
doCreatePart(org.zkoss.zk.ui.Component parent)
static ADWindow
findADWindow(org.zkoss.zk.ui.Component comp)
static ADWindow
get(int windowNo)
int
getAD_Window_ID()
String
getAD_Window_UU()
ADWindowContent
getADWindowContent()
org.zkoss.zk.ui.Component
getComponent()
MImage
getMImage()
List<String>
getTabToolbarRestrictList(int AD_Tab_ID)
String
getTitle()
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:
doCreatePart
in 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
-
-