org.openbandy.log
Class SelectLogLevelForm

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.List
              extended by org.openbandy.log.SelectLogLevelForm
All Implemented Interfaces:
javax.microedition.lcdui.Choice, javax.microedition.lcdui.CommandListener, BandyDisplayable

public class SelectLogLevelForm
extends javax.microedition.lcdui.List
implements BandyDisplayable, javax.microedition.lcdui.CommandListener

This form is used to set the level of logging (i.e. which kind of log messages are logged).

(c) Copyright P. Bolliger 2007, ALL RIGHTS RESERVED.

Version:
1.0
Author:
Philipp Bolliger (philipp@bolliger.name)

Field Summary
 
Fields inherited from class javax.microedition.lcdui.List
SELECT_COMMAND
 
Fields inherited from interface javax.microedition.lcdui.Choice
EXCLUSIVE, IMPLICIT, MULTIPLE, POPUP, TEXT_WRAP_DEFAULT, TEXT_WRAP_OFF, TEXT_WRAP_ON
 
Constructor Summary
SelectLogLevelForm()
          Create a new select log level form
 
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.List
append, delete, deleteAll, getFitPolicy, getFont, getImage, getSelectedFlags, getSelectedIndex, getString, getTicker, insert, isSelected, removeCommand, set, setFitPolicy, setFont, setSelectCommand, setSelectedFlags, setSelectedIndex, setTicker, setTitle, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getHeight, getTitle, getWidth, isShown, setCommandListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectLogLevelForm

public SelectLogLevelForm()
Create a new select log level form

Method Detail

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 display
previousDisplayable - 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