de.enough.polish.predictive.trie
Class TrieSetup

java.lang.Object
  extended by de.enough.polish.predictive.trie.TrieSetup
All Implemented Interfaces:
CommandListener, Runnable

public class TrieSetup
extends Object
implements Runnable, CommandListener


Field Summary
protected  Command cancelCommand
           
protected  Command exitCommand
           
protected  Command noCommand
           
protected  Command yesCommand
           
 
Constructor Summary
TrieSetup(PredictiveAccess access)
           
 
Method Summary
 void commandAction(Command cmd, Displayable disp)
          Indicates that a command event has occurred on Displayable d.
 Form getSetupForm()
           
 DataInputStream getStream()
           
 void initForm()
           
 void install()
           
 void pause()
           
 void registerListener(TrieSetupCallback listener)
           
 void run()
           
 void runCallback(boolean finishedGraceful)
           
 void showInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exitCommand

protected Command exitCommand

cancelCommand

protected Command cancelCommand

yesCommand

protected Command yesCommand

noCommand

protected Command noCommand
Constructor Detail

TrieSetup

public TrieSetup(PredictiveAccess access)
Method Detail

initForm

public void initForm()

getStream

public DataInputStream getStream()

pause

public void pause()

registerListener

public void registerListener(TrieSetupCallback listener)

runCallback

public void runCallback(boolean finishedGraceful)

run

public void run()
Specified by:
run in interface Runnable

getSetupForm

public Form getSetupForm()

showInfo

public void showInfo()

commandAction

public void commandAction(Command cmd,
                          Displayable disp)
Description copied from interface: CommandListener
Indicates that a command event has occurred on Displayable d.

Specified by:
commandAction in interface CommandListener
Parameters:
cmd - - a Command object identifying the command. This is either one of the applications have been added to Displayable with addCommand(Command) or is the implicit SELECT_COMMAND of List.
disp - - the Displayable on which this event has occurred

install

public void install()