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

Public Member Functions

 EditableTextMenuItem (String name, String varName, int id, int eepromAddress, String functionName, int length, EditItemType itemType, boolean readOnly, boolean localOnly, boolean visible, boolean staticInRam)
 
int getTextLength ()
 
EditItemType getItemType ()
 
boolean equals (Object o)
 
int hashCode ()
 
void accept (MenuItemVisitor visitor)
 
- 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

An implementation of menu item that can store text strings. Currently, the are always stored in RAM on the Arduino so choose the size carefully.

Member Function Documentation

◆ getItemType()

EditItemType com.thecoderscorner.menu.domain.EditableTextMenuItem.getItemType ( )
Returns
the type of values that can be represented by this control.
See also
EditItemType

◆ getTextLength()

int com.thecoderscorner.menu.domain.EditableTextMenuItem.getTextLength ( )
Returns
The maximum length allowable.

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