org.gudy.azureus2.ui.swt.progress
Class ProgressReportMessage

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.progress.ProgressReportMessage
All Implemented Interfaces:
IMessage, IProgressReportConstants

public class ProgressReportMessage
extends java.lang.Object
implements IMessage, IProgressReportConstants

A simple class for a message

Author:
knguyen

Field Summary
 
Fields inherited from interface org.gudy.azureus2.ui.swt.progress.IProgressReportConstants
AUTO_CLOSE, BORDER, MANAGER_EVENT_ADDED, MANAGER_EVENT_REMOVED, MANAGER_EVENT_UPDATED, MODAL, MSG_TYPE_ERROR, MSG_TYPE_INFO, MSG_TYPE_LOG, NONE, REPORT_TYPE_CANCEL, REPORT_TYPE_DISPOSED, REPORT_TYPE_DONE, REPORT_TYPE_ERROR, REPORT_TYPE_INIT, REPORT_TYPE_MODE_CHANGE, REPORT_TYPE_PROPERTY_CHANGED, REPORT_TYPE_RETRY, REPORTER_TYPE_DEFAULT, REPORTER_VISIBILITY_SYSTEM, REPORTER_VISIBILITY_USER, RETVAL_OK, RETVAL_OK_TO_DISPOSE, SHOW_TOOLBAR, STANDALONE
 
Constructor Summary
ProgressReportMessage(java.lang.String value, int type)
          Create a message for the given value and type; message type can by any one of: IProgressReportConstants.MSG_TYPE_ERROR -- an error message IProgressReportConstants.MSG_TYPE_INFO -- a general informational message IProgressReportConstants.MSG_TYPE_LOG -- a log message; for messages that are more detailed and verbose
 
Method Summary
 int getType()
           
 java.lang.String getValue()
           
 boolean isError()
           
 boolean isInfo()
           
 boolean isLog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressReportMessage

public ProgressReportMessage(java.lang.String value,
                             int type)
Create a message for the given value and type; message type can by any one of:

Parameters:
value -
type -
Method Detail

getValue

public java.lang.String getValue()
Specified by:
getValue in interface IMessage

getType

public int getType()
Specified by:
getType in interface IMessage

isError

public boolean isError()

isInfo

public boolean isInfo()

isLog

public boolean isLog()