java.lang.Object
io.sf.carte.doc.style.css.om.AbstractCSSStyleDeclaration
io.sf.carte.doc.style.css.om.BaseCSSStyleDeclaration
io.sf.carte.doc.style.css.om.InlineStyle
- All Implemented Interfaces:
CSSStyleDeclaration,NodeStyleDeclaration,Serializable,Cloneable,CSS2Properties
- Direct Known Subclasses:
CompatInlineStyle
CSS Inline style declaration.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract InlineStyleclone()The node that owns this declaration.Get the error handler for this style declaration.booleanhasOverrideStyle(Condition pseudoElt) Has this style's owner element an override style attached to the given pseudo-element?protected voidsetOwnerNode(Node node) protected voidwriteLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) protected voidwriteShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) Methods inherited from class io.sf.carte.doc.style.css.om.BaseCSSStyleDeclaration
addOverrideProperty, addProperty, addStyle, appendLonghandMinifiedCssText, appendShorthandMinifiedCssText, compatLonghand, computeBoundProperty, diff, equals, getAzimuth, getBackground, getBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, getBorderBottom, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderCollapse, getBorderColor, getBorderLeft, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRight, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderSpacing, getBorderStyle, getBorderTop, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBorderWidth, getBottom, getCaptionSide, getClear, getClip, getColor, getContent, getCounterIncrement, getCounterReset, getCSSColor, getCssFloat, getCssText, getCSSValue, getCue, getCueAfter, getCueBefore, getCurrentColor, getCursor, getDeclaredCSSValue, getDirection, getDisplay, getElevation, getEmptyCells, getFont, getFontFamily, getFontSize, getFontSizeAdjust, getFontStretch, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLength, getLetterSpacing, getLineHeight, getListStyle, getListStyleImage, getListStylePosition, getListStyleType, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarkerOffset, getMarks, getMaxHeight, getMaxWidth, getMinHeight, getMinifiedCssText, getMinifiedPropertyValue, getMinWidth, getOrphans, getOutline, getOutlineColor, getOutlineStyle, getOutlineWidth, getOverflow, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getPageBreakAfter, getPageBreakBefore, getPageBreakInside, getParentRule, getPause, getPauseAfter, getPauseBefore, getPitch, getPitchRange, getPlayDuring, getPosition, getPropertyCSSValue, getPropertyPriority, getPropertyValue, getQuotes, getRichness, getRight, getSize, getSpeak, getSpeakHeader, getSpeakNumeral, getSpeakPunctuation, getSpeechRate, getStress, getStyleDatabase, getStyleSheetFactory, getTableLayout, getTextAlign, getTextDecoration, getTextIndent, getTextShadow, getTextTransform, getTop, getUnicodeBidi, getValueFactory, getVerticalAlign, getVisibility, getVoiceFamily, getVolume, getWhiteSpace, getWidows, getWidth, getWordSpacing, getZIndex, hashCode, isEmpty, item, prioritySplit, removeProperty, setAzimuth, setBackground, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorderBottom, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderCollapse, setBorderColor, setBorderLeft, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRight, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderSpacing, setBorderStyle, setBorderTop, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setCaptionSide, setClear, setClip, setColor, setContent, setCounterIncrement, setCounterReset, setCssFloat, setCssText, setCue, setCueAfter, setCueBefore, setCursor, setDirection, setDisplay, setElevation, setEmptyCells, setFont, setFontFamily, setFontSize, setFontSizeAdjust, setFontStretch, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLetterSpacing, setLexicalProperty, setLineHeight, setListStyle, setListStyleImage, setListStylePosition, setListStyleType, setLonghandProperty, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarkerOffset, setMarks, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOrphans, setOutline, setOutlineColor, setOutlineStyle, setOutlineWidth, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPage, setPageBreakAfter, setPageBreakBefore, setPageBreakInside, setPause, setPauseAfter, setPauseBefore, setPitch, setPitchRange, setPlayDuring, setPosition, setProperty, setProperty, setPropertyCSSValue, setQuotes, setRichness, setRight, setSize, setSpeak, setSpeakHeader, setSpeakNumeral, setSpeakPunctuation, setSpeechRate, setStress, setTableLayout, setTextAlign, setTextDecoration, setTextIndent, setTextShadow, setTextTransform, setTop, setUnicodeBidi, setVerticalAlign, setVisibility, setVoiceFamily, setVolume, setWhiteSpace, setWidows, setWidth, setWordSpacing, setZIndex, shorthandError, toString, writeCssTextMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.sf.carte.doc.style.css.CSSStyleDeclaration
getCssText, getLength, getMinifiedCssText, getParentRule, getPropertyPriority, getPropertyValue, item, removeProperty, setCssText, setProperty, writeCssText
-
Constructor Details
-
InlineStyle
protected InlineStyle() -
InlineStyle
-
-
Method Details
-
writeShorthandCssText
protected void writeShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) throws IOException - Overrides:
writeShorthandCssTextin classBaseCSSStyleDeclaration- Throws:
IOException
-
writeLonghandCssText
protected void writeLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) throws IOException - Overrides:
writeLonghandCssTextin classBaseCSSStyleDeclaration- Throws:
IOException
-
getOwnerNode
Description copied from class:BaseCSSStyleDeclarationThe node that owns this declaration.For computed styles, the owner is always the element for which the style was computed.
- Specified by:
getOwnerNodein interfaceNodeStyleDeclaration- Overrides:
getOwnerNodein classBaseCSSStyleDeclaration- Returns:
- the node that owns this declaration, or null if none.
-
setOwnerNode
-
hasOverrideStyle
Has this style's owner element an override style attached to the given pseudo-element?- Parameters:
pseudoElt- the pseudo-element condition, ornullif none.- Returns:
trueif this style's owner element has an override style attached, false otherwise.
-
getStyleDeclarationErrorHandler
Description copied from class:AbstractCSSStyleDeclarationGet the error handler for this style declaration.- Overrides:
getStyleDeclarationErrorHandlerin classBaseCSSStyleDeclaration- Returns:
- the error handler, or
nullif this is an anonymous style declaration.
-
clone
- Overrides:
clonein classBaseCSSStyleDeclaration
-