|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.teamdev.jxbrowser.console.ConsoleService
public abstract class ConsoleService
Interface to Mozilla console service.
ConsoleListener
,
MessageEvent
Constructor Summary | |
---|---|
ConsoleService()
|
Method Summary | |
---|---|
static ConsoleService |
getConsoleService()
Returns a singleton instance of Mozilla console service. |
abstract java.util.List<java.lang.String> |
getMessageList()
Returns list of all console massages logged so far. |
abstract void |
logMessage(java.lang.String message)
Convenience method for producing simple messages. |
abstract void |
registerConsoleListener(ConsoleListener listener)
Register a console listener. |
abstract void |
unregisterConsoleListener(ConsoleListener listener)
Unregister the console listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleService()
Method Detail |
---|
public abstract java.util.List<java.lang.String> getMessageList()
public abstract void logMessage(java.lang.String message)
message
- message textpublic abstract void registerConsoleListener(ConsoleListener listener)
From Mozilla Documentation: To guard against stack overflows from listeners that could log messages (it's easy to do this inadvertently from listeners implemented in JavaScript), we don't call any listeners when another error is already being logged.
public abstract void unregisterConsoleListener(ConsoleListener listener)
public static ConsoleService getConsoleService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |