Classes | |
enum | ScrollChoiceMode |
Public Member Functions | |
ScrollChoiceMenuItem (String name, String varName, int id, int eepromAddress, String functionName, int itemWidth, int eepromOffset, int numEntries, ScrollChoiceMode mode, String variable, boolean readOnly, boolean localOnly, boolean visible, boolean staticInRam) | |
int | getItemWidth () |
int | getEepromOffset () |
int | getNumEntries () |
ScrollChoiceMode | getChoiceMode () |
String | getVariable () |
void | accept (MenuItemVisitor visitor) |
boolean | equals (Object o) |
int | hashCode () |
Public Member Functions inherited from com.thecoderscorner.menu.domain.MenuItem | |
MenuItem (String name, String variableName, int id, int eepromAddress, String functionName, boolean readOnly, boolean localOnly, boolean visible, boolean staticDataInRAM) | |
String | getName () |
boolean | isReadOnly () |
int | getId () |
boolean | isLocalOnly () |
int | getEepromAddress () |
String | getFunctionName () |
String | getVariableName () |
boolean | isVisible () |
boolean | hasChildren () |
boolean | isStaticDataInRAM () |
String | toString () |
Additional Inherited Members | |
Protected Attributes inherited from com.thecoderscorner.menu.domain.MenuItem | |
final String | name |
final String | variableName |
final int | id |
final int | eepromAddress |
final String | functionName |
final boolean | readOnly |
final boolean | localOnly |
final boolean | visible |
final boolean | staticDataInRAM |
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.
enum com::thecoderscorner::menu::domain::ScrollChoiceMenuItem::ScrollChoiceMode |
Enumerator | ARRAY_IN_EEPROM | ARRAY_IN_RAM | CUSTOM_RENDERFN |
---|