| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.demokritos.iit.jinsect.console.StatusConsole
public class StatusConsole
This class describes object that can display status (IStatusDisplayer subclass)
 and directs the output to the console (stderr).
| Field Summary | |
|---|---|
protected  java.lang.String | 
LabelText
 | 
protected  int | 
Width
 | 
| Constructor Summary | |
|---|---|
StatusConsole(int iWidth)
Creates a new instance of StatusConsole  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getStatusText()
Should return the text part of the status.  | 
 boolean | 
getVisible()
Should indicate whether the status is displayed or not.  | 
 void | 
setStatus(java.lang.String sText,
          double dValue)
Should set the status and the value as an indication of progress.  | 
 void | 
setVisible(boolean bShow)
Enables or disables the output of messages.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.lang.String LabelText
protected int Width
| Constructor Detail | 
|---|
public StatusConsole(int iWidth)
| Method Detail | 
|---|
public void setStatus(java.lang.String sText,
                      double dValue)
IStatusDisplayer
setStatus in interface IStatusDisplayerpublic void setVisible(boolean bShow)
setVisible in interface IStatusDisplayerbShow - If true enables output, else disables it.public boolean getVisible()
IStatusDisplayer
getVisible in interface IStatusDisplayerpublic java.lang.String getStatusText()
IStatusDisplayer
getStatusText in interface IStatusDisplayer
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||