|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ridgesoft.ui.MenuItemList
public abstract class MenuItemList
Abstract class for a named list of menu items.
Constructor Summary | |
---|---|
MenuItemList(String title)
Constructs a MenuItemList. |
Method Summary | |
---|---|
abstract void |
freeMenuItems()
Allows menu items to be freed if they aren't being used by the display system. |
abstract MenuItem[] |
getMenuItems()
Gets the list of menu items in this list. |
void |
select(PushButton selectButton,
PushButton exitButton,
MenuController menuController)
Called when the user selects this menu item if it is not a MenuItemList. |
String |
toString()
Returns the title of the menu item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait |
Constructor Detail |
---|
public MenuItemList(String title)
title
- name of the listMethod Detail |
---|
public abstract void freeMenuItems()
public abstract MenuItem[] getMenuItems()
public void select(PushButton selectButton, PushButton exitButton, MenuController menuController)
This method should never be called on this class.
This implementation does nothing.
select
in interface MenuItem
selectButton
- button for selecting itemsexitButton
- button for exiting the menumenuController
- menu system controllerpublic String toString()
toString
in class Object
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |