jhomenet.gui.responsive
Class DeviceResponseEditor

java.lang.Object
  extended by jhomenet.gui.AbstractWindow
      extended by jhomenet.gui.AbstractEditor
          extended by jhomenet.gui.responsive.AbstractResponseEditor
              extended by jhomenet.gui.responsive.DeviceResponseEditor

public class DeviceResponseEditor
extends AbstractResponseEditor

Version:
1.1
Author:
David Irwin

Field Summary
 
Fields inherited from class jhomenet.gui.AbstractEditor
cancel_b, commit_b, isInitialized, lock
 
Fields inherited from class jhomenet.gui.AbstractWindow
internalFrame
 
Constructor Summary
DeviceResponseEditor()
          Default constructor.
 
Method Summary
protected  javax.swing.JPanel buildMainPanel()
          Used to build the panel editor panel.
protected  void commitButtonClicked()
           
 java.lang.String getIdentifier()
          Get the window identifier.
 java.lang.String getTitle()
          Get the frame title.
 void loadObject(java.lang.Object response)
          Load an model into the editor.
protected  void resetGUI()
          Reset the GUI.
 
Methods inherited from class jhomenet.gui.responsive.AbstractResponseEditor
addResponse, getPlanDesc, setExpression, setPlan, setResponseType
 
Methods inherited from class jhomenet.gui.AbstractEditor
buildButtonPanel, buildGUI, initializationComplete, waitForInitialization
 
Methods inherited from class jhomenet.gui.AbstractWindow
addChildWindow, buildStatusBar, closeWindow, createAsInternalFrame, createAsInternalFrame, getDesiredLocation, getPanel, getWindowDimension, setPanel, startWork, startWork, stopWork, stopWork, windowClosing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceResponseEditor

public DeviceResponseEditor()
Default constructor.

Method Detail

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

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

buildMainPanel

protected javax.swing.JPanel buildMainPanel()
Description copied from class: AbstractEditor
Used to build the panel editor panel.

Specified by:
buildMainPanel in class AbstractEditor
Returns:
A reference to the newly created main panel
See Also:
AbstractEditor.buildMainPanel()

loadObject

public void loadObject(java.lang.Object response)
Description copied from class: AbstractEditor
Load an model into the editor.

Specified by:
loadObject in class AbstractEditor
See Also:
AbstractEditor.loadObject(Object obj)

resetGUI

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

Specified by:
resetGUI in class AbstractWindow

commitButtonClicked

protected void commitButtonClicked()
Specified by:
commitButtonClicked in class AbstractEditor
See Also:
AbstractEditor.commitButtonClicked()


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