Class AbstractMarginRenderState
java.lang.Object
org.loboevolution.html.renderstate.StyleSheetRenderState
org.loboevolution.html.renderstate.BlockRenderState
org.loboevolution.html.renderstate.AbstractMarginRenderState
- All Implemented Interfaces:
RenderState
- Direct Known Subclasses:
DListRenderState
,FieldsetRenderState
,FormRenderState
,HeadingRenderState
,ListRenderState
,ParagraphRenderState
,QuoteRenderState
Abstract AbstractMarginRenderState 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
ConstructorDescriptionAbstractMarginRenderState
(RenderState prevRenderState, HTMLElementImpl element) Constructor for AbstractMarginRenderState. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HtmlInsets
getDefaultMarginInsets.getMarginInsets.Methods inherited from class org.loboevolution.html.renderstate.BlockRenderState
getDefaultDisplay
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, 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
-
AbstractMarginRenderState
Constructor for AbstractMarginRenderState.
- Parameters:
prevRenderState
- aRenderState
object.element
- aHTMLElementImpl
object.
-
-
Method Details
-
getDefaultMarginInsets
getDefaultMarginInsets.
- Returns:
- a
HtmlInsets
object.
-
getMarginInsets
getMarginInsets.
- Specified by:
getMarginInsets
in interfaceRenderState
- Overrides:
getMarginInsets
in classStyleSheetRenderState
- Returns:
- a
HtmlInsets
object.
-