public class CSSStyleDeclaration extends CSSProperties
Modifier and Type | Class and Description |
---|---|
static interface |
CSSStyleDeclaration.GetAttributeUnionType |
static interface |
CSSStyleDeclaration.GetExpressionUnionType |
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
Modifier and Type | Field and Description |
---|---|
java.lang.String |
cssText |
int |
length |
CSSRule |
parentRule |
alignContent, alignItems, alignSelf, azimuth, 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, color, content, counterIncrement, counterReset, cssFloat, cue, cueAfter, cueBefore, cursor, direction, display, elevation, emptyCells, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, font, fontFamily, fontSize, fontSizeAdjust, fontStretch, fontStyle, fontVariant, fontWeight, height, justifyContent, left, letterSpacing, lineHeight, listStyle, listStyleImage, listStylePosition, listStyleType, margin, marginBottom, marginLeft, marginRight, marginTop, markerOffset, marks, maxHeight, maxWidth, minHeight, minWidth, opacity, order, orphans, outline, outlineColor, 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, tableLayout, textAlign, textDecoration, textIndent, textOverflow, textShadow, textTransform, top, transform, transformOrigin, transformStyle, transition, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, unicodeBidi, verticalAlign, visibility, voiceFamily, volume, whiteSpace, widows, width, willChange, wordSpacing, wordWrap, zIndex
Constructor and Description |
---|
CSSStyleDeclaration() |
Modifier and Type | Method and 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) |
void |
setAttribute(java.lang.String name,
java.lang.Object value,
double flags) |
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) |
public java.lang.String cssText
public int length
public CSSRule parentRule
public CSSStyleDeclaration.GetAttributeUnionType getAttribute(java.lang.String name, double flags)
public CSSStyleDeclaration.GetAttributeUnionType getAttribute(java.lang.String name)
public CSSStyleDeclaration.GetExpressionUnionType getExpression(java.lang.String name)
public CSSValue getPropertyCSSValue(java.lang.String propertyName)
public java.lang.String getPropertyPriority(java.lang.String propertyName)
public java.lang.String getPropertyValue(java.lang.String propertyName)
public java.lang.String item(int index)
public boolean removeAttribute(java.lang.String name, double flags)
public boolean removeAttribute(java.lang.String name)
public boolean removeExpression(java.lang.String name)
public java.lang.String removeProperty(java.lang.String propertyName)
public void setAttribute(java.lang.String name, java.lang.Object value, double flags)
public void setAttribute(java.lang.String name, java.lang.Object value)
public void setExpression(java.lang.String name, java.lang.String expr, java.lang.String language)
public void setExpression(java.lang.String name, java.lang.String expr)
public void setProperty(java.lang.String propertyName, java.lang.String value, java.lang.String priority)
public void setProperty(java.lang.String propertyName, java.lang.String value)