de.betabeans.scroogexhtml.debugging
Interface DebugInterface

All Known Implementing Classes:
DefaultDebugger, EmptyDebugger

public interface DebugInterface

Debug Interface for embedded output

Author:
Michael Justin

Field Summary
static java.lang.String CL_FONT
          Font names are gray.
static java.lang.String CL_INFO
          Additional informations are black.
static java.lang.String CL_PARAM
          Parameter values are blue.
static java.lang.String CL_PARSED
          Parsed RTF code is green.
static java.lang.String CL_UNKNOWN
          Unknown RTF code is red.
static java.lang.String CL_WARN
          Warnings are yellow.
 
Method Summary
 boolean isDebugMode()
          Gets the debugMode attribute of the DebugInterface object.
 void setDebugMode(boolean adebugMode)
          Enable/disable the debug mode.
 void setDocument(Document adocument)
          Sets the document attribute of the DebugInterface object.
 void write(java.lang.String acolor, char adebugChar)
          Write a character to the debugger.
 void write(java.lang.String acolor, java.lang.String adebugText)
          Write a string to the debugger.
 

Field Detail

CL_PARSED

static final java.lang.String CL_PARSED
Parsed RTF code is green.

See Also:
Constant Field Values

CL_UNKNOWN

static final java.lang.String CL_UNKNOWN
Unknown RTF code is red.

See Also:
Constant Field Values

CL_PARAM

static final java.lang.String CL_PARAM
Parameter values are blue.

See Also:
Constant Field Values

CL_INFO

static final java.lang.String CL_INFO
Additional informations are black.

See Also:
Constant Field Values

CL_WARN

static final java.lang.String CL_WARN
Warnings are yellow.

See Also:
Constant Field Values

CL_FONT

static final java.lang.String CL_FONT
Font names are gray.

See Also:
Constant Field Values
Method Detail

setDocument

void setDocument(Document adocument)
Sets the document attribute of the DebugInterface object.

Parameters:
adocument - The new document value

setDebugMode

void setDebugMode(boolean adebugMode)
Enable/disable the debug mode.

Parameters:
adebugMode - The new debugMode value

isDebugMode

boolean isDebugMode()
Gets the debugMode attribute of the DebugInterface object.

Returns:
The debugMode value

write

void write(java.lang.String acolor,
           java.lang.String adebugText)
Write a string to the debugger.

Parameters:
acolor - HTML color code.
adebugText - The message to be written.

write

void write(java.lang.String acolor,
           char adebugChar)
Write a character to the debugger.

Parameters:
acolor - HTML color code.
adebugChar - The character to be written.


Copyright (c) 1998-2006 BetaSoft Michael Justin. All Rights Reserved.