com.ldodds.thinlet
Class FieldStateManager

java.lang.Object
  |
  +--com.ldodds.thinlet.FieldStateManager

public class FieldStateManager
extends java.lang.Object

Maintains a cache of FieldStates. Can be used to invoke restoration of a fields original state, e.g. to reset a form, undo an action, or remove cues in the interface that were added to demonstrate errors.

Author:
ldodds

Constructor Summary
FieldStateManager(com.ldodds.thinlet.ComponentManager componentManager)
           
 
Method Summary
 void addFieldState(java.lang.Object field, com.ldodds.thinlet.FieldState state)
           
 void checkState(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldStateManager

public FieldStateManager(com.ldodds.thinlet.ComponentManager componentManager)
Method Detail

addFieldState

public void addFieldState(java.lang.Object field,
                          com.ldodds.thinlet.FieldState state)

checkState

public void checkState(java.lang.String name)