Class MenuBooleanBootCommand
- java.lang.Object
-
- com.thecoderscorner.menu.remote.commands.BootItemMenuCommand<BooleanMenuItem,java.lang.Boolean>
-
- com.thecoderscorner.menu.remote.commands.MenuBooleanBootCommand
-
- All Implemented Interfaces:
MenuCommand
public class MenuBooleanBootCommand extends BootItemMenuCommand<BooleanMenuItem,java.lang.Boolean>
-
-
Constructor Summary
Constructors Constructor Description MenuBooleanBootCommand(int subMenuId, BooleanMenuItem menuItem, boolean currentVal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuCommandTypegetCommandType()The type of message received.MenuState<java.lang.Boolean>internalNewMenuState(MenuState<java.lang.Boolean> oldState)-
Methods inherited from class com.thecoderscorner.menu.remote.commands.BootItemMenuCommand
getCurrentValue, getMenuItem, getSubMenuId, newMenuState, toString
-
-
-
-
Constructor Detail
-
MenuBooleanBootCommand
public MenuBooleanBootCommand(int subMenuId, BooleanMenuItem menuItem, boolean currentVal)
-
-
Method Detail
-
getCommandType
public MenuCommandType getCommandType()
Description copied from interface:MenuCommandThe type of message received.- Returns:
- the command type
-
internalNewMenuState
public MenuState<java.lang.Boolean> internalNewMenuState(MenuState<java.lang.Boolean> oldState)
- Specified by:
internalNewMenuStatein classBootItemMenuCommand<BooleanMenuItem,java.lang.Boolean>
-
-