Interface RenderState
- All Known Implementing Classes:
AbstractMarginRenderState,AlignXRenderState,BlockRenderState,BodyRenderState,DDRenderState,DialogRenderState,DisplayRenderState,DListRenderState,FieldsetRenderState,FontStyleRenderState,FormRenderState,HeadingRenderState,HRRenderState,IFrameRenderState,ImageRenderState,LegendRenderState,LinkRenderState,ListRenderState,ParagraphRenderState,PreRenderState,QuoteRenderState,RenderStateDelegator,SmallRenderState,StyleSheetRenderState,TableCellRenderState,TableRenderState,TableRowRenderState,TextDecorationRenderState,UListRenderState
public interface RenderState
RenderState interface.
Author J. H. S.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe display block.static final intThe display flex box.static final intThe display flex child.static final intThe display inline.static final intThe display inline block.static final intThe display inline table.static final intThe display list item.static final intThe display none.static final intThe display table.static final intThe display table caption.static final intThe display table cell.static final intThe display table column.static final intThe display table column group.static final intThe display table footer group.static final intThe display table header group.static final intThe display table row.static final intThe display table row group.static final intThe float left.static final intThe float none.static final intThe float right.static final intThe mask textdecoration blink.static final intThe mask textdecoration line through.static final intThe mask textdecoration none.static final intThe mask textdecoration overline.static final intThe mask textdecoration underline.static final intThe overflow auto.static final intThe overflow hidden.static final intThe overflow none.static final intThe overflow scroll.static final intThe overflow visible.static final intThe position absolute.static final intThe position fixed.static final intThe position relative.static final intThe position static.static final intThe texttransform capitalize.static final intThe texttransform lowercase.static final intThe texttransform none.static final intThe texttransform uppercase.static final intThe visibility collapse.static final intThe visibility hidden.static final intThe visibility visible.static final intThe ws normal.static final intThe ws nowrap.static final intThe ws pre. -
Method Summary
Modifier and TypeMethodDescriptiongetAlignContent.getAlignItems.intgetAlignXPercent.intgetAlignYPercent.getBackgroundColor.getBackgroundImageInfo(int width, int height) getBackgroundImageInfo.getBackgroundInfo.intgetBlankWidth.getBorderInfo.getBottom.getBoxSizing.intgetClear()getClear.getColor()getColor.intgetCount.getCursor.intgetDefaultDisplay.intgetDisplay.getFlexDirection.getFlexFlow.getFlexWrap.intgetFloat()getFloat.getFont()getFont.intgetFontBase.getFontMetrics.getJustifyContent.getLeft()getLeft.getMarginInsets.intgetOverflowX.intgetOverflowY.getOverlayColor.getPaddingInsets.intgetPosition.getPreviousRenderState.getRight()getRight.getTextBackgroundColor.intgetTextDecorationMask.intgetTextIndent(int availWidth) getTextIndent.getTextIndentText.intgetTextTransform.getTop()getTop.getVerticalAlign.intgetVisibility.intgetWhiteSpace.getWordInfo(String word) getWordInfo.intincrementCount(String counter, int nesting) incrementCount.voidinvalidate.booleanisHighlight.voidresetCount(String counter, int nesting, int value) resetCount.voidsetCursor.voidsetHighlight(boolean highlight) setHighlight.
-
Field Details
-
MASK_TEXTDECORATION_NONE
static final int MASK_TEXTDECORATION_NONEThe mask textdecoration none.- See Also:
-
MASK_TEXTDECORATION_UNDERLINE
static final int MASK_TEXTDECORATION_UNDERLINEThe mask textdecoration underline.- See Also:
-
MASK_TEXTDECORATION_OVERLINE
static final int MASK_TEXTDECORATION_OVERLINEThe mask textdecoration overline.- See Also:
-
MASK_TEXTDECORATION_LINE_THROUGH
static final int MASK_TEXTDECORATION_LINE_THROUGHThe mask textdecoration line through.- See Also:
-
MASK_TEXTDECORATION_BLINK
static final int MASK_TEXTDECORATION_BLINKThe mask textdecoration blink.- See Also:
-
TEXTTRANSFORM_NONE
static final int TEXTTRANSFORM_NONEThe texttransform none.- See Also:
-
TEXTTRANSFORM_CAPITALIZE
static final int TEXTTRANSFORM_CAPITALIZEThe texttransform capitalize.- See Also:
-
TEXTTRANSFORM_UPPERCASE
static final int TEXTTRANSFORM_UPPERCASEThe texttransform uppercase.- See Also:
-
TEXTTRANSFORM_LOWERCASE
static final int TEXTTRANSFORM_LOWERCASEThe texttransform lowercase.- See Also:
-
DISPLAY_NONE
static final int DISPLAY_NONEThe display none.- See Also:
-
DISPLAY_INLINE
static final int DISPLAY_INLINEThe display inline.- See Also:
-
DISPLAY_BLOCK
static final int DISPLAY_BLOCKThe display block.- See Also:
-
DISPLAY_LIST_ITEM
static final int DISPLAY_LIST_ITEMThe display list item.- See Also:
-
DISPLAY_TABLE_ROW
static final int DISPLAY_TABLE_ROWThe display table row.- See Also:
-
DISPLAY_TABLE_CELL
static final int DISPLAY_TABLE_CELLThe display table cell.- See Also:
-
DISPLAY_TABLE
static final int DISPLAY_TABLEThe display table.- See Also:
-
DISPLAY_TABLE_CAPTION
static final int DISPLAY_TABLE_CAPTIONThe display table caption.- See Also:
-
DISPLAY_INLINE_BLOCK
static final int DISPLAY_INLINE_BLOCKThe display inline block.- See Also:
-
DISPLAY_INLINE_TABLE
static final int DISPLAY_INLINE_TABLEThe display inline table.- See Also:
-
DISPLAY_TABLE_ROW_GROUP
static final int DISPLAY_TABLE_ROW_GROUPThe display table row group.- See Also:
-
DISPLAY_TABLE_HEADER_GROUP
static final int DISPLAY_TABLE_HEADER_GROUPThe display table header group.- See Also:
-
DISPLAY_TABLE_FOOTER_GROUP
static final int DISPLAY_TABLE_FOOTER_GROUPThe display table footer group.- See Also:
-
DISPLAY_TABLE_COLUMN
static final int DISPLAY_TABLE_COLUMNThe display table column.- See Also:
-
DISPLAY_TABLE_COLUMN_GROUP
static final int DISPLAY_TABLE_COLUMN_GROUPThe display table column group.- See Also:
-
DISPLAY_FLEX_BOX
static final int DISPLAY_FLEX_BOXThe display flex box.- See Also:
-
DISPLAY_FLEX_CHILD
static final int DISPLAY_FLEX_CHILDThe display flex child.- See Also:
-
WS_NORMAL
static final int WS_NORMALThe ws normal.- See Also:
-
WS_PRE
static final int WS_PREThe ws pre.- See Also:
-
WS_NOWRAP
static final int WS_NOWRAPThe ws nowrap.- See Also:
-
VISIBILITY_VISIBLE
static final int VISIBILITY_VISIBLEThe visibility visible.- See Also:
-
VISIBILITY_HIDDEN
static final int VISIBILITY_HIDDENThe visibility hidden.- See Also:
-
VISIBILITY_COLLAPSE
static final int VISIBILITY_COLLAPSEThe visibility collapse.- See Also:
-
POSITION_STATIC
static final int POSITION_STATICThe position static.- See Also:
-
POSITION_ABSOLUTE
static final int POSITION_ABSOLUTEThe position absolute.- See Also:
-
POSITION_RELATIVE
static final int POSITION_RELATIVEThe position relative.- See Also:
-
POSITION_FIXED
static final int POSITION_FIXEDThe position fixed.- See Also:
-
FLOAT_NONE
static final int FLOAT_NONEThe float none.- See Also:
-
FLOAT_LEFT
static final int FLOAT_LEFTThe float left.- See Also:
-
FLOAT_RIGHT
static final int FLOAT_RIGHTThe float right.- See Also:
-
OVERFLOW_NONE
static final int OVERFLOW_NONEThe overflow none.- See Also:
-
OVERFLOW_SCROLL
static final int OVERFLOW_SCROLLThe overflow scroll.- See Also:
-
OVERFLOW_AUTO
static final int OVERFLOW_AUTOThe overflow auto.- See Also:
-
OVERFLOW_HIDDEN
static final int OVERFLOW_HIDDENThe overflow hidden.- See Also:
-
OVERFLOW_VISIBLE
static final int OVERFLOW_VISIBLEThe overflow visible.- See Also:
-
-
Method Details
-
getAlignXPercent
int getAlignXPercent()getAlignXPercent.
- Returns:
- a
Integerobject.
-
getAlignYPercent
int getAlignYPercent()getAlignYPercent.
- Returns:
- a
Integerobject.
-
getAlignItems
String getAlignItems()getAlignItems.
- Returns:
- a String.
-
getAlignContent
String getAlignContent()getAlignContent.
- Returns:
- a String.
-
getBackgroundColor
Color getBackgroundColor()getBackgroundColor.
- Returns:
- a
Colorobject.
-
getBackgroundInfo
BackgroundInfo getBackgroundInfo()getBackgroundInfo.
- Returns:
- a
BackgroundInfoobject.
-
getBackgroundImageInfo
getBackgroundImageInfo.
- Parameters:
width- aIntegerobject.height- aIntegerobject.- Returns:
- a
BackgroundInfoobject.
-
getBlankWidth
int getBlankWidth()getBlankWidth.
- Returns:
- a
Integerobject.
-
getBorderInfo
BorderInfo getBorderInfo()getBorderInfo.
- Returns:
- a
BorderInfoobject.
-
getColor
Color getColor()getColor.
- Returns:
- a
Colorobject.
-
getCount
getCount.
-
getDisplay
int getDisplay()getDisplay.
- Returns:
- a
Integerobject.
-
getFloat
int getFloat()getFloat.
- Returns:
- a
Integerobject.
-
getFlexDirection
String getFlexDirection()getFlexDirection.
- Returns:
- a String.
-
getFlexWrap
String getFlexWrap()getFlexWrap.
- Returns:
- a String.
-
getFlexFlow
String getFlexFlow()getFlexFlow.
- Returns:
- a String.
-
getJustifyContent
String getJustifyContent()getJustifyContent.
- Returns:
- a String.
-
getFont
Font getFont()getFont.
- Returns:
- a
Fontobject.
-
getFontBase
int getFontBase()getFontBase.
- Returns:
- a
Integerobject.
-
getFontMetrics
FontMetrics getFontMetrics()getFontMetrics.
- Returns:
- a
FontMetricsobject.
-
getMarginInsets
HtmlInsets getMarginInsets()getMarginInsets.
- Returns:
- a
HtmlInsetsobject.
-
getOverflowX
int getOverflowX()getOverflowX.
- Returns:
- a
Integerobject.
-
getOverflowY
int getOverflowY()getOverflowY.
- Returns:
- a
Integerobject.
-
getOverlayColor
Color getOverlayColor()getOverlayColor.
- Returns:
- a
Colorobject.
-
getPaddingInsets
HtmlInsets getPaddingInsets()getPaddingInsets.
- Returns:
- a
HtmlInsetsobject.
-
getPosition
int getPosition()getPosition.
- Returns:
- a
Integerobject.
-
getPreviousRenderState
RenderState getPreviousRenderState()getPreviousRenderState.
- Returns:
- a
RenderStateobject.
-
getTextBackgroundColor
Color getTextBackgroundColor()getTextBackgroundColor.
- Returns:
- a
Colorobject.
-
getTextDecorationMask
int getTextDecorationMask()getTextDecorationMask.
- Returns:
- a
Integerobject.
-
getTextIndent
int getTextIndent(int availWidth) getTextIndent.
-
getTextIndentText
String getTextIndentText()getTextIndentText.
- Returns:
- a
Stringobject.
-
getTextTransform
int getTextTransform()getTextTransform.
- Returns:
- a
Integerobject.
-
getVisibility
int getVisibility()getVisibility.
- Returns:
- a
Integerobject.
-
getWhiteSpace
int getWhiteSpace()getWhiteSpace.
- Returns:
- a
Integerobject.
-
getWordInfo
getWordInfo.
-
incrementCount
incrementCount.
-
invalidate
void invalidate()invalidate.
-
isHighlight
boolean isHighlight()isHighlight.
- Returns:
- a boolean.
-
resetCount
resetCount.
-
setHighlight
void setHighlight(boolean highlight) setHighlight.
- Parameters:
highlight- a boolean.
-
getClear
int getClear()getClear.
- Returns:
- a
Integerobject.
-
getBoxSizing
String getBoxSizing()getBoxSizing.
- Returns:
- a
Stringobject.
-
getLeft
String getLeft()getLeft.
- Returns:
- a
Stringobject.
-
getTop
String getTop()getTop.
- Returns:
- a
Stringobject.
-
getRight
String getRight()getRight.
- Returns:
- a
Stringobject.
-
getBottom
String getBottom()getBottom.
- Returns:
- a
Stringobject.
-
getVerticalAlign
String getVerticalAlign()getVerticalAlign.
- Returns:
- a
Stringobject.
-
getCursor
Cursor getCursor()getCursor.
- Returns:
- a
Cursorobject.
-
setCursor
setCursor.
- Parameters:
cursor- aCursorobject.
-
getDefaultDisplay
int getDefaultDisplay()getDefaultDisplay.
- Returns:
- a
Integerobject.
-