MenuEntry¶
-
public class
MenuEntry
¶ Menu options offered to the Cashier.
Methods¶
create¶
getContent¶
getContentType¶
-
public ContentType
getContentType
()¶ Returns the content type for this entry.
isSelectable¶
-
public boolean
isSelectable
()¶ Defines if the menu item can be selected or not.
isSelectedByDefault¶
-
public boolean
isSelectedByDefault
()¶ If this option is selected by default or not.
leadsToSubmenu¶
-
public boolean
leadsToSubmenu
()¶ Defines if the menu item leads to a submenu when pressed, triggering another round of User Input events if selected.
setContent¶
setContentType¶
-
public void
setContentType
(ContentType contentType)¶ Sets the contentType.
setLeadsToSubmenu¶
-
public void
setLeadsToSubmenu
(boolean leadsToSubmenu)¶ Sets the menu item leads to a submenu when pressed, triggering another round of User Input events if selected.
setSelectable¶
-
public void
setSelectable
(boolean selectable)¶ Sets the menu item to be selectable or not
setSelectedByDefault¶
-
public void
setSelectedByDefault
(boolean selectedByDefault)¶ Sets the option to selected by default or not.