com.unitesk.atp.messages
Class ListMessageBox

java.lang.Object
  extended by com.unitesk.atp.messages.NullMessageBox
      extended by com.unitesk.atp.messages.ListMessageBox
All Implemented Interfaces:
MessageBox

public class ListMessageBox
extends NullMessageBox

Alexey Demakov

Version:
$Id: ListMessageBox.java,v 1.3 2005/11/10 21:03:04 all-x Exp $

Field Summary
protected  List errorMessageList
           
protected  List errorStringList
           
protected  List infoMessageList
           
protected  List infoStringList
           
protected  List warningMessageList
           
protected  List warningStringList
           
 
Fields inherited from class com.unitesk.atp.messages.NullMessageBox
context, sm
 
Constructor Summary
ListMessageBox()
           
ListMessageBox(MessageStringManager sm)
           
 
Method Summary
 void error(Message message)
          Outputs error message.
protected  void errorStr(String message)
           
 Message getError(int i)
           
 String getErrorString(int i)
           
 Message getInfo(int i)
           
 String getInfoString(int i)
           
 Message getWarning(int i)
           
 String getWarningString(int i)
           
 void info(Message message)
          TODO: make deprecated Outputs information message.
 void info(String message)
          Outputs information line.
protected  void infoStr(String message)
           
 void warning(Message message)
          Outputs warning message.
protected  void warningStr(String message)
           
 
Methods inherited from class com.unitesk.atp.messages.NullMessageBox
fatal, getErrorCount, getInfoCount, getStringManager, getWarningCount, statistics, status, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorMessageList

protected List errorMessageList

warningMessageList

protected List warningMessageList

infoMessageList

protected List infoMessageList

errorStringList

protected List errorStringList

warningStringList

protected List warningStringList

infoStringList

protected List infoStringList
Constructor Detail

ListMessageBox

public ListMessageBox()

ListMessageBox

public ListMessageBox(MessageStringManager sm)
Method Detail

error

public void error(Message message)
Description copied from class: NullMessageBox
Outputs error message. Increments error counter.

Specified by:
error in interface MessageBox
Overrides:
error in class NullMessageBox
Parameters:
message - The error message.

warning

public void warning(Message message)
Description copied from class: NullMessageBox
Outputs warning message. Increments warning counter.

Specified by:
warning in interface MessageBox
Overrides:
warning in class NullMessageBox
Parameters:
message - The warning message.

errorStr

protected void errorStr(String message)
Overrides:
errorStr in class NullMessageBox

warningStr

protected void warningStr(String message)
Overrides:
warningStr in class NullMessageBox

infoStr

protected void infoStr(String message)
Overrides:
infoStr in class NullMessageBox

info

public void info(Message message)
Description copied from class: NullMessageBox
TODO: make deprecated Outputs information message. Increments information counter.

Specified by:
info in interface MessageBox
Overrides:
info in class NullMessageBox
Parameters:
message - The information message.

info

public void info(String message)
Description copied from class: NullMessageBox
Outputs information line. Increments information counter.

Specified by:
info in interface MessageBox
Overrides:
info in class NullMessageBox
Parameters:
message - The information message.

getError

public Message getError(int i)

getErrorString

public String getErrorString(int i)

getWarning

public Message getWarning(int i)

getWarningString

public String getWarningString(int i)

getInfo

public Message getInfo(int i)

getInfoString

public String getInfoString(int i)


Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.