protected class MultiLineTextRenderer.DrawState extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
MultiLineTextRenderer.DrawState.DrawAttributes |
Modifier and Type | Field and Description |
---|---|
protected TextRendererCache |
renderers |
protected Pattern |
SGMLPattern |
protected ArrayList<MultiLineTextRenderer.DrawState.DrawAttributes> |
stack |
TextRenderer |
textRenderer |
Constructor and Description |
---|
DrawState(MultiLineTextRenderer.DrawState ds) |
DrawState(TextRendererCache renderers,
Font font,
String hyperlink,
Color color) |
Modifier and Type | Method and Description |
---|---|
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) |
protected TextRendererCache renderers
protected Pattern SGMLPattern
protected ArrayList<MultiLineTextRenderer.DrawState.DrawAttributes> stack
public TextRenderer textRenderer
public DrawState(MultiLineTextRenderer.DrawState ds)
public DrawState(TextRendererCache renderers, Font font, String hyperlink, Color color)
public MultiLineTextRenderer.DrawState.DrawAttributes getDrawAttributes()
protected TextRenderer getTextRenderer(Font font)
protected void pop()
protected void push(MultiLineTextRenderer.DrawState.DrawAttributes da)
public void updateFromHTMLTag(String tag, boolean startStopRendering)
public void updateFromHTMLText(String text, boolean startStopRendering)