Package com.thecoderscorner.menu.domain
Class ScrollChoiceMenuItem
java.lang.Object
com.thecoderscorner.menu.domain.MenuItem
com.thecoderscorner.menu.domain.ScrollChoiceMenuItem
Represents a more configurable and more extensible version of enum that should be used when the number of choices is
larger, the choices are in eeprom, or you need more control at runtime of the choices.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.thecoderscorner.menu.domain.MenuItem
eepromAddress, functionName, id, localOnly, name, readOnly, variableName, visible -
Constructor Summary
ConstructorsConstructorDescriptionScrollChoiceMenuItem(String name, String varName, int id, int eepromAddress, String functionName, int itemWidth, int eepromOffset, int numEntries, ScrollChoiceMenuItem.ScrollChoiceMode mode, String variable, boolean readOnly, boolean localOnly, boolean visible) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MenuItemVisitor visitor)booleanintintintinthashCode()Methods inherited from class com.thecoderscorner.menu.domain.MenuItem
getEepromAddress, getFunctionName, getId, getName, getVariableName, hasChildren, isLocalOnly, isReadOnly, isVisible, toString
-
Constructor Details
-
ScrollChoiceMenuItem
public ScrollChoiceMenuItem()
-
-
Method Details