Arch4J 1.1

org.arch4j.ui.comparator
Class JComboBoxStateComparator

java.lang.Object
  |
  +--org.arch4j.ui.comparator.JComboBoxStateComparator
All Implemented Interfaces:
BeanStateComparator

public class JComboBoxStateComparator
extends Object
implements BeanStateComparator

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


Constructor Summary
JComboBoxStateComparator(JComboBox aComboBox)
          Create a new comparator for the combo box passed in.
 
Method Summary
 boolean hasChanged()
          Gets whether or not the state of the component has changed.
 void resetState()
          Reset the state of the comparator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JComboBoxStateComparator

public JComboBoxStateComparator(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

hasChanged

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

Specified by:
hasChanged in interface BeanStateComparator
Returns:
true if the state of the component has changed.

resetState

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

Specified by:
resetState in interface BeanStateComparator

Arch4J 1.1

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