cad.simcad.dummies
Class DumSimViewer

java.lang.Object
  |
  +--cad.simcad.dummies.DumSimViewer
All Implemented Interfaces:
java.io.Serializable, SimViewer, UserInterface

public class DumSimViewer
extends java.lang.Object
implements SimViewer, java.io.Serializable

Author:
Administrator
See Also:
Serialized Form

Constructor Summary
DumSimViewer()
          Creates a new instance of DumSimViewer
 
Method Summary
 java.lang.String askString(java.lang.String prompt, boolean ispass)
          Prompts the user for a single string (hidden if ispass is true)
 java.lang.String[] askStrings(java.lang.String[] prompts, boolean[] ispass)
          Get several strings from user.
 void debug(java.lang.String msg, int lvl)
           
 void setDebugLevel(int i)
           
 void shwErrMsg(java.lang.String n)
          Error message.
 void shwMsg(java.lang.String n)
          Notification message.
 void updateView()
          The Viewer updates the view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumSimViewer

public DumSimViewer()
Creates a new instance of DumSimViewer

Method Detail

askString

public java.lang.String askString(java.lang.String prompt,
                                  boolean ispass)
Prompts the user for a single string (hidden if ispass is true)

Specified by:
askString in interface UserInterface

askStrings

public java.lang.String[] askStrings(java.lang.String[] prompts,
                                     boolean[] ispass)
Get several strings from user. If the ispass array is null, assume all strings are to be echoed normally.

Specified by:
askStrings in interface UserInterface

debug

public void debug(java.lang.String msg,
                  int lvl)
Specified by:
debug in interface UserInterface

shwErrMsg

public void shwErrMsg(java.lang.String n)
Error message.

Specified by:
shwErrMsg in interface UserInterface
Parameters:
n - Show Error Message n

shwMsg

public void shwMsg(java.lang.String n)
Notification message. There may be many of these, so dont use modal dialogs.

Specified by:
shwMsg in interface UserInterface
Parameters:
n - message

updateView

public void updateView()
Description copied from interface: SimViewer
The Viewer updates the view

Specified by:
updateView in interface SimViewer

setDebugLevel

public void setDebugLevel(int i)
Specified by:
setDebugLevel in interface UserInterface

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be