tcMenuJavaAPI
Classes | Public Member Functions | List of all members
com.thecoderscorner.menu.domain.ScrollChoiceMenuItem Class Reference
Inheritance diagram for com.thecoderscorner.menu.domain.ScrollChoiceMenuItem:
com.thecoderscorner.menu.domain.MenuItem

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
 

Detailed Description

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.


Class Documentation

◆ com::thecoderscorner::menu::domain::ScrollChoiceMenuItem::ScrollChoiceMode

enum com::thecoderscorner::menu::domain::ScrollChoiceMenuItem::ScrollChoiceMode
Enumerator
ARRAY_IN_EEPROM
ARRAY_IN_RAM
CUSTOM_RENDERFN

The documentation for this class was generated from the following file: