Package org.compiere.apps
Class WindowManager
- java.lang.Object
-
- org.compiere.apps.WindowManager
-
public class WindowManager extends Object
Managed a list of window.- Version:
- 2006/11/20
- Author:
- Low Heng Sin
-
-
Constructor Summary
Constructors Constructor Description WindowManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(CFrame window)Add windowvoidclose()Close all windows managed by this window manager.voidcloseOthers(CFrame window)Close all except one window.AWindowfind(int AD_Window_ID)Find window by IDFormFramefindForm(int AD_FORM_ID)intgetWindowCount()CFrame[]getWindows()Get list of windows managed by this window managervoidremove(CFrame window)Remove window
-
-
-
Method Detail
-
add
public void add(CFrame window)
Add window- Parameters:
window-
-
close
public void close()
Close all windows managed by this window manager.
-
closeOthers
public void closeOthers(CFrame window)
Close all except one window.- Parameters:
window-
-
remove
public void remove(CFrame window)
Remove window- Parameters:
window-
-
getWindows
public CFrame[] getWindows()
Get list of windows managed by this window manager- Returns:
- Array of windows
-
getWindowCount
public int getWindowCount()
- Returns:
- Number of windows managed by this window manager
-
find
public AWindow find(int AD_Window_ID)
Find window by ID- Parameters:
AD_Window_ID-- Returns:
- AWindow reference, null if not found
-
findForm
public FormFrame findForm(int AD_FORM_ID)
-
-