public abstract class RenderStateDelegator extends java.lang.Object implements RenderState
| Modifier and Type | Field and Description |
|---|---|
protected RenderState |
delegate |
DISPLAY_BLOCK, DISPLAY_INLINE, DISPLAY_LIST_ITEM, DISPLAY_NONE, DISPLAY_TABLE, DISPLAY_TABLE_CELL, DISPLAY_TABLE_ROW, FLOAT_LEFT, FLOAT_NONE, FLOAT_RIGHT, MASK_TEXTDECORATION_BLINK, MASK_TEXTDECORATION_LINE_THROUGH, MASK_TEXTDECORATION_OVERLINE, MASK_TEXTDECORATION_UNDERLINE, OVERFLOW_AUTO, OVERFLOW_HIDDEN, OVERFLOW_NONE, OVERFLOW_SCROLL, OVERFLOW_VISIBLE, POSITION_ABSOLUTE, POSITION_FIXED, POSITION_RELATIVE, POSITION_STATIC, TEXTTRANSFORM_CAPITALIZE, TEXTTRANSFORM_LOWERCASE, TEXTTRANSFORM_NONE, TEXTTRANSFORM_UPPERCASE, VISIBILITY_COLLAPSE, VISIBILITY_HIDDEN, VISIBILITY_VISIBLE, WS_NORMAL, WS_NOWRAP, WS_PRE| Constructor and Description |
|---|
RenderStateDelegator(RenderState delegate) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlignXPercent() |
int |
getAlignYPercent() |
java.awt.Color |
getBackgroundColor() |
BackgroundInfo |
getBackgroundInfo() |
int |
getBlankWidth() |
BorderInfo |
getBorderInfo() |
java.awt.Color |
getColor() |
int |
getCount(java.lang.String counter,
int nesting) |
int |
getDisplay() |
int |
getFloat() |
java.awt.Font |
getFont() |
int |
getFontBase() |
java.awt.FontMetrics |
getFontMetrics() |
HtmlInsets |
getMarginInsets() |
int |
getOverflowX() |
int |
getOverflowY() |
java.awt.Color |
getOverlayColor() |
HtmlInsets |
getPaddingInsets() |
int |
getPosition() |
RenderState |
getPreviousRenderState() |
java.awt.Color |
getTextBackgroundColor() |
int |
getTextDecorationMask() |
int |
getTextIndent(int availWidth) |
java.lang.String |
getTextIndentText() |
int |
getTextTransform() |
int |
getVisibility() |
int |
getWhiteSpace() |
org.lobobrowser.html.style.WordInfo |
getWordInfo(java.lang.String word) |
int |
incrementCount(java.lang.String counter,
int nesting) |
void |
invalidate() |
boolean |
isHighlight() |
void |
resetCount(java.lang.String counter,
int nesting,
int value) |
void |
setHighlight(boolean highlight) |
protected final RenderState delegate
public RenderStateDelegator(RenderState delegate)
public RenderState getPreviousRenderState()
getPreviousRenderState in interface RenderStatepublic int getAlignXPercent()
getAlignXPercent in interface RenderStatepublic int getAlignYPercent()
getAlignYPercent in interface RenderStatepublic int getBlankWidth()
getBlankWidth in interface RenderStatepublic java.awt.Color getColor()
getColor in interface RenderStatepublic java.awt.Font getFont()
getFont in interface RenderStatepublic int getFontBase()
getFontBase in interface RenderStatepublic java.awt.FontMetrics getFontMetrics()
getFontMetrics in interface RenderStatepublic java.awt.Color getOverlayColor()
getOverlayColor in interface RenderStatepublic java.awt.Color getBackgroundColor()
getBackgroundColor in interface RenderStatepublic int getTextDecorationMask()
getTextDecorationMask in interface RenderStatepublic int getTextTransform()
getTextTransform in interface RenderStatepublic org.lobobrowser.html.style.WordInfo getWordInfo(java.lang.String word)
getWordInfo in interface RenderStatepublic void invalidate()
invalidate in interface RenderStatepublic boolean isHighlight()
isHighlight in interface RenderStatepublic void setHighlight(boolean highlight)
setHighlight in interface RenderStatepublic int getCount(java.lang.String counter,
int nesting)
getCount in interface RenderStatepublic void resetCount(java.lang.String counter,
int nesting,
int value)
resetCount in interface RenderStatepublic int incrementCount(java.lang.String counter,
int nesting)
incrementCount in interface RenderStatepublic BackgroundInfo getBackgroundInfo()
getBackgroundInfo in interface RenderStatepublic int getDisplay()
getDisplay in interface RenderStatepublic java.awt.Color getTextBackgroundColor()
getTextBackgroundColor in interface RenderStatepublic int getTextIndent(int availWidth)
getTextIndent in interface RenderStatepublic java.lang.String getTextIndentText()
getTextIndentText in interface RenderStatepublic int getWhiteSpace()
getWhiteSpace in interface RenderStatepublic HtmlInsets getMarginInsets()
getMarginInsets in interface RenderStatepublic HtmlInsets getPaddingInsets()
getPaddingInsets in interface RenderStatepublic int getVisibility()
getVisibility in interface RenderStatepublic int getPosition()
getPosition in interface RenderStatepublic int getFloat()
getFloat in interface RenderStatepublic int getOverflowX()
getOverflowX in interface RenderStatepublic int getOverflowY()
getOverflowY in interface RenderStatepublic BorderInfo getBorderInfo()
getBorderInfo in interface RenderState