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

Public Member Functions

 SubMenuItem (String name, String varName, int id, int eepromAddr, boolean localOnly, boolean visible, boolean secured, boolean staticInRAM)
 
boolean hasChildren ()
 
boolean isSecured ()
 
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

SubMenuItem represents a menu item that has children. To get the child items call the MenuTree methods that interact with items.

Member Function Documentation

◆ hasChildren()

boolean com.thecoderscorner.menu.domain.SubMenuItem.hasChildren ( )
Returns
true submenu's always have children.

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


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