|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ldodds.thinlet.FieldState
Describes the state of a field, used to cache a fields original status before altering it to (for example) display error cues. This wouldn't be required if the Thinlet framework allowed arbitrary annotation of components.
TODO Thinlet API now has put/get property so this could be made obsolete.This code is Public Domain
Constructor Summary | |
FieldState(com.ldodds.thinlet.ComponentManager thinlet,
java.lang.Object field)
Constructs a FieldState object
referring to a given field. |
Method Summary | |
void |
add(java.lang.String property,
boolean b)
|
void |
add(java.lang.String property,
int i)
|
void |
add(java.lang.String property,
java.lang.Object value)
Adds a property to this FieldState. |
void |
addChoice(java.lang.String property,
java.lang.String choice)
|
boolean |
equals(java.lang.Object object)
|
int |
hashCode()
|
void |
reset()
Resets this fields properties to the values of the properties contained in this FieldState instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FieldState(com.ldodds.thinlet.ComponentManager thinlet, java.lang.Object field)
FieldState
object
referring to a given field.
Method Detail |
public void add(java.lang.String property, java.lang.Object value)
public void add(java.lang.String property, boolean b)
public void add(java.lang.String property, int i)
public void addChoice(java.lang.String property, java.lang.String choice)
public void reset()
FieldState
instance.
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |