public interface ExtendedState
Modifier and Type | Interface and Description |
---|---|
static interface |
ExtendedState.ExtendedStateChangeListener
The listener interface for receiving extended state change events.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
get(java.lang.Object key,
java.lang.Class<T> type)
Gets a variable which is automatically casted into a type.
|
java.util.Map<java.lang.Object,java.lang.Object> |
getVariables()
Gets the extended state variables.
|
void |
setExtendedStateChangeListener(ExtendedState.ExtendedStateChangeListener listener)
Sets the extended state change listener.
|
java.util.Map<java.lang.Object,java.lang.Object> getVariables()
<T> T get(java.lang.Object key, java.lang.Class<T> type)
T
- the return typekey
- the variable keytype
- the variable typevoid setExtendedStateChangeListener(ExtendedState.ExtendedStateChangeListener listener)
listener
- the new extended state change listener