Class BootItemMenuCommand<T extends MenuItem,V>
- java.lang.Object
-
- com.thecoderscorner.menu.remote.commands.BootItemMenuCommand<T,V>
-
- All Implemented Interfaces:
MenuCommand
- Direct Known Subclasses:
MenuActionBootCommand,MenuAnalogBootCommand,MenuBooleanBootCommand,MenuEnumBootCommand,MenuFloatBootCommand,MenuRuntimeListBootCommand,MenuSubBootCommand,MenuTextBootCommand
public abstract class BootItemMenuCommand<T extends MenuItem,V> extends java.lang.Object implements MenuCommand
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBootItemMenuCommand(int subMenuId, T menuItem, V currentValue)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)VgetCurrentValue()TgetMenuItem()intgetSubMenuId()inthashCode()protected abstract MenuState<V>internalNewMenuState(MenuState<V> oldState)MenuState<V>newMenuState(MenuState<V> oldState)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.thecoderscorner.menu.remote.commands.MenuCommand
getCommandType
-
-
-
-
Method Detail
-
getSubMenuId
public int getSubMenuId()
-
getMenuItem
public T getMenuItem()
-
getCurrentValue
public V getCurrentValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-