|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.ui.swt.progress.ProgressReportMessage
public class ProgressReportMessage
A simple class for a message
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(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()
|
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 |
---|
public ProgressReportMessage(String value, int type)
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
value
- type
- Method Detail |
---|
public String getValue()
getValue
in interface IMessage
public int getType()
getType
in interface IMessage
public boolean isError()
public boolean isInfo()
public boolean isLog()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |