Class HRRenderState
java.lang.Object
org.loboevolution.html.renderstate.StyleSheetRenderState
org.loboevolution.html.renderstate.BlockRenderState
org.loboevolution.html.renderstate.HRRenderState
- All Implemented Interfaces:
RenderState
-
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
ConstructorDescriptionHRRenderState
(RenderState prevRenderState, HTMLElementImpl element) Constructor for BlockRenderState. -
Method Summary
Modifier and TypeMethodDescriptionint
getAlignXPercent.int
getAlignYPercent.getBorderInfo.getMarginInsets.Methods inherited from class org.loboevolution.html.renderstate.BlockRenderState
getDefaultDisplay
Methods inherited from class org.loboevolution.html.renderstate.StyleSheetRenderState
getAlignContent, getAlignItems, getBackgroundColor, getBackgroundImageInfo, getBackgroundInfo, getBlankWidth, getBottom, getBoxSizing, getClear, getColor, 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
-
HRRenderState
Constructor for BlockRenderState.
- Parameters:
prevRenderState
- aRenderState
object.element
- aHTMLElementImpl
object.
-
-
Method Details
-
getMarginInsets
getMarginInsets.
- Specified by:
getMarginInsets
in interfaceRenderState
- Overrides:
getMarginInsets
in classStyleSheetRenderState
- Returns:
- a
HtmlInsets
object.
-
getBorderInfo
getBorderInfo.
- Specified by:
getBorderInfo
in interfaceRenderState
- Overrides:
getBorderInfo
in classStyleSheetRenderState
- Returns:
- a
BorderInfo
object.
-
getAlignXPercent
public int getAlignXPercent()getAlignXPercent.
- Specified by:
getAlignXPercent
in interfaceRenderState
- Overrides:
getAlignXPercent
in classStyleSheetRenderState
- Returns:
- a
Integer
object.
-
getAlignYPercent
public int getAlignYPercent()getAlignYPercent.
- Specified by:
getAlignYPercent
in interfaceRenderState
- Overrides:
getAlignYPercent
in classStyleSheetRenderState
- Returns:
- a
Integer
object.
-