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

Public Member Functions

 ActionMenuItem (String name, String variableName, int id, String functionName, int eepromAddr, boolean readOnly, boolean localOnly, boolean visible, boolean staticInRAM)
 
boolean hasChildren ()
 
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 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

ActionMenuItem represents a menu item that is a one shot action, in that when triggered it just runs the callback on the embedded side.

Member Function Documentation

◆ hasChildren()

boolean com.thecoderscorner.menu.domain.ActionMenuItem.hasChildren ( )
Returns
false - actions don't have child elements

Reimplemented from com.thecoderscorner.menu.domain.MenuItem.


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