ConForM.CoopnTools.CoKer.CodeVisual
Class HtmlFormat
java.lang.Object
|
+--ConForM.CoopnTools.CoKer.CodeVisual.Format
|
+--ConForM.CoopnTools.CoKer.CodeVisual.HtmlFormat
- public class HtmlFormat
- extends Format
This class implements the formatting in HTML format for CodeViewer.
Fields inherited from class ConForM.CoopnTools.CoKer.CodeVisual.Format |
ANSI, colnum, contextMode, conversions, conversionsLength, defaultFontSize, defaultTabSize, env, fontsize, formatNames, FORMATNUMBER, HTML, LATEX, MIF, out, PLAIN, tabMode, tabsize |
Method Summary |
protected void |
resetColor()
Reset the current color to normal. |
protected void |
setColor(java.awt.Color color)
Set the current color to the parameter color. |
protected void |
writeContext(java.lang.String title)
What to write if context mode is on, at start |
protected void |
writeEndContext()
In context mode written at the end |
protected void |
writeEndText()
What to write after writing actual text |
protected void |
writeStartText()
What to write before writing actual text |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writeContext
protected void writeContext(java.lang.String title)
- What to write if context mode is on, at start
- Overrides:
writeContext
in class Format
writeEndContext
protected void writeEndContext()
- In context mode written at the end
- Overrides:
writeEndContext
in class Format
writeStartText
protected void writeStartText()
- What to write before writing actual text
- Overrides:
writeStartText
in class Format
writeEndText
protected void writeEndText()
- What to write after writing actual text
- Overrides:
writeEndText
in class Format
setColor
protected void setColor(java.awt.Color color)
- Set the current color to the parameter color.
- Overrides:
setColor
in class Format
resetColor
protected void resetColor()
- Reset the current color to normal.
- Overrides:
resetColor
in class Format