NASA World Wind

gov.nasa.worldwind.render
Class MultiLineTextRenderer.DrawState

java.lang.Object
  extended by gov.nasa.worldwind.render.MultiLineTextRenderer.DrawState
Enclosing class:
MultiLineTextRenderer

protected class MultiLineTextRenderer.DrawState
extends Object


Nested Class Summary
protected  class MultiLineTextRenderer.DrawState.DrawAttributes
           
 
Field Summary
protected  TextRendererCache renderers
           
protected  Pattern SGMLPattern
           
protected  ArrayList<MultiLineTextRenderer.DrawState.DrawAttributes> stack
           
 TextRenderer textRenderer
           
 
Constructor Summary
MultiLineTextRenderer.DrawState(MultiLineTextRenderer.DrawState ds)
           
MultiLineTextRenderer.DrawState(TextRendererCache renderers, Font font, String hyperlink, Color color)
           
 
Method Summary
protected  Color applyTextAlpha(Color color)
           
 MultiLineTextRenderer.DrawState.DrawAttributes getDrawAttributes()
           
protected  Font getFont(Font font, boolean isBold, boolean isItalic)
           
protected  TextRenderer getTextRenderer(Font font)
           
protected  void pop()
           
protected  void push(MultiLineTextRenderer.DrawState.DrawAttributes da)
           
 void updateFromHTMLTag(String tag, boolean startStopRendering)
           
 void updateFromHTMLText(String text, boolean startStopRendering)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderers

protected TextRendererCache renderers

SGMLPattern

protected Pattern SGMLPattern

stack

protected ArrayList<MultiLineTextRenderer.DrawState.DrawAttributes> stack

textRenderer

public TextRenderer textRenderer
Constructor Detail

MultiLineTextRenderer.DrawState

public MultiLineTextRenderer.DrawState(MultiLineTextRenderer.DrawState ds)

MultiLineTextRenderer.DrawState

public MultiLineTextRenderer.DrawState(TextRendererCache renderers,
                                       Font font,
                                       String hyperlink,
                                       Color color)
Method Detail

applyTextAlpha

protected Color applyTextAlpha(Color color)

getDrawAttributes

public MultiLineTextRenderer.DrawState.DrawAttributes getDrawAttributes()

getFont

protected Font getFont(Font font,
                       boolean isBold,
                       boolean isItalic)

getTextRenderer

protected TextRenderer getTextRenderer(Font font)

pop

protected void pop()

push

protected void push(MultiLineTextRenderer.DrawState.DrawAttributes da)

updateFromHTMLTag

public void updateFromHTMLTag(String tag,
                              boolean startStopRendering)

updateFromHTMLText

public void updateFromHTMLText(String text,
                               boolean startStopRendering)

NASA World Wind