Uses of Class
bluegammon.gui.menu.MenuPage

Packages that use MenuPage
bluegammon.gui The bluegammon.gui package contains classes related to presentation and user interaction of the Bluegammon game. 
bluegammon.gui.menu The bluegammon.gui.menu package is a standalone package for drawing menus on a canvas in J2ME. 
 

Uses of MenuPage in bluegammon.gui
 

Subclasses of MenuPage in bluegammon.gui
 class BluetoothDevicePage
          A page that presents nearby devices, and gives feedback when search is active.
 

Methods in bluegammon.gui with parameters of type MenuPage
 void MenuCanvas.itemAction(MenuPage page, PageItem item)
          ItemAction implementation, called from items in this menu.
 void MenuCanvas.newPage(MenuPage fromPage, MenuPage toPage, boolean back)
           
 void MenuCanvas.itemSelected(MenuPage page, PageItem oldItem, PageItem newItem)
           
 void MenuCanvas.actionCalled(MenuPage page, PageItem item, ItemAction action)
           
 void MenuCanvas.transitionStarted(MenuPage fromPage, MenuPage toPage, long delay, int frames, boolean back)
           
 void MenuCanvas.transitionStopped(MenuPage fromPage, MenuPage toPage)
           
 void BluetoothServerWorkflow.itemAction(MenuPage page, PageItem item)
          Called when user sets up a server.
 void BluetoothClientWorkflow.itemAction(MenuPage page, PageItem item)
          Called when user selects an item in a page.
 

Uses of MenuPage in bluegammon.gui.menu
 

Methods in bluegammon.gui.menu that return MenuPage
 MenuPage PageItem.getSubPage()
          Returns the subpage that will be displayed when this item is activated, or null if no such page.
 MenuPage Menu.getCurrentPage()
          Returns current page.
 MenuPage Menu.getStartPage()
          Returns start page of this menu.
 

Methods in bluegammon.gui.menu with parameters of type MenuPage
 void PageItem.setSubPage(MenuPage page)
          Sets the subpage that will be displayed when this item is activated, or null if no such page.
 void MenuPainter.paintMenu(javax.microedition.lcdui.Graphics g, MenuPage menu, int x, int y, int width, int height)
          Paints a static menu.
 void MenuPainter.paintTransition(javax.microedition.lcdui.Graphics g, MenuPage fromMenu, MenuPage toMenu, int x, int y, int width, int height, int frame, int frames, boolean back)
          Paints a transition between menus.
 void MenuListener.newPage(MenuPage fromPage, MenuPage toPage, boolean back)
          Called when a new page is shown.
 void MenuListener.itemSelected(MenuPage page, PageItem oldItem, PageItem newItem)
          Called when a item is selected in a page.
 void MenuListener.actionCalled(MenuPage page, PageItem item, ItemAction action)
          Called when an ItemAction is invoked.
 void MenuListener.transitionStarted(MenuPage fromPage, MenuPage toPage, long delay, int frames, boolean back)
          Called when a transition is started on a new page selection.
 void MenuListener.transitionStopped(MenuPage fromPage, MenuPage toPage)
          Called when a transition is finished.
 void Menu.gotoPage(MenuPage newPage)
          Steps forward to a new page.
 void ItemAction.itemAction(MenuPage page, PageItem item)
          Called when user selects an item in a page.
 void DefaultMenuPainter.paintMenu(javax.microedition.lcdui.Graphics g, MenuPage menu, int x, int y, int width, int height)
           
 void DefaultMenuPainter.paintTransition(javax.microedition.lcdui.Graphics g, MenuPage fromMenu, MenuPage toMenu, int x, int y, int width, int height, int frame, int frames, boolean back)
          Calls paintMenu twice with the two pages, plus an x offset for each menu to visualize the transition.
 void BinaryPageItem.itemAction(MenuPage page, PageItem item)
          Toggles the boolean value by calling getBoolean and setBoolean.
 

Constructors in bluegammon.gui.menu with parameters of type MenuPage
PageItem(char[] label, javax.microedition.lcdui.Image image, ItemAction action, MenuPage subPage)
          Creates an item that is to be inserted into a MenuPage.
PageItem(char[] label, javax.microedition.lcdui.Image image, ItemAction action, MenuPage subPage, int id)
          Creates an item that is to be inserted into a MenuPage.
Menu(MenuPage startPage, javax.microedition.lcdui.Canvas canvas, MenuPainter painter)
          Creates a new menu.
BinaryPageItem(char[] label, javax.microedition.lcdui.Image imageTrue, javax.microedition.lcdui.Image imageFalse, MenuPage subPage)
          Constructor for BinaryPageItem.
BinaryPageItem(char[] label, javax.microedition.lcdui.Image imageTrue, javax.microedition.lcdui.Image imageFalse, MenuPage subPage, ItemAction dispatchAction, int id)
          Constructor for BinaryPageItem.