jhomenet.gui
Class DesktopView

java.lang.Object
  extended by jhomenet.gui.DesktopView

public class DesktopView
extends java.lang.Object

Filename: $Source$ Description:


Constructor Summary
DesktopView()
          Default constructor.
 
Method Summary
static void addWindowToDesktop(AbstractWindow window)
          Add a window to the desktop.
static void addWindowToDesktop(AbstractWindow window, boolean resizeable)
          Add a window to the desktop.
 void buildView()
          Build the view
 java.awt.Component getDesktop()
          Get the actual destkop.
static boolean isWindowActive(java.lang.String identifier)
          Check whether a window is active.
static void windowClosing(java.lang.String identifier)
          Window closing event method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesktopView

public DesktopView()
Default constructor.

Method Detail

getDesktop

public java.awt.Component getDesktop()
Get the actual destkop.

Returns:
Desktop

buildView

public void buildView()
Build the view


addWindowToDesktop

public static void addWindowToDesktop(AbstractWindow window)
Add a window to the desktop. The only requirement is that the object must extend the AbstractResponsiveWindow class.

Parameters:
window -

addWindowToDesktop

public static void addWindowToDesktop(AbstractWindow window,
                                      boolean resizeable)
Add a window to the desktop. The only requirement is that the object must extend the AbstractResponsiveWindow class.

Parameters:
window - Reference to the window to add

isWindowActive

public static boolean isWindowActive(java.lang.String identifier)
Check whether a window is active.

Parameters:
identifier -
Returns:

windowClosing

public static void windowClosing(java.lang.String identifier)
Window closing event method.

Parameters:
identifier -


Copyright © 2004-2005 David Irwin. All Rights Reserved.