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, MenuLargeNumBootCommand, MenuRgb32BootCommand, MenuRuntimeListBootCommand, MenuScrollChoiceBootCommand, MenuSubBootCommand, MenuTextBootCommand

public abstract class BootItemMenuCommand<T extends MenuItem,V> extends Object implements MenuCommand
  • Constructor Details

    • BootItemMenuCommand

      protected BootItemMenuCommand(int subMenuId, T menuItem, V currentValue)
  • Method Details

    • getSubMenuId

      public int getSubMenuId()
    • getMenuItem

      public T getMenuItem()
    • getCurrentValue

      public V getCurrentValue()
    • newMenuState

      public AnyMenuState newMenuState(AnyMenuState oldState)
    • internalNewMenuState

      protected abstract AnyMenuState internalNewMenuState(AnyMenuState oldState)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object