com.realtime.crossfire.jxclient.gui.label
Class InternalHTMLRenderer

java.lang.Object
  extended by javax.swing.text.html.HTMLEditorKit.ParserCallback
      extended by com.realtime.crossfire.jxclient.gui.label.InternalHTMLRenderer

public class InternalHTMLRenderer
extends javax.swing.text.html.HTMLEditorKit.ParserCallback


Field Summary
private  int borderSize
           
private  java.util.Stack<java.awt.Color> colors
           
private  java.util.Stack<java.awt.Font> fonts
           
private  java.awt.Graphics gc
           
private  int origX
           
private  int x
           
private  int y
           
 
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
IMPLIED
 
Constructor Summary
InternalHTMLRenderer(java.awt.Font font, java.awt.Color color, java.awt.Graphics gc, int x, int y, int borderSize)
           
 
Method Summary
 void handleEndTag(javax.swing.text.html.HTML.Tag t, int pos)
           
 void handleSimpleTag(javax.swing.text.html.HTML.Tag t, javax.swing.text.MutableAttributeSet a, int pos)
           
 void handleStartTag(javax.swing.text.html.HTML.Tag t, javax.swing.text.MutableAttributeSet a, int pos)
           
 void handleText(char[] data, int pos)
           
 
Methods inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
flush, handleComment, handleEndOfLineString, handleError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

borderSize

private final int borderSize

colors

@NotNull
private final java.util.Stack<java.awt.Color> colors

fonts

@NotNull
private final java.util.Stack<java.awt.Font> fonts

gc

@NotNull
private final java.awt.Graphics gc

origX

private final int origX

x

private int x

y

private int y
Constructor Detail

InternalHTMLRenderer

public InternalHTMLRenderer(@NotNull
                            java.awt.Font font,
                            @NotNull
                            java.awt.Color color,
                            @NotNull
                            java.awt.Graphics gc,
                            int x,
                            int y,
                            int borderSize)
Method Detail

handleEndTag

public void handleEndTag(@NotNull
                         javax.swing.text.html.HTML.Tag t,
                         int pos)
Overrides:
handleEndTag in class javax.swing.text.html.HTMLEditorKit.ParserCallback

handleSimpleTag

public void handleSimpleTag(@NotNull
                            javax.swing.text.html.HTML.Tag t,
                            @NotNull
                            javax.swing.text.MutableAttributeSet a,
                            int pos)
Overrides:
handleSimpleTag in class javax.swing.text.html.HTMLEditorKit.ParserCallback

handleStartTag

public void handleStartTag(@NotNull
                           javax.swing.text.html.HTML.Tag t,
                           @NotNull
                           javax.swing.text.MutableAttributeSet a,
                           int pos)
Overrides:
handleStartTag in class javax.swing.text.html.HTMLEditorKit.ParserCallback

handleText

public void handleText(@NotNull
                       char[] data,
                       int pos)
Overrides:
handleText in class javax.swing.text.html.HTMLEditorKit.ParserCallback