|
Arch4J 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.arch4j.statemonitoring.BeanStateManager
Used to manage a collection of widgets state.
| Constructor Summary | |
BeanStateManager()
|
|
| Method Summary | |
List |
getBeanMonitors()
Get the list of bean monitors. |
BeanStateMonitor |
getMonitorForBean(Object anObject)
Gets the monitor for a given object. |
boolean |
hasBeanStateChanged(Object anObject)
Gets whether or not the state of the bean has changed. |
void |
monitorWidget(JComboBox aComboBox)
Start monitoring the combo box field. |
void |
monitorWidget(JTextField aTextField)
Start monitoring the text field. |
void |
resetBeanStates()
Reset the widget values from the cached values. |
void |
resetCachedValue(Object anObject)
Reset the cached value for the given bean. |
void |
resetCacheValues()
Reset the widget values from the cached values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BeanStateManager()
| Method Detail |
public void monitorWidget(JTextField aTextField)
aTextField - The text field to manage state on.public void monitorWidget(JComboBox aComboBox)
aComboBox - The combo box field to manage state on.public void resetBeanStates()
public void resetCacheValues()
public boolean hasBeanStateChanged(Object anObject)
anObject - The object to check for state changed on.
RuntimeException - Thrown if we are not monitoring this object.public void resetCachedValue(Object anObject)
RuntimeException - Thrown if we are not monitoring this object.public BeanStateMonitor getMonitorForBean(Object anObject)
anObject - The object to find the monitor for.
public List getBeanMonitors()
|
Arch4J 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||