Class BodyRenderState
java.lang.Object
org.loboevolution.html.renderstate.StyleSheetRenderState
org.loboevolution.html.renderstate.BodyRenderState
- All Implemented Interfaces:
RenderState
BodyRenderState class.
-
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
ConstructorDescriptionBodyRenderState
(RenderState prevRenderState, HTMLElementImpl element) Constructor for BodyRenderState. -
Method Summary
Modifier and TypeMethodDescriptiongetBackgroundInfo.getColor()
getColor.int
getDefaultDisplay.getMarginInsets.Methods inherited from class org.loboevolution.html.renderstate.StyleSheetRenderState
getAlignContent, getAlignItems, getAlignXPercent, getAlignYPercent, getBackgroundColor, getBackgroundImageInfo, getBlankWidth, getBorderInfo, getBottom, getBoxSizing, getClear, getCount, getCssProperties, getCursor, getDisplay, getFlexDirection, getFlexFlow, getFlexWrap, getFloat, getFont, getFontBase, getFontMetrics, getJustifyContent, getLeft, 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
-
BodyRenderState
Constructor for BodyRenderState.
- Parameters:
prevRenderState
- aRenderState
object.element
- aHTMLElementImpl
object.
-
-
Method Details
-
getBackgroundInfo
getBackgroundInfo.
- Specified by:
getBackgroundInfo
in interfaceRenderState
- Overrides:
getBackgroundInfo
in classStyleSheetRenderState
- Returns:
- a
BackgroundInfo
object.
-
getColor
getColor.
- Specified by:
getColor
in interfaceRenderState
- Overrides:
getColor
in classStyleSheetRenderState
- Returns:
- a
Color
object.
-
getMarginInsets
getMarginInsets.
- Specified by:
getMarginInsets
in interfaceRenderState
- Overrides:
getMarginInsets
in classStyleSheetRenderState
- Returns:
- a
HtmlInsets
object.
-
getDefaultDisplay
public int getDefaultDisplay()Description copied from class:StyleSheetRenderState
getDefaultDisplay.
- Specified by:
getDefaultDisplay
in interfaceRenderState
- Overrides:
getDefaultDisplay
in classStyleSheetRenderState
- Returns:
- a
Integer
object.
-