Class WindowManager


  • public class WindowManager
    extends Object
    Managed a list of window.
    Version:
    2006/11/20
    Author:
    Low Heng Sin
    • 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)