sam.ui.basic
Class UserInterface

java.lang.Object
  |
  +--sam.ui.UserInterface
        |
        +--sam.ui.basic.UserInterface

public class UserInterface
extends UserInterface

Pluggable basic user interface This interface allows no interaction with the user at all: any missing or misspecified parameter leads to fatal error.


Nested Class Summary
 
Nested classes inherited from class sam.ui.UserInterface
UserInterface.Abort
 
Field Summary
 
Fields inherited from class sam.ui.UserInterface
REGISTRY
 
Constructor Summary
UserInterface()
          Builds a new basic user interface.
UserInterface(java.io.OutputStream output)
          Builds a new basic user interface.
UserInterface(java.io.PrintWriter output)
          Builds a new basic user interface.
 
Method Summary
 sam.ui.ErrorInterface error()
           
 sam.ui.LogInterface log()
           
 sam.ui.RulingInterface ruling()
           
 sam.ui.RunningInterface running()
           
 
Methods inherited from class sam.ui.UserInterface
disposeFrames, get, getKnwonInterfaces, isSet, main, register, set, setBest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInterface

public UserInterface()
Builds a new basic user interface. Messages are printed onto standard output (which is not the standard error output)

See Also:
System.out

UserInterface

public UserInterface(java.io.OutputStream output)
Builds a new basic user interface. Messages are printed onto specified output.

Parameters:
output - the desired OutputStream where messages shall be printed

UserInterface

public UserInterface(java.io.PrintWriter output)
Builds a new basic user interface. Messages are printed onto specified output.

Parameters:
output - the desired PrintWriter where messages shall be printed
Method Detail

ruling

public final sam.ui.RulingInterface ruling()
Specified by:
ruling in class UserInterface
Returns:
the RulingInterface associated with this UserInterface

running

public final sam.ui.RunningInterface running()
Specified by:
running in class UserInterface
Returns:
the RunningInterface associated with this UserInterface

error

public final sam.ui.ErrorInterface error()
Specified by:
error in class UserInterface
Returns:
the ErrorInterface associated with this UserInterface

log

public sam.ui.LogInterface log()
Specified by:
log in class UserInterface
Returns:
the LogInterface associated with this UserInterface