org.lobobrowser.html.style
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 RenderState
public int getAlignXPercent()
getAlignXPercent
in interface RenderState
public int getAlignYPercent()
getAlignYPercent
in interface RenderState
public int getBlankWidth()
getBlankWidth
in interface RenderState
public java.awt.Color getColor()
getColor
in interface RenderState
public java.awt.Font getFont()
getFont
in interface RenderState
public int getFontBase()
getFontBase
in interface RenderState
public java.awt.FontMetrics getFontMetrics()
getFontMetrics
in interface RenderState
public java.awt.Color getOverlayColor()
getOverlayColor
in interface RenderState
public java.awt.Color getBackgroundColor()
getBackgroundColor
in interface RenderState
public int getTextDecorationMask()
getTextDecorationMask
in interface RenderState
public int getTextTransform()
getTextTransform
in interface RenderState
public org.lobobrowser.html.style.WordInfo getWordInfo(java.lang.String word)
getWordInfo
in interface RenderState
public void invalidate()
invalidate
in interface RenderState
public boolean isHighlight()
isHighlight
in interface RenderState
public void setHighlight(boolean highlight)
setHighlight
in interface RenderState
public int getCount(java.lang.String counter, int nesting)
getCount
in interface RenderState
public void resetCount(java.lang.String counter, int nesting, int value)
resetCount
in interface RenderState
public int incrementCount(java.lang.String counter, int nesting)
incrementCount
in interface RenderState
public BackgroundInfo getBackgroundInfo()
getBackgroundInfo
in interface RenderState
public int getDisplay()
getDisplay
in interface RenderState
public java.awt.Color getTextBackgroundColor()
getTextBackgroundColor
in interface RenderState
public int getTextIndent(int availWidth)
getTextIndent
in interface RenderState
public java.lang.String getTextIndentText()
getTextIndentText
in interface RenderState
public int getWhiteSpace()
getWhiteSpace
in interface RenderState
public HtmlInsets getMarginInsets()
getMarginInsets
in interface RenderState
public HtmlInsets getPaddingInsets()
getPaddingInsets
in interface RenderState
public int getVisibility()
getVisibility
in interface RenderState
public int getPosition()
getPosition
in interface RenderState
public int getFloat()
getFloat
in interface RenderState
public int getOverflowX()
getOverflowX
in interface RenderState
public int getOverflowY()
getOverflowY
in interface RenderState
public BorderInfo getBorderInfo()
getBorderInfo
in interface RenderState