Uses of Interface
com.thecoderscorner.menu.domain.state.AnyMenuState
Packages that use AnyMenuState
Package
Description
-
Uses of AnyMenuState in com.thecoderscorner.menu.domain.state
Classes in com.thecoderscorner.menu.domain.state that implement AnyMenuStateModifier and TypeClassDescriptionclassUsed to store the decimal state of large number menu item in the menu tree.classAn implementation of menu state for booleans.classAn implementation of menu state for integer values.classAn implementation of menu state for Strings.classAn implementation of menu state for integer values.classMenuState<T>The base class of menu state, stores the value, if it's active and changed.classAn implementation of menu state for integer values.classAn implementation of menu state for lists of string.classAn implementation of menu state for Strings.Methods in com.thecoderscorner.menu.domain.state with type parameters of type AnyMenuStateModifier and TypeMethodDescription<T extends AnyMenuState>
TMenuTree.getMenuState(MenuItem item) Gets the menu state that's associated with a given menu item.Methods in com.thecoderscorner.menu.domain.state with parameters of type AnyMenuStateModifier and TypeMethodDescriptionvoidMenuTree.changeItem(MenuItem item, AnyMenuState menuState) Change the value that's associated with a menu item. -
Uses of AnyMenuState in com.thecoderscorner.menu.domain.util
Methods in com.thecoderscorner.menu.domain.util that return AnyMenuStateModifier and TypeMethodDescriptionstatic AnyMenuStateMenuItemHelper.stateForMenuItem(MenuItem item, Object v, boolean changed, boolean active) Create a menu state for a given item with a value update.static AnyMenuStateMenuItemHelper.stateForMenuItem(AnyMenuState existingState, MenuItem item, Object val) Get a new state object based on an existing state with a new value keeping all exising other valuesstatic AnyMenuStateMenuItemHelper.stateForMenuItem(AnyMenuState existingState, MenuItem item, Object val, boolean changed) Get the state for an existing state with a new value, changing the changed stateMethods in com.thecoderscorner.menu.domain.util that return types with arguments of type AnyMenuStateModifier and TypeMethodDescriptionstatic Optional<AnyMenuState>MenuItemHelper.applyIncrementalValueChange(MenuItem item, int delta, MenuTree tree) Try and apply an incremental delta value update to a menu tree.Methods in com.thecoderscorner.menu.domain.util with parameters of type AnyMenuStateModifier and TypeMethodDescriptionstatic AnyMenuStateMenuItemHelper.stateForMenuItem(AnyMenuState existingState, MenuItem item, Object val) Get a new state object based on an existing state with a new value keeping all exising other valuesstatic AnyMenuStateMenuItemHelper.stateForMenuItem(AnyMenuState existingState, MenuItem item, Object val, boolean changed) Get the state for an existing state with a new value, changing the changed state -
Uses of AnyMenuState in com.thecoderscorner.menu.persist
Methods in com.thecoderscorner.menu.persist that return types with arguments of type AnyMenuStateModifier and TypeMethodDescriptionMenuStateSerialiser.loadMenuStates()load the menu states but do not apply them to the treePropertiesMenuStateSerialiser.loadMenuStates() -
Uses of AnyMenuState in com.thecoderscorner.menu.remote.commands
Methods in com.thecoderscorner.menu.remote.commands that return AnyMenuStateModifier and TypeMethodDescriptionprotected abstract AnyMenuStateBootItemMenuCommand.internalNewMenuState(AnyMenuState oldState) MenuActionBootCommand.internalNewMenuState(AnyMenuState oldState) MenuAnalogBootCommand.internalNewMenuState(AnyMenuState oldState) MenuBooleanBootCommand.internalNewMenuState(AnyMenuState oldState) MenuEnumBootCommand.internalNewMenuState(AnyMenuState oldState) MenuFloatBootCommand.internalNewMenuState(AnyMenuState oldState) MenuLargeNumBootCommand.internalNewMenuState(AnyMenuState oldState) MenuRgb32BootCommand.internalNewMenuState(AnyMenuState oldState) MenuRuntimeListBootCommand.internalNewMenuState(AnyMenuState oldState) MenuScrollChoiceBootCommand.internalNewMenuState(AnyMenuState oldState) MenuSubBootCommand.internalNewMenuState(AnyMenuState oldState) MenuTextBootCommand.internalNewMenuState(AnyMenuState oldState) BootItemMenuCommand.newMenuState(AnyMenuState oldState) Methods in com.thecoderscorner.menu.remote.commands with parameters of type AnyMenuStateModifier and TypeMethodDescriptionprotected abstract AnyMenuStateBootItemMenuCommand.internalNewMenuState(AnyMenuState oldState) MenuActionBootCommand.internalNewMenuState(AnyMenuState oldState) MenuAnalogBootCommand.internalNewMenuState(AnyMenuState oldState) MenuBooleanBootCommand.internalNewMenuState(AnyMenuState oldState) MenuEnumBootCommand.internalNewMenuState(AnyMenuState oldState) MenuFloatBootCommand.internalNewMenuState(AnyMenuState oldState) MenuLargeNumBootCommand.internalNewMenuState(AnyMenuState oldState) MenuRgb32BootCommand.internalNewMenuState(AnyMenuState oldState) MenuRuntimeListBootCommand.internalNewMenuState(AnyMenuState oldState) MenuScrollChoiceBootCommand.internalNewMenuState(AnyMenuState oldState) MenuSubBootCommand.internalNewMenuState(AnyMenuState oldState) MenuTextBootCommand.internalNewMenuState(AnyMenuState oldState) BootItemMenuCommand.newMenuState(AnyMenuState oldState)