Interface AnyMenuState
- All Known Implementing Classes:
BigDecimalMenuState,BooleanMenuState,CurrentScrollPositionMenuState,FloatMenuState,IntegerMenuState,MenuState,PortableColorMenuState,StringListMenuState,StringMenuState
public interface AnyMenuState
-
Method Details
-
getItem
MenuItem getItem()- Returns:
- the item that this state belongs to
-
getValue
Object getValue()- Returns:
- the current value of this item, you can get a more refined from the sub class methods
-
isChanged
boolean isChanged()- Returns:
- true if the state has changed
-
isActive
boolean isActive()- Returns:
- true if the state represents the active item
-
getStorageType
AnyMenuState.StateStorageType getStorageType()- Returns:
- the type of data this menu state holds
-