jhomenet.gui.responsive
Class ConditionEditor

java.lang.Object
  extended by jhomenet.gui.AbstractWindow
      extended by jhomenet.gui.AbstractEditor
          extended by jhomenet.gui.responsive.ConditionEditor

public class ConditionEditor
extends AbstractEditor

Version:
$Revision$ Filename: $Source$ Description: An editor used to create and edit individual sensor responsive conditions.
Author:
$Author$

Field Summary
protected  javax.swing.JTextField testValue_tf
          JTextField elements
 
Fields inherited from class jhomenet.gui.AbstractEditor
cancel_b, commit_b, isInitialized, lock
 
Fields inherited from class jhomenet.gui.AbstractWindow
internalFrame
 
Constructor Summary
ConditionEditor(Expression expression, JHomenetRegistry registry)
          Constructor which defaults the panel's layout to a BorderLayout.
ConditionEditor(Expression expression, JHomenetRegistry registry, java.awt.LayoutManager layoutManager)
          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 object)
          Load an model into the editor.
protected  void resetGUI()
          Reset the GUI.
protected  ConditionEditor returnThis()
           
 
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
 

Field Detail

testValue_tf

protected javax.swing.JTextField testValue_tf
JTextField elements

Constructor Detail

ConditionEditor

public ConditionEditor(Expression expression,
                       JHomenetRegistry registry,
                       java.awt.LayoutManager layoutManager)
Default constructor.

Parameters:
expression -
registry -
layoutManager -

ConditionEditor

public ConditionEditor(Expression expression,
                       JHomenetRegistry registry)
Constructor which defaults the panel's layout to a BorderLayout.

Parameters:
expression -
registry -
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()

returnThis

protected ConditionEditor returnThis()
See Also:
jhomenet.gui.AbstractWindow#returnThis()

commitButtonClicked

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

loadObject

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

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

resetGUI

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

Specified by:
resetGUI in class AbstractWindow


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