jhomenet.gui
Class RegisteredWindow

java.lang.Object
  extended by jhomenet.gui.AbstractWindow
      extended by jhomenet.gui.RegisteredWindow

public class RegisteredWindow
extends AbstractWindow

Filename: $Source: /cvsroot/jhomenet/files/src/jhomenet/gui/RegisteredWindow.java,v $ Description: Provides registered hardware information.


Field Summary
 
Fields inherited from class jhomenet.gui.AbstractWindow
internalFrame
 
Constructor Summary
RegisteredWindow(HomenetHardware hardware)
          Default constructor.
 
Method Summary
protected  javax.swing.JPanel buildGUI()
          Build the registered hardware GUI.
protected  WindowStatusBar buildStatusBar()
          Build a custom status bar.
 java.lang.String getIdentifier()
          Get the window identifier.
 java.lang.String getTitle()
          Get the frame title.
protected  java.awt.Dimension getWindowDimension()
          Override the default method and set the new window size.
protected  void resetGUI()
          Reset the GUI.
protected  void windowClosing()
          If required, classes may override this method in order to perform any functions necessary before the window is closed.
 
Methods inherited from class jhomenet.gui.AbstractWindow
addChildWindow, closeWindow, createAsInternalFrame, createAsInternalFrame, getDesiredLocation, getPanel, setPanel, startWork, startWork, stopWork, stopWork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisteredWindow

public RegisteredWindow(HomenetHardware hardware)
Default constructor.

Method Detail

getTitle

public java.lang.String getTitle()
Description copied from class: AbstractWindow
Get the frame title.

Specified by:
getTitle in class AbstractWindow
Returns:
The frame title

buildGUI

protected javax.swing.JPanel buildGUI()
Build the registered hardware GUI.

Specified by:
buildGUI in class AbstractWindow
See Also:
AbstractWindow.buildGUI()

buildStatusBar

protected WindowStatusBar buildStatusBar()
Build a custom status bar.

Overrides:
buildStatusBar in class AbstractWindow
Returns:
A status bar panel
See Also:
AbstractWindow.buildStatusBar()

resetGUI

protected void resetGUI()
Description copied from class: AbstractWindow
Reset the GUI.

Specified by:
resetGUI in class AbstractWindow
See Also:
AbstractWindow.resetGUI()

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: AbstractWindow
Get the window identifier. This identifier is used as the control in not allowing multiple windows of the same type to be opened. For example, two services status window should not allowed to be opened. In general, the system will not create another window if the identifier is already in the current list.

Specified by:
getIdentifier in class AbstractWindow
Returns:
The window's identifier
See Also:
AbstractWindow.getIdentifier()

getWindowDimension

protected java.awt.Dimension getWindowDimension()
Override the default method and set the new window size.

Overrides:
getWindowDimension in class AbstractWindow
Returns:
The desired window dimension
See Also:
AbstractWindow.getWindowDimension()

windowClosing

protected void windowClosing()
Description copied from class: AbstractWindow
If required, classes may override this method in order to perform any functions necessary before the window is closed.

Overrides:
windowClosing in class AbstractWindow
See Also:
AbstractWindow.windowClosing()


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