Arch4J 1.1

org.arch4j.statemonitoring
Interface BeanStateMonitor

All Known Implementing Classes:
JComboBoxStateMonitor, JTextFieldStateMonitor

public interface BeanStateMonitor

Monitor the state of a bean and be able to reset the state.


Method Summary
 Object getBeanBeingMonitored()
          Gets the bean that we are monitoring.
 boolean hasStateChanged()
          Determine if the state of the component has changed.
 void resetCacheValue()
          Reset the cached value of the widget.
 void resetState()
          Reset the state of the widget.
 

Method Detail

hasStateChanged

public boolean hasStateChanged()
Determine if the state of the component has changed. Creation date: (4/14/00 10:57:07 AM)

Returns:
True if the component has changed.

resetState

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


resetCacheValue

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


getBeanBeingMonitored

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

Returns:
The bean that is being monitored.

Arch4J 1.1

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