org.openbandy.pref
Class PreferencesForm
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Form
org.openbandy.pref.PreferencesForm
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener, BandyDisplayable
public class PreferencesForm
- extends javax.microedition.lcdui.Form
- implements BandyDisplayable, javax.microedition.lcdui.CommandListener
This screen displays all stored preferences that are set to be screen
modifiable. For each stored preference, a (editable) text field is added to
the the form.
(c) Copyright Philipp Bolliger 2008, ALL RIGHTS RESERVED.
- Version:
- 1.0
- Author:
- Philipp Bolliger (philipp@bolliger.name)
- See Also:
Preferences
,
Preference
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
|
void |
show(javax.microedition.lcdui.Display display,
javax.microedition.lcdui.Displayable previousDisplayable)
Tells the BandyDisplayable to set itself as the current screen. |
Methods inherited from class javax.microedition.lcdui.Form |
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size |
Methods inherited from class javax.microedition.lcdui.Displayable |
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreferencesForm
public PreferencesForm()
- Create a new PreferencesForm
show
public void show(javax.microedition.lcdui.Display display,
javax.microedition.lcdui.Displayable previousDisplayable)
- Description copied from interface:
BandyDisplayable
- Tells the BandyDisplayable to set itself as the current screen.
- Specified by:
show
in interface BandyDisplayable
- Parameters:
display
- The MIDlets displaypreviousDisplayable
- The displayable that is shown before this one
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
- Specified by:
commandAction
in interface javax.microedition.lcdui.CommandListener