Package org.lobobrowser.html.style
Class AbstractMarginRenderState
- java.lang.Object
-
- org.lobobrowser.html.style.StyleSheetRenderState
-
- org.lobobrowser.html.style.BlockRenderState
-
- org.lobobrowser.html.style.AbstractMarginRenderState
-
- All Implemented Interfaces:
RenderState
- Direct Known Subclasses:
BlockQuoteRenderState
,HeadingRenderState
,ListRenderState
,ParagraphRenderState
public abstract class AbstractMarginRenderState extends BlockRenderState
-
-
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 AbstractMarginRenderState(RenderState prevRenderState, HTMLElementImpl element)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract HtmlInsets
getDefaultMarginInsets()
HtmlInsets
getMarginInsets()
-
Methods inherited from class org.lobobrowser.html.style.BlockRenderState
getDefaultDisplay
-
Methods inherited from class org.lobobrowser.html.style.StyleSheetRenderState
getAlignXPercent, getAlignYPercent, getBackgroundColor, getBackgroundInfo, getBlankWidth, getBorderInfo, getColor, getCount, getCssProperties, getDisplay, getFloat, getFont, getFontBase, getFontMetrics, getOverflowX, getOverflowY, getOverlayColor, getPaddingInsets, getPosition, getPreviousRenderState, getTextBackgroundColor, getTextDecorationMask, getTextIndent, getTextIndentText, getTextTransform, getVisibility, getWhiteSpace, getWordInfo, incrementCount, invalidate, isHighlight, repaint, resetCount, setHighlight, toString
-
-
-
-
Constructor Detail
-
AbstractMarginRenderState
public AbstractMarginRenderState(RenderState prevRenderState, HTMLElementImpl element)
-
-
Method Detail
-
getDefaultMarginInsets
protected abstract HtmlInsets getDefaultMarginInsets()
-
getMarginInsets
public HtmlInsets getMarginInsets()
- Specified by:
getMarginInsets
in interfaceRenderState
- Overrides:
getMarginInsets
in classStyleSheetRenderState
-
-