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
Modifier and TypeFieldDescriptionstatic final int
The display block.static final int
The display flex box.static final int
The display flex child.static final int
The display inline.static final int
The display inline block.static final int
The display inline table.static final int
The display list item.static final int
The display none.static final int
The display table.static final int
The display table caption.static final int
The display table cell.static final int
The display table column.static final int
The display table column group.static final int
The display table footer group.static final int
The display table header group.static final int
The display table row.static final int
The display table row group.static final int
The float left.static final int
The float none.static final int
The float right.static final int
The mask textdecoration blink.static final int
The mask textdecoration line through.static final int
The mask textdecoration none.static final int
The mask textdecoration overline.static final int
The mask textdecoration underline.static final int
The overflow auto.static final int
The overflow hidden.static final int
The overflow none.static final int
The overflow scroll.static final int
The overflow visible.static final int
The position absolute.static final int
The position fixed.static final int
The position relative.static final int
The position static.static final int
The texttransform capitalize.static final int
The texttransform lowercase.static final int
The texttransform none.static final int
The texttransform uppercase.static final int
The visibility collapse.static final int
The visibility hidden.static final int
The visibility visible.static final int
The ws normal.static final int
The ws nowrap.static final int
The ws pre. -
Method Summary
Modifier and TypeMethodDescriptiongetAlignContent.getAlignItems.int
getAlignXPercent.int
getAlignYPercent.getBackgroundColor.getBackgroundImageInfo
(int width, int height) getBackgroundImageInfo.getBackgroundInfo.int
getBlankWidth.getBorderInfo.getBottom.getBoxSizing.int
getClear()
getClear.getColor()
getColor.int
getCount.getCursor.int
getDefaultDisplay.int
getDisplay.getFlexDirection.getFlexFlow.getFlexWrap.int
getFloat()
getFloat.getFont()
getFont.int
getFontBase.getFontMetrics.getJustifyContent.getLeft()
getLeft.getMarginInsets.int
getOverflowX.int
getOverflowY.getOverlayColor.getPaddingInsets.int
getPosition.getPreviousRenderState.getRight()
getRight.getTextBackgroundColor.int
getTextDecorationMask.int
getTextIndent
(int availWidth) getTextIndent.getTextIndentText.int
getTextTransform.getTop()
getTop.getVerticalAlign.int
getVisibility.int
getWhiteSpace.getWordInfo
(String word) getWordInfo.int
incrementCount
(String counter, int nesting) incrementCount.void
invalidate.boolean
isHighlight.void
resetCount
(String counter, int nesting, int value) resetCount.void
setCursor.void
setHighlight
(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
Integer
object.
-
getAlignYPercent
int getAlignYPercent()getAlignYPercent.
- Returns:
- a
Integer
object.
-
getAlignItems
String getAlignItems()getAlignItems.
- Returns:
- a String.
-
getAlignContent
String getAlignContent()getAlignContent.
- Returns:
- a String.
-
getBackgroundColor
Color getBackgroundColor()getBackgroundColor.
- Returns:
- a
Color
object.
-
getBackgroundInfo
BackgroundInfo getBackgroundInfo()getBackgroundInfo.
- Returns:
- a
BackgroundInfo
object.
-
getBackgroundImageInfo
getBackgroundImageInfo.
- Parameters:
width
- aInteger
object.height
- aInteger
object.- Returns:
- a
BackgroundInfo
object.
-
getBlankWidth
int getBlankWidth()getBlankWidth.
- Returns:
- a
Integer
object.
-
getBorderInfo
BorderInfo getBorderInfo()getBorderInfo.
- Returns:
- a
BorderInfo
object.
-
getColor
Color getColor()getColor.
- Returns:
- a
Color
object.
-
getCount
getCount.
-
getDisplay
int getDisplay()getDisplay.
- Returns:
- a
Integer
object.
-
getFloat
int getFloat()getFloat.
- Returns:
- a
Integer
object.
-
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
Font
object.
-
getFontBase
int getFontBase()getFontBase.
- Returns:
- a
Integer
object.
-
getFontMetrics
FontMetrics getFontMetrics()getFontMetrics.
- Returns:
- a
FontMetrics
object.
-
getMarginInsets
HtmlInsets getMarginInsets()getMarginInsets.
- Returns:
- a
HtmlInsets
object.
-
getOverflowX
int getOverflowX()getOverflowX.
- Returns:
- a
Integer
object.
-
getOverflowY
int getOverflowY()getOverflowY.
- Returns:
- a
Integer
object.
-
getOverlayColor
Color getOverlayColor()getOverlayColor.
- Returns:
- a
Color
object.
-
getPaddingInsets
HtmlInsets getPaddingInsets()getPaddingInsets.
- Returns:
- a
HtmlInsets
object.
-
getPosition
int getPosition()getPosition.
- Returns:
- a
Integer
object.
-
getPreviousRenderState
RenderState getPreviousRenderState()getPreviousRenderState.
- Returns:
- a
RenderState
object.
-
getTextBackgroundColor
Color getTextBackgroundColor()getTextBackgroundColor.
- Returns:
- a
Color
object.
-
getTextDecorationMask
int getTextDecorationMask()getTextDecorationMask.
- Returns:
- a
Integer
object.
-
getTextIndent
int getTextIndent(int availWidth) getTextIndent.
-
getTextIndentText
String getTextIndentText()getTextIndentText.
- Returns:
- a
String
object.
-
getTextTransform
int getTextTransform()getTextTransform.
- Returns:
- a
Integer
object.
-
getVisibility
int getVisibility()getVisibility.
- Returns:
- a
Integer
object.
-
getWhiteSpace
int getWhiteSpace()getWhiteSpace.
- Returns:
- a
Integer
object.
-
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
Integer
object.
-
getBoxSizing
String getBoxSizing()getBoxSizing.
- Returns:
- a
String
object.
-
getLeft
String getLeft()getLeft.
- Returns:
- a
String
object.
-
getTop
String getTop()getTop.
- Returns:
- a
String
object.
-
getRight
String getRight()getRight.
- Returns:
- a
String
object.
-
getBottom
String getBottom()getBottom.
- Returns:
- a
String
object.
-
getVerticalAlign
String getVerticalAlign()getVerticalAlign.
- Returns:
- a
String
object.
-
getCursor
Cursor getCursor()getCursor.
- Returns:
- a
Cursor
object.
-
setCursor
setCursor.
- Parameters:
cursor
- aCursor
object.
-
getDefaultDisplay
int getDefaultDisplay()getDefaultDisplay.
- Returns:
- a
Integer
object.
-