eepromAddress, functionName, id, name, readOnly| Constructor | Description |
|---|---|
TextMenuItem() |
|
TextMenuItem(String name,
int id,
int eepromAddress,
String functionName,
int length,
boolean readOnly) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(MenuItemVisitor visitor) |
|
boolean |
equals(Object o) |
|
int |
getTextLength() |
The maximum length allowable.
|
int |
hashCode() |
|
MenuState<String> |
newMenuState(String value,
boolean changed,
boolean active) |
Returns a new String current value that can be used as the current value in the Menutree
|
getEepromAddress, getFunctionName, getId, getName, hasChildren, isReadOnly, toStringpublic int getTextLength()
public MenuState<String> newMenuState(String value, boolean changed, boolean active)
newMenuState in class MenuItem<String>value - the new valuechanged - if the value has changedactive - if the value is active.public void accept(MenuItemVisitor visitor)
Copyright © 2018. All rights reserved.