Adempiere 3.5.2a

org.compiere.apps
Class WindowManager

java.lang.Object
  extended by org.compiere.apps.WindowManager

public class WindowManager
extends Object

Managed a list of window.

Version:
2006/11/20
Author:
Low Heng Sin

Constructor Summary
WindowManager()
           
 
Method Summary
 void add(CFrame window)
          Add window
 void 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 ID
 FormFrame findForm(int AD_FORM_ID)
           
 int getWindowCount()
           
 CFrame[] getWindows()
          Get list of windows managed by this window manager
 void remove(CFrame window)
          Remove window
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowManager

public WindowManager()
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)

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.