public class CSSStyleDeclaration extends HtmlUnitScriptable
CSSStyleDeclaration
.org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
NOT_FOUND
Constructor and Description |
---|
CSSStyleDeclaration()
Creates an instance.
|
CSSStyleDeclaration(Element element,
AbstractCssStyleDeclaration styleDeclaration)
Creates an instance and sets its parent scope to the one of the provided element.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int index,
org.htmlunit.corejs.javascript.Scriptable start) |
Object |
get(String name,
org.htmlunit.corejs.javascript.Scriptable start)
Gets a named property from the object.
|
String |
getBackgroundAttachment()
Gets the
backgroundAttachment style attribute. |
String |
getBackgroundColor()
Gets the
backgroundColor style attribute. |
String |
getBackgroundImage()
Gets the
backgroundImage style attribute. |
String |
getBackgroundPosition()
Gets the
backgroundPosition style attribute. |
String |
getBackgroundRepeat()
Gets the
backgroundRepeat style attribute. |
String |
getBorderBottomColor()
Gets the
borderBottomColor style attribute. |
String |
getBorderBottomStyle()
Gets the
borderBottomStyle style attribute. |
String |
getBorderBottomWidth()
Gets the
borderBottomWidth style attribute. |
String |
getBorderLeftColor()
Gets the
borderLeftColor style attribute. |
String |
getBorderLeftStyle()
Gets the
borderLeftStyle style attribute. |
String |
getBorderLeftWidth()
Gets the
borderLeftWidth style attribute. |
String |
getBorderRightColor()
Gets the
borderRightColor style attribute. |
String |
getBorderRightStyle()
Gets the
borderRightStyle style attribute. |
String |
getBorderRightWidth()
Gets the
borderRightWidth style attribute. |
String |
getBorderTop()
Gets the
borderTop style attribute. |
String |
getBorderTopColor()
Gets the
borderTopColor style attribute. |
String |
getBorderTopStyle()
Gets the
borderTopStyle style attribute. |
String |
getBorderTopWidth()
Gets the
borderTopWidth style attribute. |
String |
getBottom()
Gets the
bottom style attribute. |
String |
getColor()
Gets the
color style attribute. |
String |
getCssFloat()
Gets the
cssFloat style attribute. |
protected AbstractCssStyleDeclaration |
getCssStyleDeclaration() |
String |
getCssText()
Returns the actual text of the style.
|
String |
getDisplay()
Gets the
display style attribute. |
String |
getFont()
Gets the
font style attribute. |
String |
getFontFamily()
Gets the
fontFamily style attribute. |
String |
getFontSize()
Gets the
fontSize style attribute. |
String |
getHeight()
Gets the
height style attribute. |
Object[] |
getIds() |
String |
getLeft()
Gets the
left style attribute. |
int |
getLength()
Returns the
length property. |
String |
getLetterSpacing()
Gets the
letterSpacing style attribute. |
String |
getLineHeight()
Gets the
lineHeight style attribute. |
String |
getMargin()
Gets the
margin style attribute. |
String |
getMarginBottom()
Gets the
marginBottom style attribute. |
String |
getMarginLeft()
Gets the
marginLeft style attribute. |
String |
getMarginRight()
Gets the
marginRight style attribute. |
String |
getMarginTop()
Gets the
marginTop style attribute. |
String |
getMaxHeight()
Gets the
maxHeight style attribute. |
String |
getMaxWidth()
Gets the
maxWidth style attribute. |
String |
getMinHeight()
Gets the
minHeight style attribute. |
String |
getMinWidth()
Gets the
minWidth style attribute. |
String |
getOpacity()
Gets the
opacity style attribute. |
String |
getOrphans()
Gets the
orphans style attribute. |
String |
getOutline()
Gets the
outline style attribute. |
String |
getOutlineWidth()
Gets the
outlineWidth style attribute. |
String |
getPadding()
Gets the
padding style attribute. |
String |
getPaddingBottom()
Gets the
paddingBottom style attribute. |
String |
getPaddingLeft()
Gets the
paddingLeft style attribute. |
String |
getPaddingRight()
Gets the
paddingRight style attribute. |
String |
getPaddingTop()
Gets the
paddingTop style attribute. |
CSSRule |
getParentRule()
Returns the CSSRule that is the parent of this style block or
null if this CSSStyleDeclaration is
not attached to a CSSRule. |
String |
getPosition()
Gets the
position style attribute. |
String |
getPropertyPriority(String name)
Gets the value of the specified property of the style.
|
String |
getPropertyValue(String name)
Gets the value of the specified property of the style.
|
String |
getRight()
Gets the
right style attribute. |
String |
getRubyAlign()
Gets the
rubyAlign style attribute. |
String |
getSize()
Gets the
size style attribute. |
String |
getStyleAttribute(StyleAttributes.Definition definition)
Get the value for the style attribute.
|
String |
getStyleAttribute(StyleAttributes.Definition definition,
boolean getDefaultValueIfEmpty)
Get the value for the style attribute.
|
protected String |
getStylePriority(String name)
Returns the priority of the named style attribute, or an empty string if it is not found.
|
String |
getTextIndent()
Gets the
textIndent style attribute. |
String |
getTop()
Gets the
top style attribute. |
String |
getVerticalAlign()
Gets the
verticalAlign style attribute. |
String |
getWidows()
Gets the
widows style attribute. |
String |
getWidth()
Gets the
width style attribute. |
String |
getWordSpacing()
Gets the
wordSpacing style attribute. |
Object |
getZIndex()
Gets the
zIndex style attribute. |
boolean |
has(String name,
org.htmlunit.corejs.javascript.Scriptable start) |
String |
item(int index) |
void |
jsConstructor(String type,
org.htmlunit.corejs.javascript.ScriptableObject details)
JavaScript constructor.
|
void |
put(String name,
org.htmlunit.corejs.javascript.Scriptable start,
Object value) |
String |
removeProperty(Object name)
Removes the named property.
|
void |
setBackgroundAttachment(String backgroundAttachment)
Sets the
backgroundAttachment style attribute. |
void |
setBackgroundColor(String backgroundColor)
Sets the
backgroundColor style attribute. |
void |
setBackgroundImage(String backgroundImage)
Sets the
backgroundImage style attribute. |
void |
setBackgroundPosition(String backgroundPosition)
Sets the
backgroundPosition style attribute. |
void |
setBackgroundRepeat(String backgroundRepeat)
Sets the
backgroundRepeat style attribute. |
void |
setBorderBottomColor(String borderBottomColor)
Sets the
borderBottomColor style attribute. |
void |
setBorderBottomStyle(String borderBottomStyle)
Sets the
borderBottomStyle style attribute. |
void |
setBorderBottomWidth(Object borderBottomWidth)
Sets the
borderBottomWidth style attribute. |
void |
setBorderLeftColor(String borderLeftColor)
Sets the
borderLeftColor style attribute. |
void |
setBorderLeftStyle(String borderLeftStyle)
Sets the
borderLeftStyle style attribute. |
void |
setBorderLeftWidth(Object borderLeftWidth)
Sets the
borderLeftWidth style attribute. |
void |
setBorderRightColor(String borderRightColor)
Sets the
borderRightColor style attribute. |
void |
setBorderRightStyle(String borderRightStyle)
Sets the
borderRightStyle style attribute. |
void |
setBorderRightWidth(Object borderRightWidth)
Sets the
borderRightWidth style attribute. |
void |
setBorderTop(String borderTop)
Sets the
borderTop style attribute. |
void |
setBorderTopColor(String borderTopColor)
Sets the
borderTopColor style attribute. |
void |
setBorderTopStyle(String borderTopStyle)
Sets the
borderTopStyle style attribute. |
void |
setBorderTopWidth(Object borderTopWidth)
Sets the
borderTopWidth style attribute. |
void |
setBottom(Object bottom)
Sets the
bottom style attribute. |
void |
setColor(String color)
Sets the
color style attribute. |
void |
setCssFloat(String value)
Sets the
cssFloat style attribute. |
void |
setCssText(String value)
Sets the actual text of the style.
|
void |
setDisplay(String display)
Sets the
display style attribute. |
void |
setFont(String font)
Sets the
font style attribute. |
void |
setFontFamily(String fontFamily)
Sets the
fontFamily style attribute. |
void |
setFontSize(Object fontSize)
Sets the
fontSize style attribute. |
void |
setHeight(Object height)
Sets the
height style attribute. |
void |
setLeft(Object left)
Sets the
left style attribute. |
void |
setLetterSpacing(Object letterSpacing)
Sets the
letterSpacing style attribute. |
void |
setLineHeight(String lineHeight)
Sets the
lineHeight style attribute. |
void |
setMargin(String margin)
Sets the
margin style attribute. |
void |
setMarginBottom(Object marginBottom)
Sets the
marginBottom style attribute. |
void |
setMarginLeft(Object marginLeft)
Sets the
marginLeft style attribute. |
void |
setMarginRight(Object marginRight)
Sets the
marginRight style attribute. |
void |
setMarginTop(Object marginTop)
Sets the
marginTop style attribute. |
void |
setMaxHeight(Object maxHeight)
Sets the
maxHeight style attribute. |
void |
setMaxWidth(Object maxWidth)
Sets the
maxWidth style attribute. |
void |
setMinHeight(Object minHeight)
Sets the
minHeight style attribute. |
void |
setMinWidth(Object minWidth)
Sets the
minWidth style attribute. |
void |
setOpacity(Object opacity)
Sets the
opacity style attribute. |
void |
setOrphans(String orphans)
Sets the
orphans style attribute. |
void |
setOutline(String outline)
Sets the
outline style attribute. |
void |
setOutlineWidth(Object outlineWidth)
Sets the
outlineWidth style attribute. |
void |
setPadding(String padding)
Sets the
padding style attribute. |
void |
setPaddingBottom(Object paddingBottom)
Sets the
paddingBottom style attribute. |
void |
setPaddingLeft(Object paddingLeft)
Sets the
paddingLeft style attribute. |
void |
setPaddingRight(Object paddingRight)
Sets the
paddingRight style attribute. |
void |
setPaddingTop(Object paddingTop)
Sets the
paddingTop style attribute. |
void |
setParentRule(CSSRule parentRule)
Nothing.
|
void |
setPosition(String position)
Sets the
position style attribute. |
void |
setProperty(String name,
Object value,
String important)
Sets the value of the specified property.
|
void |
setRight(Object right)
Sets the
right style attribute. |
void |
setRubyAlign(String rubyAlign)
Sets the
rubyAlign style attribute. |
void |
setSize(String size)
Sets the
size style attribute. |
protected void |
setStyleAttribute(String name,
String newValue)
Sets the specified style attribute.
|
protected void |
setStyleAttribute(String name,
String newValue,
String important)
Sets the specified style attribute.
|
void |
setTextIndent(Object textIndent)
Sets the
textIndent style attribute. |
void |
setTop(Object top)
Sets the
top style attribute. |
void |
setVerticalAlign(Object verticalAlign)
Sets the
verticalAlign style attribute. |
void |
setWidows(String widows)
Sets the
widows style attribute. |
void |
setWidth(Object width)
Sets the
width style attribute. |
void |
setWordSpacing(Object wordSpacing)
Sets the
wordSpacing style attribute. |
void |
setZIndex(Object zIndex)
Sets the
zIndex style attribute. |
String |
toString() |
org.htmlunit.corejs.javascript.Scriptable |
values()
Returns an Iterator allowing to go through all keys contained in this object.
|
clone, equivalentValues, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getWindow, getWindow, getWindowFromTopCallScope, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, setClassName, setDomNode, setDomNode, setParentScope, setupPromise, setupRejectedPromise
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, size
public CSSStyleDeclaration()
public CSSStyleDeclaration(Element element, AbstractCssStyleDeclaration styleDeclaration)
element
- the element to which this style is boundstyleDeclaration
- the style declaration to be based onpublic void jsConstructor(String type, org.htmlunit.corejs.javascript.ScriptableObject details)
type
- the event typedetails
- the event details (optional)protected AbstractCssStyleDeclaration getCssStyleDeclaration()
protected String getStylePriority(String name)
name
- the name of the style attribute whose value is to be retrievedprotected void setStyleAttribute(String name, String newValue)
name
- the attribute name (camel-cased)newValue
- the attribute valueprotected void setStyleAttribute(String name, String newValue, String important)
name
- the attribute name (camel-cased)newValue
- the attribute valueimportant
- important valuepublic String getBackgroundAttachment()
backgroundAttachment
style attribute.public void setBackgroundAttachment(String backgroundAttachment)
backgroundAttachment
style attribute.backgroundAttachment
- the new attributepublic String getBackgroundColor()
backgroundColor
style attribute.public void setBackgroundColor(String backgroundColor)
backgroundColor
style attribute.backgroundColor
- the new attributepublic String getBackgroundImage()
backgroundImage
style attribute.public void setBackgroundImage(String backgroundImage)
backgroundImage
style attribute.backgroundImage
- the new attributepublic String getBackgroundPosition()
backgroundPosition
style attribute.public void setBackgroundPosition(String backgroundPosition)
backgroundPosition
style attribute.backgroundPosition
- the new attributepublic String getBackgroundRepeat()
backgroundRepeat
style attribute.public void setBackgroundRepeat(String backgroundRepeat)
backgroundRepeat
style attribute.backgroundRepeat
- the new attributepublic String getBorderBottomColor()
borderBottomColor
style attribute.public void setBorderBottomColor(String borderBottomColor)
borderBottomColor
style attribute.borderBottomColor
- the new attributepublic String getBorderBottomStyle()
borderBottomStyle
style attribute.public void setBorderBottomStyle(String borderBottomStyle)
borderBottomStyle
style attribute.borderBottomStyle
- the new attributepublic String getBorderBottomWidth()
borderBottomWidth
style attribute.public void setBorderBottomWidth(Object borderBottomWidth)
borderBottomWidth
style attribute.borderBottomWidth
- the new attributepublic String getBorderLeftColor()
borderLeftColor
style attribute.public void setBorderLeftColor(String borderLeftColor)
borderLeftColor
style attribute.borderLeftColor
- the new attributepublic String getBorderLeftStyle()
borderLeftStyle
style attribute.public void setBorderLeftStyle(String borderLeftStyle)
borderLeftStyle
style attribute.borderLeftStyle
- the new attributepublic String getBorderLeftWidth()
borderLeftWidth
style attribute.public void setBorderLeftWidth(Object borderLeftWidth)
borderLeftWidth
style attribute.borderLeftWidth
- the new attributepublic String getBorderRightColor()
borderRightColor
style attribute.public void setBorderRightColor(String borderRightColor)
borderRightColor
style attribute.borderRightColor
- the new attributepublic String getBorderRightStyle()
borderRightStyle
style attribute.public void setBorderRightStyle(String borderRightStyle)
borderRightStyle
style attribute.borderRightStyle
- the new attributepublic String getBorderRightWidth()
borderRightWidth
style attribute.public void setBorderRightWidth(Object borderRightWidth)
borderRightWidth
style attribute.borderRightWidth
- the new attributepublic String getBorderTop()
borderTop
style attribute.public void setBorderTop(String borderTop)
borderTop
style attribute.borderTop
- the new attributepublic String getBorderTopColor()
borderTopColor
style attribute.public void setBorderTopColor(String borderTopColor)
borderTopColor
style attribute.borderTopColor
- the new attributepublic String getBorderTopStyle()
borderTopStyle
style attribute.public void setBorderTopStyle(String borderTopStyle)
borderTopStyle
style attribute.borderTopStyle
- the new attributepublic String getBorderTopWidth()
borderTopWidth
style attribute.public void setBorderTopWidth(Object borderTopWidth)
borderTopWidth
style attribute.borderTopWidth
- the new attributepublic String getBottom()
bottom
style attribute.public void setBottom(Object bottom)
bottom
style attribute.bottom
- the new attributepublic String getColor()
color
style attribute.public void setColor(String color)
color
style attribute.color
- the new attributepublic String getCssFloat()
cssFloat
style attribute.public void setCssFloat(String value)
cssFloat
style attribute.value
- the new attributepublic String getCssText()
public void setCssText(String value)
value
- the new textpublic String getDisplay()
display
style attribute.public void setDisplay(String display)
display
style attribute.display
- the new attributepublic String getFontSize()
fontSize
style attribute.public void setFontSize(Object fontSize)
fontSize
style attribute.fontSize
- the new attributepublic String getLineHeight()
lineHeight
style attribute.public void setLineHeight(String lineHeight)
lineHeight
style attribute.lineHeight
- the new attributepublic String getFontFamily()
fontFamily
style attribute.public void setFontFamily(String fontFamily)
fontFamily
style attribute.fontFamily
- the new attributepublic String getFont()
font
style attribute.public void setFont(String font)
font
style attribute.font
- the new attributepublic String getHeight()
height
style attribute.public void setHeight(Object height)
height
style attribute.height
- the new attributepublic String getLeft()
left
style attribute.public void setLeft(Object left)
left
style attribute.left
- the new attributepublic int getLength()
length
property.length
propertypublic String item(int index)
index
- the indexpublic org.htmlunit.corejs.javascript.Scriptable values()
public String getLetterSpacing()
letterSpacing
style attribute.public void setLetterSpacing(Object letterSpacing)
letterSpacing
style attribute.letterSpacing
- the new attributepublic String getMargin()
margin
style attribute.public void setMargin(String margin)
margin
style attribute.margin
- the new attributepublic String getMarginBottom()
marginBottom
style attribute.public void setMarginBottom(Object marginBottom)
marginBottom
style attribute.marginBottom
- the new attributepublic String getMarginLeft()
marginLeft
style attribute.public void setMarginLeft(Object marginLeft)
marginLeft
style attribute.marginLeft
- the new attributepublic String getMarginRight()
marginRight
style attribute.public void setMarginRight(Object marginRight)
marginRight
style attribute.marginRight
- the new attributepublic String getMarginTop()
marginTop
style attribute.public void setMarginTop(Object marginTop)
marginTop
style attribute.marginTop
- the new attributepublic String getMaxHeight()
maxHeight
style attribute.public void setMaxHeight(Object maxHeight)
maxHeight
style attribute.maxHeight
- the new attributepublic String getMaxWidth()
maxWidth
style attribute.public void setMaxWidth(Object maxWidth)
maxWidth
style attribute.maxWidth
- the new attributepublic String getMinHeight()
minHeight
style attribute.public void setMinHeight(Object minHeight)
minHeight
style attribute.minHeight
- the new attributepublic String getMinWidth()
minWidth
style attribute.public void setMinWidth(Object minWidth)
minWidth
style attribute.minWidth
- the new attributepublic Object get(String name, org.htmlunit.corejs.javascript.Scriptable start)
HtmlUnitScriptable.getWithPreemption(String)
.
get
in interface org.htmlunit.corejs.javascript.Scriptable
get
in class HtmlUnitScriptable
public Object get(int index, org.htmlunit.corejs.javascript.Scriptable start)
get
in interface org.htmlunit.corejs.javascript.Scriptable
get
in class org.htmlunit.corejs.javascript.ScriptableObject
public final String getStyleAttribute(StyleAttributes.Definition definition)
definition
- the definitionpublic String getStyleAttribute(StyleAttributes.Definition definition, boolean getDefaultValueIfEmpty)
ComputedCSSStyleDeclaration
.definition
- the definitiongetDefaultValueIfEmpty
- whether to get the default value if empty or notpublic void put(String name, org.htmlunit.corejs.javascript.Scriptable start, Object value)
HtmlUnitScriptable
put
in interface org.htmlunit.corejs.javascript.Scriptable
put
in class HtmlUnitScriptable
public boolean has(String name, org.htmlunit.corejs.javascript.Scriptable start)
has
in interface org.htmlunit.corejs.javascript.Scriptable
has
in class org.htmlunit.corejs.javascript.ScriptableObject
public Object[] getIds()
getIds
in interface org.htmlunit.corejs.javascript.Scriptable
getIds
in class org.htmlunit.corejs.javascript.ScriptableObject
public String getOpacity()
opacity
style attribute.public void setOpacity(Object opacity)
opacity
style attribute.opacity
- the new attributepublic String getOutline()
outline
style attribute.public void setOutline(String outline)
outline
style attribute.outline
- the new attributepublic String getOutlineWidth()
outlineWidth
style attribute.public void setOutlineWidth(Object outlineWidth)
outlineWidth
style attribute.outlineWidth
- the new attributepublic String getPadding()
padding
style attribute.public void setPadding(String padding)
padding
style attribute.padding
- the new attributepublic String getPaddingBottom()
paddingBottom
style attribute.public void setPaddingBottom(Object paddingBottom)
paddingBottom
style attribute.paddingBottom
- the new attributepublic String getPaddingLeft()
paddingLeft
style attribute.public void setPaddingLeft(Object paddingLeft)
paddingLeft
style attribute.paddingLeft
- the new attributepublic String getPaddingRight()
paddingRight
style attribute.public void setPaddingRight(Object paddingRight)
paddingRight
style attribute.paddingRight
- the new attributepublic String getPaddingTop()
paddingTop
style attribute.public void setPaddingTop(Object paddingTop)
paddingTop
style attribute.paddingTop
- the new attributepublic CSSRule getParentRule()
null
if this CSSStyleDeclaration is
not attached to a CSSRule.null
if this CSSStyleDeclaration is
not attached to a CSSRulepublic void setParentRule(CSSRule parentRule)
parentRule
- ignoredpublic String getRight()
right
style attribute.public void setRight(Object right)
right
style attribute.right
- the new attributepublic String getRubyAlign()
rubyAlign
style attribute.public void setRubyAlign(String rubyAlign)
rubyAlign
style attribute.rubyAlign
- the new attributepublic String getSize()
size
style attribute.public void setSize(String size)
size
style attribute.size
- the new attributepublic String getTextIndent()
textIndent
style attribute.public void setTextIndent(Object textIndent)
textIndent
style attribute.textIndent
- the new attributepublic String getTop()
top
style attribute.public void setTop(Object top)
top
style attribute.top
- the new attributepublic String getVerticalAlign()
verticalAlign
style attribute.public void setVerticalAlign(Object verticalAlign)
verticalAlign
style attribute.verticalAlign
- the new attributepublic String getWidth()
width
style attribute.public void setWidth(Object width)
width
style attribute.width
- the new attributepublic String getWidows()
widows
style attribute.public void setWidows(String widows)
widows
style attribute.widows
- the new attributepublic String getOrphans()
orphans
style attribute.public void setOrphans(String orphans)
orphans
style attribute.orphans
- the new attributepublic String getPosition()
position
style attribute.public void setPosition(String position)
position
style attribute.position
- the new attributepublic String getWordSpacing()
wordSpacing
style attribute.public void setWordSpacing(Object wordSpacing)
wordSpacing
style attribute.wordSpacing
- the new attributepublic Object getZIndex()
zIndex
style attribute.public void setZIndex(Object zIndex)
zIndex
style attribute.zIndex
- the new attributepublic String getPropertyValue(String name)
name
- the style property namepublic String getPropertyPriority(String name)
name
- the style property namepublic void setProperty(String name, Object value, String important)
name
- the name of the attributevalue
- the value to assign to the attributeimportant
- may be nullpublic String removeProperty(Object name)
name
- the name of the property to removeCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.