Package elemental2.dom
Class CSSStyleDeclaration
- java.lang.Object
-
- elemental2.dom.CSSProperties
-
- elemental2.dom.CSSStyleDeclaration
-
- All Implemented Interfaces:
elemental2.core.JsIterable<java.lang.String>
,jsinterop.base.JsArrayLike<java.lang.String>
,jsinterop.base.JsPropertyMap<java.lang.String>
@JsType(isNative=true, namespace="<global>") public class CSSStyleDeclaration extends CSSProperties implements elemental2.core.JsIterable<java.lang.String>, jsinterop.base.JsArrayLike<java.lang.String>, jsinterop.base.JsPropertyMap<java.lang.String>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CSSStyleDeclaration.GetAttributeUnionType
static interface
CSSStyleDeclaration.GetExpressionUnionType
-
Nested classes/interfaces inherited from class elemental2.dom.CSSProperties
CSSProperties.AnimationIterationCountUnionType, CSSProperties.AnimationUnionType, CSSProperties.BorderBottomLeftRadiusUnionType, CSSProperties.BorderBottomRightRadiusUnionType, CSSProperties.BorderBottomWidthUnionType, CSSProperties.BorderImageOutsetUnionType, CSSProperties.BorderImageSliceUnionType, CSSProperties.BorderImageWidthUnionType, CSSProperties.BorderLeftWidthUnionType, CSSProperties.BorderRadiusUnionType, CSSProperties.BorderRightWidthUnionType, CSSProperties.BorderTopLeftRadiusUnionType, CSSProperties.BorderTopRightRadiusUnionType, CSSProperties.BorderTopWidthUnionType, CSSProperties.BorderWidthUnionType, CSSProperties.FontSizeUnionType, CSSProperties.HeightUnionType, CSSProperties.LineHeightUnionType, CSSProperties.MarginBottomUnionType, CSSProperties.MarginLeftUnionType, CSSProperties.MarginRightUnionType, CSSProperties.MarginTopUnionType, CSSProperties.MarginUnionType, CSSProperties.MaxHeightUnionType, CSSProperties.MaxWidthUnionType, CSSProperties.MinHeightUnionType, CSSProperties.MinWidthUnionType, CSSProperties.OpacityUnionType, CSSProperties.OutlineWidthUnionType, CSSProperties.PaddingBottomUnionType, CSSProperties.PaddingLeftUnionType, CSSProperties.PaddingRightUnionType, CSSProperties.PaddingTopUnionType, CSSProperties.PaddingUnionType, CSSProperties.PerspectiveOriginUnionType, CSSProperties.TransformOriginUnionType, CSSProperties.WidthUnionType, CSSProperties.ZIndexUnionType
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
cssText
int
length
CSSRule
parentRule
-
Fields inherited from class elemental2.dom.CSSProperties
alignContent, alignItems, alignSelf, animation, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationTimingFunction, azimuth, backdropFilter, backfaceVisibility, background, backgroundAttachment, backgroundColor, backgroundImage, backgroundPosition, backgroundRepeat, backgroundSize, border, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxShadow, boxSizing, captionSide, clear, clip, clipPath, color, contain, content, contentVisibility, counterIncrement, counterReset, cssFloat, cue, cueAfter, cueBefore, cursor, direction, display, elevation, emptyCells, fill, fillOpacity, fillRule, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, font, fontFamily, fontSize, fontSizeAdjust, fontStretch, fontStyle, fontVariant, fontWeight, grid, gridArea, gridAutoColumns, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, left, letterSpacing, lineHeight, listStyle, listStyleImage, listStylePosition, listStyleType, margin, marginBottom, marginLeft, marginRight, marginTop, markerOffset, marks, maxHeight, maxWidth, minHeight, minWidth, objectFit, objectPosition, opacity, order, orphans, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, padding, paddingBottom, paddingLeft, paddingRight, paddingTop, page, pageBreakAfter, pageBreakBefore, pageBreakInside, pause, pauseAfter, pauseBefore, perspective, perspectiveOrigin, pitch, pitchRange, playDuring, pointerEvents, position, quotes, resize, richness, right, size, speak, speakHeader, speakNumeral, speakPunctuation, speechRate, stress, stroke, strokeAlignment, strokeDashadjust, strokeDasharray, strokeDashcorner, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, tableLayout, textAlign, textDecoration, textDecorationColor, textDecorationLine, textDecorationPosition, textDecorationStyle, textIndent, textOverflow, textShadow, textTransform, top, transform, transformOrigin, transformStyle, transition, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, unicodeBidi, userSelect, verticalAlign, visibility, voiceFamily, volume, whiteSpace, widows, width, willChange, wordSpacing, wordWrap, zIndex
-
-
Constructor Summary
Constructors Constructor Description CSSStyleDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CSSStyleDeclaration.GetAttributeUnionType
getAttribute(java.lang.String name)
CSSStyleDeclaration.GetAttributeUnionType
getAttribute(java.lang.String name, double flags)
CSSStyleDeclaration.GetExpressionUnionType
getExpression(java.lang.String name)
CSSValue
getPropertyCSSValue(java.lang.String propertyName)
java.lang.String
getPropertyPriority(java.lang.String propertyName)
java.lang.String
getPropertyValue(java.lang.String propertyName)
java.lang.String
item(int index)
boolean
removeAttribute(java.lang.String name)
boolean
removeAttribute(java.lang.String name, double flags)
boolean
removeExpression(java.lang.String name)
java.lang.String
removeProperty(java.lang.String propertyName)
void
setAttribute(java.lang.String name, java.lang.Object value)
Deprecated.void
setAttribute(java.lang.String name, java.lang.Object value, double flags)
Deprecated.void
setExpression(java.lang.String name, java.lang.String expr)
void
setExpression(java.lang.String name, java.lang.String expr, java.lang.String language)
void
setProperty(java.lang.String propertyName, java.lang.String value)
void
setProperty(java.lang.String propertyName, java.lang.String value, java.lang.String priority)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
cssText
public java.lang.String cssText
-
length
public int length
-
parentRule
public CSSRule parentRule
-
-
Method Detail
-
getAttribute
public CSSStyleDeclaration.GetAttributeUnionType getAttribute(java.lang.String name, double flags)
-
getAttribute
public CSSStyleDeclaration.GetAttributeUnionType getAttribute(java.lang.String name)
-
getExpression
public CSSStyleDeclaration.GetExpressionUnionType getExpression(java.lang.String name)
-
getPropertyCSSValue
public CSSValue getPropertyCSSValue(java.lang.String propertyName)
-
getPropertyPriority
public java.lang.String getPropertyPriority(java.lang.String propertyName)
-
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String propertyName)
-
item
public java.lang.String item(int index)
-
removeAttribute
public boolean removeAttribute(java.lang.String name, double flags)
-
removeAttribute
public boolean removeAttribute(java.lang.String name)
-
removeExpression
public boolean removeExpression(java.lang.String name)
-
removeProperty
public java.lang.String removeProperty(java.lang.String propertyName)
-
setAttribute
@Deprecated public void setAttribute(java.lang.String name, java.lang.Object value, double flags)
Deprecated.
-
setAttribute
@Deprecated public void setAttribute(java.lang.String name, java.lang.Object value)
Deprecated.
-
setExpression
public void setExpression(java.lang.String name, java.lang.String expr, java.lang.String language)
-
setExpression
public void setExpression(java.lang.String name, java.lang.String expr)
-
setProperty
public void setProperty(java.lang.String propertyName, java.lang.String value, java.lang.String priority)
-
setProperty
public void setProperty(java.lang.String propertyName, java.lang.String value)
-
-