Package com.biglybt.ui.swt.progress
Class ProgressReportMessage
- java.lang.Object
-
- com.biglybt.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
-
-
Field Summary
Fields Modifier and Type Field Description private int
type
private java.lang.String
value
-
Fields inherited from interface com.biglybt.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
Constructors Constructor Description 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 messageIProgressReportConstants.MSG_TYPE_INFO
-- a general informational messageIProgressReportConstants.MSG_TYPE_LOG
-- a log message; for messages that are more detailed and verbose
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getType()
java.lang.String
getValue()
boolean
isError()
boolean
isInfo()
boolean
isLog()
-
-
-
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:-
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
- Parameters:
value
-type
-
-
-
-