|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.adempiere.webui.apps.AEnv
public final class AEnv
Windows Application Environment and utilities
| Constructor Summary | |
|---|---|
AEnv()
|
|
| Method Summary | |
|---|---|
static void |
actionRefresh(Lookup lookup,
Object value,
boolean mandatory)
|
static void |
actionZoom(Lookup lookup,
Object value)
|
static void |
cacheReset(String tableName,
int Record_ID)
Cache Reset |
static boolean |
canAccessInfo(String infoWindowName)
Validate permissions to access Info queries on the view menu |
static void |
exit(int status)
Exit System |
static URI |
getImage(String fileNameInImageDir)
Get ImageIcon. |
static URI |
getImage2(String fileName)
Get ImageIcon. |
static char |
getMnemonic(String text)
Get Mnemonic character from text. |
static GridWindowVO |
getMWindowVO(int WindowNo,
int AD_Window_ID,
int AD_Menu_ID)
Get Window Model |
static String |
getServerVersion()
Get Server Version |
static boolean |
isServerActive()
Is AppsServer Active ? |
static boolean |
isWorkflowProcess()
Is Workflow Process view enabled. |
static void |
logout()
|
static void |
positionCenterScreen(Window window)
Position window in center of the screen |
static String |
postImmediate(int WindowNo,
int AD_Client_ID,
int AD_Table_ID,
int Record_ID,
boolean force)
Post Immediate |
static void |
showCenterScreen(Window window)
Show in the center of the screen. |
static void |
showCenterWindow(Window parent,
Window window)
Position in center of the parent window. |
static void |
showScreen(Window window,
int position)
Show in the center of the screen. |
static void |
showWindow(Window win)
|
static void |
startWorkflowProcess(int AD_Table_ID,
int Record_ID)
Start Workflow Process Window |
static void |
zoom(int AD_Table_ID,
int Record_ID)
Zoom |
static void |
zoom(int AD_Window_ID,
MQuery query)
Zoom to a window with the provided window id and filters according to the query |
static void |
zoom(MQuery query)
Zoom |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AEnv()
| Method Detail |
|---|
public static void showCenterScreen(Window window)
window - Window to positionpublic static void positionCenterScreen(Window window)
window - Window to position
public static void showScreen(Window window,
int position)
window - Window to positionposition - SwingConstants
public static void showCenterWindow(Window parent,
Window window)
parent - Parent Windowwindow - Window to positionpublic static char getMnemonic(String text)
text - text with '&'
public static void zoom(int AD_Table_ID,
int Record_ID)
AD_Table_ID - Record_ID - public static void exit(int status)
status - System exit status (usually 0 for no error)public static void logout()
public static boolean isWorkflowProcess()
public static void startWorkflowProcess(int AD_Table_ID,
int Record_ID)
AD_Table_ID - optional tableRecord_ID - optional recordpublic static boolean isServerActive()
public static String getServerVersion()
ALogin.checkVersion()
public static GridWindowVO getMWindowVO(int WindowNo,
int AD_Window_ID,
int AD_Menu_ID)
WindowNo - Window NoAD_Window_ID - windowAD_Menu_ID - menu
public static String postImmediate(int WindowNo,
int AD_Client_ID,
int AD_Table_ID,
int Record_ID,
boolean force)
WindowNo - windowAD_Table_ID - Table ID of DocumentAD_Client_ID - Client ID of DocumentRecord_ID - Record ID of this documentforce - force posting
public static void cacheReset(String tableName,
int Record_ID)
tableName - table nameRecord_ID - record idpublic static boolean canAccessInfo(String infoWindowName)
public static void actionRefresh(Lookup lookup,
Object value,
boolean mandatory)
public static void actionZoom(Lookup lookup,
Object value)
lookup - value -
public static void zoom(int AD_Window_ID,
MQuery query)
AD_Window_ID - Window on which to zoomquery - Filter to be applied on the records.public static void showWindow(Window win)
public static void zoom(MQuery query)
query - querypublic static URI getImage(String fileNameInImageDir)
fileNameInImageDir - full file name in imgaes folder (e.g. Bean16.gif)
public static URI getImage2(String fileName)
fileName - file name in imgaes folder without the extension(e.g. Bean16)
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||