Class BlockRenderState
java.lang.Object
org.loboevolution.html.renderstate.StyleSheetRenderState
org.loboevolution.html.renderstate.BlockRenderState
- All Implemented Interfaces:
RenderState
- Direct Known Subclasses:
AbstractMarginRenderState
,AlignXRenderState
,DDRenderState
,DialogRenderState
,HRRenderState
,LegendRenderState
,PreRenderState
,UListRenderState
Render state for elements that are displayed as blocks by default.
-
Field Summary
Fields inherited from class org.loboevolution.html.renderstate.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.loboevolution.html.renderstate.RenderState
DISPLAY_BLOCK, DISPLAY_FLEX_BOX, DISPLAY_FLEX_CHILD, DISPLAY_INLINE, DISPLAY_INLINE_BLOCK, DISPLAY_INLINE_TABLE, DISPLAY_LIST_ITEM, DISPLAY_NONE, DISPLAY_TABLE, DISPLAY_TABLE_CAPTION, DISPLAY_TABLE_CELL, DISPLAY_TABLE_COLUMN, DISPLAY_TABLE_COLUMN_GROUP, DISPLAY_TABLE_FOOTER_GROUP, DISPLAY_TABLE_HEADER_GROUP, DISPLAY_TABLE_ROW, DISPLAY_TABLE_ROW_GROUP, FLOAT_LEFT, FLOAT_NONE, FLOAT_RIGHT, MASK_TEXTDECORATION_BLINK, MASK_TEXTDECORATION_LINE_THROUGH, MASK_TEXTDECORATION_NONE, 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
ConstructorDescriptionBlockRenderState
(HTMLDocumentImpl document) Constructor for BlockRenderState.BlockRenderState
(RenderState prevRenderState, HTMLElementImpl element) Constructor for BlockRenderState. -
Method Summary
Methods inherited from class org.loboevolution.html.renderstate.StyleSheetRenderState
getAlignContent, getAlignItems, getAlignXPercent, getAlignYPercent, getBackgroundColor, getBackgroundImageInfo, getBackgroundInfo, getBlankWidth, getBorderInfo, getBottom, getBoxSizing, getClear, getColor, getCount, getCssProperties, getCursor, getDisplay, getFlexDirection, getFlexFlow, getFlexWrap, getFloat, getFont, getFontBase, getFontMetrics, getJustifyContent, getLeft, getMarginInsets, getOverflowX, getOverflowY, getOverlayColor, getPaddingInsets, getPosition, getPreviousRenderState, getRight, getTextBackgroundColor, getTextDecorationMask, getTextIndent, getTextIndentText, getTextTransform, getTop, getVerticalAlign, getVisibility, getWhiteSpace, getWordInfo, incrementCount, invalidate, isHighlight, resetCount, setCursor, setHighlight, toString
-
Constructor Details
-
BlockRenderState
Constructor for BlockRenderState.
- Parameters:
document
- aHTMLDocumentImpl
object.
-
BlockRenderState
Constructor for BlockRenderState.
- Parameters:
prevRenderState
- aRenderState
object.element
- aHTMLElementImpl
object.
-
-
Method Details
-
getDefaultDisplay
public int getDefaultDisplay()getDefaultDisplay.
- Specified by:
getDefaultDisplay
in interfaceRenderState
- Overrides:
getDefaultDisplay
in classStyleSheetRenderState
- Returns:
- a
Integer
object.
-