Arch4J 1.1

org.arch4j.ui.util
Class ComponentStateMonitor

java.lang.Object
  |
  +--org.arch4j.ui.util.ComponentStateMonitor

public class ComponentStateMonitor
extends Object

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


Constructor Summary
ComponentStateMonitor()
          ComponentStateMonitor constructor comment.
 
Method Summary
 boolean hasStateChanged()
          Gets whether or not any state has changed.
 void monitorComponent(JCheckBox aCheckBox)
          Add a check box to be monitored.
 void monitorComponent(JComboBox aComboBox)
          Add a combo box to be monitored.
 void monitorComponent(JList aList)
          Add a list to be monitored.
 void monitorComponent(JTable aTable)
          Add a table to be monitored.
 void monitorComponent(JTextArea aArea)
          Add a text Area to be monitored.
 void monitorComponent(JTextField aField)
          Add a text field to be monitored.
 void resetStateHashMap()
           
 void resetStateMonitors()
          Gets whether or not any state has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentStateMonitor

public ComponentStateMonitor()
ComponentStateMonitor constructor comment.

Method Detail

resetStateHashMap

public void resetStateHashMap()

monitorComponent

public void monitorComponent(JCheckBox aCheckBox)
Add a check box to be monitored.

Parameters:
aCheckBox - The check box to be checked.

monitorComponent

public void monitorComponent(JComboBox aComboBox)
Add a combo box to be monitored.

Parameters:
aComboBox - The combo box to be checked.

monitorComponent

public void monitorComponent(JList aList)
Add a list to be monitored.

Parameters:
aList - The list to be checked.

monitorComponent

public void monitorComponent(JTable aTable)
Add a table to be monitored.

Parameters:
aTable - The table to be checked.

monitorComponent

public void monitorComponent(JTextField aField)
Add a text field to be monitored.

Parameters:
aField - The text field to be checked.

monitorComponent

public void monitorComponent(JTextArea aArea)
Add a text Area to be monitored.

Parameters:
aArea - The text area to be checked.

resetStateMonitors

public void resetStateMonitors()
Gets whether or not any state has changed.

Returns:
true if any of the widget state has changed.

hasStateChanged

public boolean hasStateChanged()
Gets whether or not any state has changed.

Returns:
true if any of the widget state has changed.

Arch4J 1.1

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