public interface StateModel
Modifier and Type | Method and Description |
---|---|
void |
addStateListener(StateListener listener)
Adds a listener that wants to be notified about
state changes of the model.
|
int |
getState()
Returns the current state of the model.
|
void |
removeStateListener(StateListener listener)
Removes a listener.
|
void addStateListener(StateListener listener)
void removeStateListener(StateListener listener)
int getState()