bluegammon.gui
Class BluetoothServerWorkflow

java.lang.Object
  extended bybluegammon.gui.BluetoothServerWorkflow
All Implemented Interfaces:
ItemAction, PopupListener

public class BluetoothServerWorkflow
extends java.lang.Object
implements PopupListener, ItemAction

Handles the different steps of setting up a server and awaiting a client.

Author:
Peter Andersson

Constructor Summary
BluetoothServerWorkflow()
           
 
Method Summary
 void itemAction(MenuPage page, PageItem item)
          Called when user sets up a server.
 void selectedChoice(byte choice, boolean timeOut)
          Called when user cancels a server setup.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BluetoothServerWorkflow

public BluetoothServerWorkflow()
Method Detail

itemAction

public void itemAction(MenuPage page,
                       PageItem item)
Called when user sets up a server.

Specified by:
itemAction in interface ItemAction
Parameters:
page - The page this action is called from.
item - The item this action is called from.

selectedChoice

public void selectedChoice(byte choice,
                           boolean timeOut)
Called when user cancels a server setup.

Specified by:
selectedChoice in interface PopupListener
Parameters:
choice - The index of the alternatives that were chosen.
timeOut - True if the choice was made because of a time out.