Package com.thecoderscorner.menu.domain
Class ActionMenuItem
java.lang.Object
com.thecoderscorner.menu.domain.MenuItem
com.thecoderscorner.menu.domain.ActionMenuItem
ActionMenuItem represents a menu item that is a one shot action, in that when triggered it
just runs the callback on the embedded side.
-
Field Summary
Fields inherited from class com.thecoderscorner.menu.domain.MenuItem
eepromAddress, functionName, id, localOnly, name, readOnly, staticDataInRAM, variableName, visible -
Constructor Summary
ConstructorsConstructorDescriptionActionMenuItem(String name, String variableName, int id, String functionName, int eepromAddr, boolean readOnly, boolean localOnly, boolean visible, boolean staticInRAM) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MenuItemVisitor visitor) booleanbooleanhas children indicates if this item can contain child itemsinthashCode()Methods inherited from class com.thecoderscorner.menu.domain.MenuItem
getEepromAddress, getFunctionName, getId, getName, getVariableName, isLocalOnly, isReadOnly, isStaticDataInRAM, isVisible, toString
-
Constructor Details
-
ActionMenuItem
public ActionMenuItem() -
ActionMenuItem
-
-
Method Details
-
hasChildren
public boolean hasChildren()Description copied from class:MenuItemhas children indicates if this item can contain child items- Overrides:
hasChildrenin classMenuItem- Returns:
- false - actions don't have child elements
-
equals
-
hashCode
public int hashCode()
-