All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
FSColor |
asColor(CSSName cssName) |
float |
asFloat(CSSName cssName) |
Length |
asLength(CssContext c,
CSSName cssName) |
String |
asString(CSSName cssName) |
String[] |
asStringArray(CSSName cssName) |
int |
columnCount() |
CalculatedStyle |
createAnonymousStyle(IdentValue display)
This method derives a style for an anonymous child box with an overriden
value for the display property.
|
CalculatedStyle |
deriveStyle(CascadedStyle matched)
Derives a child style from this style.
|
boolean |
establishesBFC() |
int |
fsMaxOverflowPages() |
FSColor |
getBackgroundColor()
Convenience property accessor; returns a Color initialized with the
background color value; Uses the actual value (computed actual value) for
this element.
|
List<CalculatedStyle.BackgroundContainer> |
getBackgroundImages()
Gets the values of the background properties and combines in a list
of BackgroundContainer values.
|
IdentValue |
getBackgroundRepeat(PropertyValue value) |
BorderPropertySet |
getBorder(CssContext ctx) |
int |
getBorderHSpacing(CssContext c) |
int |
getBorderVSpacing(CssContext c) |
RectPropertySet |
getCachedMargin() |
RectPropertySet |
getCachedPadding() |
FSColor |
getColor()
Convenience property accessor; returns a Color initialized with the
foreground color Uses the actual value (computed actual value) for this
element.
|
int |
getColSpan() |
List<CounterData> |
getCounterIncrement() |
List<CounterData> |
getCounterReset() |
static int |
getCSSMaxHeight(CssContext c,
Box box)
Aims to get the correct resolved max-height for a box in dots unit.
|
static int |
getCSSMaxWidth(CssContext c,
Box box)
Aims to get the correct resolved max-width for a box in dots unit.
|
Cursor |
getCursor() |
FSDerivedValue[] |
getderivedValuesById() |
IdentValue |
getDirection() |
float |
getFloatPropertyProportionalHeight(CSSName cssName,
float parentHeight,
CssContext ctx) |
float |
getFloatPropertyProportionalTo(CSSName cssName,
float baseValue,
CssContext ctx) |
float |
getFloatPropertyProportionalWidth(CSSName cssName,
float parentWidth,
CssContext ctx) |
FontSpecification |
getFont(CssContext ctx) |
FontSpecification |
getFontSpecification() |
FSFont |
getFSFont(CssContext cssContext) |
FSFontMetrics |
getFSFontMetrics(CssContext c) |
float |
getFSPageBreakMinHeight(CssContext c) |
IdentValue |
getIdent(CSSName cssName)
Gets the ident attribute of the CalculatedStyle object
|
FSLinearGradient |
getLinearGradient(PropertyValue value,
CssContext cssContext,
int boxWidth,
int boxHeight) |
float |
getLineHeight(CssContext ctx) |
int |
getMarginBorderPadding(CssContext cssCtx,
int cbWidth,
int which) |
RectPropertySet |
getMarginRect(float cbWidth,
CssContext ctx)
Convenience property accessor; returns a Border initialized with the
four-sided margin width.
|
RectPropertySet |
getMarginRect(float cbWidth,
CssContext ctx,
boolean useCache) |
int |
getMaxHeight(CssContext c,
int cbHeight) |
int |
getMaxWidth(CssContext c,
int cbWidth) |
int |
getMinHeight(CssContext c,
int cbHeight) |
int |
getMinWidth(CssContext c,
int cbWidth) |
RectPropertySet |
getPaddingRect(float cbWidth,
CssContext ctx) |
RectPropertySet |
getPaddingRect(float cbWidth,
CssContext ctx,
boolean useCache)
Convenience property accessor; returns a Border initialized with the
four-sided padding width.
|
CalculatedStyle |
getParent()
Returns the parent style.
|
int |
getRowSpan() |
String |
getRunningName() |
String |
getStringProperty(CSSName cssName) |
IdentValue |
getTextAlign() |
List<IdentValue> |
getTextDecorations() |
IdentValue |
getWhitespace() |
IdentValue |
getWordWrap() |
boolean |
hasAbsoluteUnit(CSSName cssName) |
boolean |
hasColumns() |
boolean |
hasLetterSpacing() |
boolean |
isAbsFixedOrInlineBlockEquiv() |
boolean |
isAbsolute() |
boolean |
isAbsoluteWidth() |
boolean |
isAutoHeight() |
boolean |
isAutoLeftMargin() |
boolean |
isAutoRightMargin() |
boolean |
isAutoWidth() |
boolean |
isAutoZIndex() |
boolean |
isAvoidPageBreakInside() |
boolean |
isBlockEquivalent() |
boolean |
isBorderBox() |
boolean |
isBottomAuto() |
boolean |
isCanBeShrunkToFit() |
boolean |
isCleared() |
boolean |
isClearLeft() |
boolean |
isClearRight() |
boolean |
isCollapseBorders() |
boolean |
isColumnBreakAfter() |
boolean |
isColumnBreakBefore() |
boolean |
isDirectionAuto() |
boolean |
isDirectionLTR() |
boolean |
isDirectionRTL() |
boolean |
isDisplayNone() |
boolean |
isDynamicAutoWidth() |
boolean |
isDynamicAutoWidthApplicable() |
boolean |
isFixed() |
boolean |
isFloated() |
boolean |
isFloatedLeft() |
boolean |
isFloatedRight() |
boolean |
isFootnote() |
boolean |
isFootnoteBody() |
boolean |
isForcePageBreakAfter() |
boolean |
isForcePageBreakBefore() |
boolean |
isHasBackground() |
boolean |
isHasBackgroundImage() |
boolean |
isHorizontalBackgroundRepeat(PropertyValue value) |
boolean |
isIdent(CSSName cssName,
IdentValue val)
Gets the ident attribute of the CalculatedStyle object
|
boolean |
isImageRenderingInterpolate() |
boolean |
isImageRenderingPixelated() |
boolean |
isInline() |
boolean |
isInlineBlock() |
boolean |
isInlineTable() |
boolean |
isKeepWithInline() |
boolean |
isLayedOutInInlineContext() |
boolean |
isLength(CSSName cssName)
TODO: doc
|
boolean |
isLengthOrNumber(CSSName cssName) |
boolean |
isLinearGradient(PropertyValue value) |
boolean |
isListItem() |
boolean |
isListMarkerInside() |
boolean |
isMaxHeightNone() |
boolean |
isMaxWidthNone() |
boolean |
isMayCollapseMarginsWithChildren() |
boolean |
isNeedAutoMarginResolution() |
boolean |
isNonFlowContent() |
boolean |
isOverflowApplies() |
boolean |
isOverflowVisible() |
boolean |
isPaginateTable() |
boolean |
isParagraphContainerForBidi() |
boolean |
isPositioned() |
boolean |
isPostionedOrFloated() |
boolean |
isRelative() |
boolean |
isRunning() |
boolean |
isShowEmptyCells() |
boolean |
isSpecifiedAsBlock() |
boolean |
isTable() |
boolean |
isTableCaption() |
boolean |
isTableCell() |
boolean |
isTableFooter() |
boolean |
isTableHeader() |
boolean |
isTableRow() |
boolean |
isTableSection() |
boolean |
isTextJustify() |
boolean |
isTopAuto() |
boolean |
isVerticalBackgroundRepeat(PropertyValue value) |
boolean |
isVisible(RenderingContext renderingContext,
Box thisElement)
Determine if the element is visible.
|
boolean |
mayHaveFirstLetter() |
boolean |
mayHaveFirstLine() |
CalculatedStyle |
overrideStyle(CascadedStyle matched)
Override this style with specified styles.
|
CalculatedStyle |
overrideStyle(IdentValue display)
Override this style with specified styles.
|
boolean |
requiresLayer() |
String |
toString()
Converts to a String representation of the object.
|
FSDerivedValue |
valueByName(CSSName cssName)
|