public class DefaultScriptLogger extends java.lang.Object implements ScriptLogger
Constructor and Description |
---|
DefaultScriptLogger() |
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.String txt)
Append a line of text in the message area, with a default color.
|
void |
append(java.lang.String txt,
java.lang.String htmlColor)
Append a line of text in the message area, with a specific color.
|
void |
appendError(java.lang.String txt)
Append a line of text in the message area, colored in red (for errors).
|
void |
appendLink(java.lang.String txt,
java.lang.String linkID)
Append a hyperlinked line of text in the message area, with a default color.
|
void |
appendLink(java.lang.String txt,
java.lang.String linkID,
java.lang.String htmlColor)
Append a hyperlinked line of text in the message area, with a specific color.
|
void |
appendLinks(java.lang.String txt,
java.util.List<java.lang.String> linkIDs,
java.lang.String htmlColor)
Append a hyperlinked line of text in the message area, with a specified color.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptNullObjectLinks, appendArrayLinks, appendColorArrayLinks, appendError, appendLinks, appendObjectLink, appendObjectLink, appendObjectLinks, appendObjectLinks, appendObjectLinks, appendObjectLinks, appendStackTrace, clear, clearTab, finishedScript, registerHyperLinkListener, registerLinkIndexConverter, setProgress, setTab
public void append(java.lang.String txt)
append
in interface ScriptLogger
txt
- the textpublic void append(java.lang.String txt, java.lang.String htmlColor)
append
in interface ScriptLogger
txt
- the texthtmlColor
- the HTML color to use for the textpublic void appendLink(java.lang.String txt, java.lang.String linkID)
appendLink
in interface ScriptLogger
txt
- the textlinkID
- the hyperlink IDpublic void appendLink(java.lang.String txt, java.lang.String linkID, java.lang.String htmlColor)
appendLink
in interface ScriptLogger
txt
- the textlinkID
- the hyperlink IDhtmlColor
- the HTML color to use for the textpublic void appendLinks(java.lang.String txt, java.util.List<java.lang.String> linkIDs, java.lang.String htmlColor)
appendLinks
in interface ScriptLogger
txt
- the textlinkIDs
- the hyperlinks IDshtmlColor
- the colorpublic void appendError(java.lang.String txt)
appendError
in interface ScriptLogger
txt
- the textCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence