|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.apps.AEnv
public final class AEnv
Windows Application Environment and utilities
[ 1966328 ] New Window Info to MRP and CRP into View http://sourceforge.net/tracker/index.php?func=detail&aid=1966328&group_id=176962&atid=879335| Constructor Summary | |
|---|---|
AEnv()
|
|
| Method Summary | |
|---|---|
static boolean |
actionPerformed(String actionCommand,
int WindowNo,
Container c)
Perform action command for common menu items. |
static JMenuItem |
addMenuItem(String actionName,
String iconName,
KeyStroke ks,
JMenu menu,
ActionListener al)
Create Menu Item. |
static void |
addToWindowManager(CFrame frame)
Track open frame in window manager |
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 AMenu |
getAMenu(CFrame frame)
FR [ 1966328 ] get AMenu |
static CButton |
getButton(String iconName)
Get Button |
static JMenu |
getMenu(String AD_Message)
Create Menu Title (translate it and set Mnemonics). |
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 void |
positionCenterWindow(Window parent,
Window window)
Position in center of the parent window |
static void |
positionScreen(Window window,
int position)
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 |
setTextMnemonic(JButton b,
String text)
Set Text and Mnemonic for Button. |
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 |
showMaximized(Frame frame)
Show frame as maximized. |
static void |
showScreen(Window window,
int position)
Show in the center of the screen. |
static void |
showWindow(Window window)
Show window: de-iconify and bring it to front |
static void |
startWorkflowProcess(int AD_Table_ID,
int Record_ID)
Start Workflow Process Window |
static void |
updateUI()
Update all windows after look and feel changes. |
static void |
zoom(int AD_Table_ID,
int Record_ID)
Zoom |
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 showWindow(Window window)
public static void showCenterScreen(Window window)
window - Window to positionpublic static void showMaximized(Frame frame)
frame - public 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 positionScreen(Window window,
int position)
window - Window to positionposition - SwingConstants
public static void showCenterWindow(Window parent,
Window window)
parent - Parent Windowwindow - Window to position
public static void positionCenterWindow(Window parent,
Window window)
parent - Parent Windowwindow - Window to positionpublic static CButton getButton(String iconName)
iconName -
public static JMenu getMenu(String AD_Message)
AD_Message - message
public static JMenuItem addMenuItem(String actionName,
String iconName,
KeyStroke ks,
JMenu menu,
ActionListener al)
actionName - action commandiconName - optional name of the icon, defaults to action if nullks - optional key strokemenu - menu to add menu item toal - action listener to register
public static boolean actionPerformed(String actionCommand,
int WindowNo,
Container c)
actionCommand - known action commandWindowNo - window noc - Container parent
public static void setTextMnemonic(JButton b,
String text)
b - The buttontext - The text with optional Mnemonicspublic 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 zoom(MQuery query)
query - querypublic static void addToWindowManager(CFrame frame)
frame - public static AMenu getAMenu(CFrame frame)
frame - 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 void updateUI()
public static boolean canAccessInfo(String infoWindowName)
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||