org.lobobrowser.html.style
Class RenderStateDelegator
java.lang.Object
org.lobobrowser.html.style.RenderStateDelegator
- All Implemented Interfaces:
- RenderState
- Direct Known Subclasses:
- AlignXRenderState, BaseFontRenderState, ColorRenderState, FontNameRenderState, FontStyleRenderState, TextDecorationRenderState
public abstract class RenderStateDelegator
- extends java.lang.Object
- implements RenderState
Fields inherited from interface org.lobobrowser.html.style.RenderState |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected final RenderState delegate
RenderStateDelegator
public RenderStateDelegator(RenderState delegate)
getPreviousRenderState
public RenderState getPreviousRenderState()
- Specified by:
getPreviousRenderState
in interface RenderState
getAlignXPercent
public int getAlignXPercent()
- Specified by:
getAlignXPercent
in interface RenderState
getAlignYPercent
public int getAlignYPercent()
- Specified by:
getAlignYPercent
in interface RenderState
getBlankWidth
public int getBlankWidth()
- Specified by:
getBlankWidth
in interface RenderState
getColor
public java.awt.Color getColor()
- Specified by:
getColor
in interface RenderState
getFont
public java.awt.Font getFont()
- Specified by:
getFont
in interface RenderState
getFontBase
public int getFontBase()
- Specified by:
getFontBase
in interface RenderState
getFontMetrics
public java.awt.FontMetrics getFontMetrics()
- Specified by:
getFontMetrics
in interface RenderState
getOverlayColor
public java.awt.Color getOverlayColor()
- Specified by:
getOverlayColor
in interface RenderState
getBackgroundColor
public java.awt.Color getBackgroundColor()
- Specified by:
getBackgroundColor
in interface RenderState
getTextDecorationMask
public int getTextDecorationMask()
- Specified by:
getTextDecorationMask
in interface RenderState
getTextTransform
public int getTextTransform()
- Specified by:
getTextTransform
in interface RenderState
getWordInfo
public org.lobobrowser.html.style.WordInfo getWordInfo(java.lang.String word)
- Specified by:
getWordInfo
in interface RenderState
invalidate
public void invalidate()
- Specified by:
invalidate
in interface RenderState
isHighlight
public boolean isHighlight()
- Specified by:
isHighlight
in interface RenderState
setHighlight
public void setHighlight(boolean highlight)
- Specified by:
setHighlight
in interface RenderState
getCount
public int getCount(java.lang.String counter,
int nesting)
- Specified by:
getCount
in interface RenderState
resetCount
public void resetCount(java.lang.String counter,
int nesting,
int value)
- Specified by:
resetCount
in interface RenderState
incrementCount
public int incrementCount(java.lang.String counter,
int nesting)
- Specified by:
incrementCount
in interface RenderState
getBackgroundInfo
public BackgroundInfo getBackgroundInfo()
- Specified by:
getBackgroundInfo
in interface RenderState
getDisplay
public int getDisplay()
- Specified by:
getDisplay
in interface RenderState
getTextBackgroundColor
public java.awt.Color getTextBackgroundColor()
- Specified by:
getTextBackgroundColor
in interface RenderState
getTextIndent
public int getTextIndent(int availWidth)
- Specified by:
getTextIndent
in interface RenderState
getTextIndentText
public java.lang.String getTextIndentText()
- Specified by:
getTextIndentText
in interface RenderState
getWhiteSpace
public int getWhiteSpace()
- Specified by:
getWhiteSpace
in interface RenderState
getMarginInsets
public HtmlInsets getMarginInsets()
- Specified by:
getMarginInsets
in interface RenderState
getPaddingInsets
public HtmlInsets getPaddingInsets()
- Specified by:
getPaddingInsets
in interface RenderState
getVisibility
public int getVisibility()
- Specified by:
getVisibility
in interface RenderState
getPosition
public int getPosition()
- Specified by:
getPosition
in interface RenderState
getFloat
public int getFloat()
- Specified by:
getFloat
in interface RenderState
getOverflowX
public int getOverflowX()
- Specified by:
getOverflowX
in interface RenderState
getOverflowY
public int getOverflowY()
- Specified by:
getOverflowY
in interface RenderState
getBorderInfo
public BorderInfo getBorderInfo()
- Specified by:
getBorderInfo
in interface RenderState