|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xj3d.ui.swt.widgets.MessageBuffer
public class MessageBuffer
A buffer for holding messages and a runnable instance for flushing the messages to the console Text widgets on the display thread.
| Constructor Summary | |
|---|---|
MessageBuffer()
Constructor |
|
| Method Summary | |
|---|---|
void |
append(java.lang.String message)
Append the argument message to the buffer |
void |
clear()
Clear the buffer |
void |
error(VRMLException vpe)
Notification of a recoverable error in the parsing. |
void |
errorReport(java.lang.String msg,
java.lang.Exception e)
Notification of a recoverable error. |
void |
fatalError(VRMLException vpe)
Notification of a non-recoverable error. |
void |
fatalErrorReport(java.lang.String msg,
java.lang.Exception e)
Notification of a non-recoverable error that halts the entire system. |
void |
messageReport(java.lang.String msg)
Notification of an informational message from the system. |
void |
partialReport(java.lang.String msg)
Notification of an partial message from the system. |
void |
redirectSystemMessages()
Redirect system messages to the console. |
void |
run()
Called on the display thread to flush the buffered messages to the text widget |
void |
setDocumentLocator(Locator loc)
Set the document locator that can be used by the implementing code to find out information about the current line information. |
void |
setTextWidget(org.eclipse.swt.widgets.Text text)
Set the text widget to use for displaying the messages. |
void |
warning(VRMLException vpe)
Notification of a warning in the way the code has been handled. |
void |
warningReport(java.lang.String msg,
java.lang.Exception e)
Notification of a warning in the way the system is currently operating. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageBuffer()
| Method Detail |
|---|
public void setDocumentLocator(Locator loc)
startDocument() has
been called, you can assume that you will not have one available.
setDocumentLocator in interface ErrorHandlerloc - The locator instance to use
public void warning(VRMLException vpe)
throws VRMLException
vpe - The exception that caused this warning
VRMLException - Create a further warning condition
public void error(VRMLException vpe)
throws VRMLException
vpe - The exception that caused this warning
VRMLException - Create a further warning condition
public void fatalError(VRMLException vpe)
throws VRMLException
vpe - The exception that caused this warning
VRMLException - Create a further warning conditionpublic void partialReport(java.lang.String msg)
msg - The text of the message to be displayedpublic void messageReport(java.lang.String msg)
messageReport in interface org.j3d.util.ErrorReportermsg - The text of the message to be displayed
public void warningReport(java.lang.String msg,
java.lang.Exception e)
warningReport in interface org.j3d.util.ErrorReportermsg - The text of the message to be displayede - The exception that caused this warning. May be null
public void errorReport(java.lang.String msg,
java.lang.Exception e)
errorReport in interface org.j3d.util.ErrorReportermsg - The text of the message to be displayede - The exception that caused this warning. May be null
public void fatalErrorReport(java.lang.String msg,
java.lang.Exception e)
fatalErrorReport in interface org.j3d.util.ErrorReportermsg - The text of the message to be displayede - The exception that caused this warning. May be nullpublic void run()
run in interface java.lang.Runnablepublic void append(java.lang.String message)
message - - The messagepublic void clear()
public void setTextWidget(org.eclipse.swt.widgets.Text text)
text - - The Text widget displaying the messagespublic void redirectSystemMessages()
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||