bluegammon.gui
Class BluetoothServerWorkflow
java.lang.Object
bluegammon.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BluetoothServerWorkflow
public BluetoothServerWorkflow()
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.