Package com.thecoderscorner.menu.domain
Class ScrollChoiceMenuItemBuilder
java.lang.Object
com.thecoderscorner.menu.domain.MenuItemBuilder<ScrollChoiceMenuItemBuilder,ScrollChoiceMenuItem>
com.thecoderscorner.menu.domain.ScrollChoiceMenuItemBuilder
public class ScrollChoiceMenuItemBuilder
extends MenuItemBuilder<ScrollChoiceMenuItemBuilder,ScrollChoiceMenuItem>
Builds an 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 using the builder pattern.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmenuItem()withChoiceMode(ScrollChoiceMenuItem.ScrollChoiceMode choiceMode) withEepromOffset(int eepromOffset) withItemWidth(int itemWidth) withNumEntries(int numEntries) withVariable(String variable) Methods inherited from class com.thecoderscorner.menu.domain.MenuItemBuilder
baseFromExisting, withEepromAddr, withFunctionName, withId, withLocalOnly, withName, withReadOnly, withStaticDataInRAM, withVariableName, withVisible
-
Constructor Details
-
ScrollChoiceMenuItemBuilder
public ScrollChoiceMenuItemBuilder()
-
-
Method Details
-
withItemWidth
-
withEepromOffset
-
withNumEntries
-
withVariable
-