Arch4J 1.1

org.arch4j.statemonitoring
Class JComboBoxStateMonitor

java.lang.Object
  |
  +--org.arch4j.statemonitoring.JComboBoxStateMonitor
All Implemented Interfaces:
BeanStateMonitor

public class JComboBoxStateMonitor
extends Object
implements BeanStateMonitor

Used to monitor the state of JComboBoxes. Creation date: (4/14/00 9:19:04 AM)


Constructor Summary
JComboBoxStateMonitor(JComboBox aComboBox)
          Create a new comparator for the combo box passed in.
 
Method Summary
 Object getBeanBeingMonitored()
          Gets the bean that we are monitoring.
 boolean hasStateChanged()
          Gets whether or not the state of the component has changed.
 void resetCacheValue()
          Reset the cached value of the widget.
 void resetState()
          Reset the state of the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JComboBoxStateMonitor

public JComboBoxStateMonitor(JComboBox aComboBox)
Create a new comparator for the combo box passed in. Creation date: (4/14/00 3:17:52 PM)

Parameters:
aComboBox - The combo box to monitor.
Method Detail

hasStateChanged

public boolean hasStateChanged()
Gets whether or not the state of the component has changed.

Specified by:
hasStateChanged in interface BeanStateMonitor
Returns:
true if the state of the component has changed.

resetState

public void resetState()
Reset the state of the component.

Specified by:
resetState in interface BeanStateMonitor

resetCacheValue

public void resetCacheValue()
Reset the cached value of the widget.

Specified by:
resetCacheValue in interface BeanStateMonitor

getBeanBeingMonitored

public Object getBeanBeingMonitored()
Gets the bean that we are monitoring.

Specified by:
getBeanBeingMonitored in interface BeanStateMonitor
Returns:
The bean that is being monitored.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.