Package org.lobobrowser.html.style
Class BlockRenderState
- java.lang.Object
-
- org.lobobrowser.html.style.StyleSheetRenderState
-
- org.lobobrowser.html.style.BlockRenderState
-
- All Implemented Interfaces:
RenderState
- Direct Known Subclasses:
AbstractMarginRenderState
,PreRenderState
public class BlockRenderState extends StyleSheetRenderState
Render state for elements that are displayed as blocks by default.
-
-
Field Summary
-
Fields inherited from class org.lobobrowser.html.style.StyleSheetRenderState
borderInfo, document, element, iBackgroundInfo, INVALID_BACKGROUND_INFO, INVALID_BORDER_INFO, INVALID_COLOR, INVALID_INSETS, iWhiteSpace, marginInsets, overflowX, overflowY, paddingInsets, prevRenderState
-
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
-
-
Constructor Summary
Constructors Constructor Description BlockRenderState(HTMLDocumentImpl document)
BlockRenderState(RenderState prevRenderState, HTMLElementImpl element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDefaultDisplay()
-
Methods inherited from class org.lobobrowser.html.style.StyleSheetRenderState
getAlignXPercent, getAlignYPercent, getBackgroundColor, getBackgroundInfo, getBlankWidth, getBorderInfo, getColor, getCount, getCssProperties, getDisplay, getFloat, getFont, getFontBase, getFontMetrics, getMarginInsets, getOverflowX, getOverflowY, getOverlayColor, getPaddingInsets, getPosition, getPreviousRenderState, getTextBackgroundColor, getTextDecorationMask, getTextIndent, getTextIndentText, getTextTransform, getVisibility, getWhiteSpace, getWordInfo, incrementCount, invalidate, isHighlight, repaint, resetCount, setHighlight, toString
-
-
-
-
Constructor Detail
-
BlockRenderState
public BlockRenderState(RenderState prevRenderState, HTMLElementImpl element)
-
BlockRenderState
public BlockRenderState(HTMLDocumentImpl document)
-
-
Method Detail
-
getDefaultDisplay
public int getDefaultDisplay()
- Overrides:
getDefaultDisplay
in classStyleSheetRenderState
-
-