jhomenet.gui.responsive
Class ResponsiveStatusWindow

java.lang.Object
  extended by jhomenet.gui.AbstractWindow
      extended by jhomenet.gui.responsive.ResponsiveStatusWindow
All Implemented Interfaces:
java.util.EventListener, ResponsiveSchedulerListener

public class ResponsiveStatusWindow
extends AbstractWindow
implements ResponsiveSchedulerListener

Id: $Id$ Description:

Author:
David Irwin

Field Summary
 
Fields inherited from class jhomenet.gui.AbstractWindow
internalFrame
 
Constructor Summary
ResponsiveStatusWindow()
          Default constructor.
 
Method Summary
protected  javax.swing.JPanel buildGUI()
          Build the responsive status window.
protected  java.awt.Point getDesiredLocation()
          Set the desired location.
 java.lang.String getIdentifier()
          Get the window identifier.
 java.lang.String getTitle()
          Get the frame title.
protected  java.awt.Dimension getWindowDimension()
          Get the desired window dimension.
 void jobAdded(ResponsiveSchedulerEvent event)
           
 void jobFinalized(ResponsiveSchedulerEvent event)
           
 void jobFired(ResponsiveSchedulerEvent event)
           
 void planAdded(ResponsiveSchedulerEvent event)
          Notify the listeners that a plan has been added.
 void planRemoved(ResponsiveSchedulerEvent event)
           
 void planUpdated(ResponsiveSchedulerEvent event)
           
protected  void resetGUI()
          Reset the GUI.
 void triggerAdded(ResponsiveSchedulerEvent event)
          Notify the listeners that a trigger has been added.
 void triggerRemoved(ResponsiveSchedulerEvent event)
           
 void triggerUpdated(ResponsiveSchedulerEvent event)
           
 
Methods inherited from class jhomenet.gui.AbstractWindow
addChildWindow, buildStatusBar, closeWindow, createAsInternalFrame, createAsInternalFrame, getPanel, 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

ResponsiveStatusWindow

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

buildGUI

protected javax.swing.JPanel buildGUI()
Build the responsive status window.

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

getWindowDimension

protected java.awt.Dimension getWindowDimension()
Get the desired window dimension.

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

getDesiredLocation

protected java.awt.Point getDesiredLocation()
Set the desired location.

Overrides:
getDesiredLocation in class AbstractWindow
Returns:
Desired frame position
See Also:
AbstractWindow.getDesiredLocation()

resetGUI

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

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

planAdded

public void planAdded(ResponsiveSchedulerEvent event)
Description copied from interface: ResponsiveSchedulerListener
Notify the listeners that a plan has been added.

Specified by:
planAdded in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.planAdded(jhomenet.responsive.ResponsiveSchedulerEvent)

planUpdated

public void planUpdated(ResponsiveSchedulerEvent event)
Specified by:
planUpdated in interface ResponsiveSchedulerListener

planRemoved

public void planRemoved(ResponsiveSchedulerEvent event)
Specified by:
planRemoved in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.planRemoved(jhomenet.responsive.ResponsiveSchedulerEvent)

triggerAdded

public void triggerAdded(ResponsiveSchedulerEvent event)
Description copied from interface: ResponsiveSchedulerListener
Notify the listeners that a trigger has been added.

Specified by:
triggerAdded in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.triggerAdded(jhomenet.responsive.ResponsiveSchedulerEvent)

triggerUpdated

public void triggerUpdated(ResponsiveSchedulerEvent event)
Specified by:
triggerUpdated in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.triggerUpdated(jhomenet.responsive.ResponsiveSchedulerEvent)

triggerRemoved

public void triggerRemoved(ResponsiveSchedulerEvent event)
Specified by:
triggerRemoved in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.triggerRemoved(jhomenet.responsive.ResponsiveSchedulerEvent)

jobAdded

public void jobAdded(ResponsiveSchedulerEvent event)
Specified by:
jobAdded in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.jobAdded(jhomenet.responsive.ResponsiveSchedulerEvent)

jobFired

public void jobFired(ResponsiveSchedulerEvent event)
Specified by:
jobFired in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.jobFired(jhomenet.responsive.ResponsiveSchedulerEvent)

jobFinalized

public void jobFinalized(ResponsiveSchedulerEvent event)
Specified by:
jobFinalized in interface ResponsiveSchedulerListener
See Also:
ResponsiveSchedulerListener.jobFinalized(jhomenet.responsive.ResponsiveSchedulerEvent)


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