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 void
add(CFrame window)
Add windowvoid
close()
Close all windows managed by this window manager.void
closeOthers(CFrame window)
Close all except one window.AWindow
find(int AD_Window_ID)
Find window by IDFormFrame
findForm(int AD_FORM_ID)
int
getWindowCount()
CFrame[]
getWindows()
Get list of windows managed by this window managervoid
remove(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)
-
-