public interface G9ValueState
| Modifier and Type | Method and Description |
|---|---|
void |
addValueChangedListener(G9ValueChangedListener listener)
Adds a change listener to this component.
|
void |
display(Object o)
Updates the displayed value of the component, without
affecting the state of the component.
|
Object |
getInitialValue()
Returns the initial displayed value.
|
boolean |
isChanged()
Checks if the currently displayed value is the same as the initial
value.
|
void |
resetState()
Forces the currently displayed value to be considered the old value.
|
void |
setInitialValue(Object value)
Sets the initial value to be the specified value.
|
void addValueChangedListener(G9ValueChangedListener listener)
listener - the listener to addvoid resetState()
boolean isChanged()
true if the displayed value differs from the
initial value.void display(Object o)
o - the new value to displayObject getInitialValue()
void setInitialValue(Object value)
value - the (new) initial value.Copyright © 2006–2017 Esito AS. All rights reserved.