public class StateHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.HashSet<java.lang.String> |
mNeededStateContainers
Contains all keys of components that were present in the current ComponentTree and therefore
their StateContainer needs to be kept around.
|
java.util.Map<java.lang.String,StateContainer> |
mStateContainers
Maps a component key to a component object that retains the current state values for that key.
|
Constructor and Description |
---|
StateHandler() |
StateHandler(StateHandler stateHandler) |
Modifier and Type | Method and Description |
---|---|
static StateHandler |
createNewInstance(StateHandler stateHandler) |
static StateHandler |
createShallowCopyForLazyStateUpdates(StateHandler stateHandler) |
boolean |
isEmpty() |
public java.util.Map<java.lang.String,StateContainer> mStateContainers
public java.util.HashSet<java.lang.String> mNeededStateContainers
public StateHandler()
public StateHandler(StateHandler stateHandler)
public static StateHandler createNewInstance(StateHandler stateHandler)
public static StateHandler createShallowCopyForLazyStateUpdates(StateHandler stateHandler)
public boolean isEmpty()