public class Property extends CSSOMObjectImpl
| Constructor and Description |
|---|
Property()
Constructor.
|
Property(String name,
org.w3c.dom.css.CSSValue value,
boolean important)
Creates new Property.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
Returns the name.
|
org.w3c.dom.css.CSSValue |
getValue()
Returns the value.
|
int |
hashCode() |
boolean |
isImportant()
Returns true if the important flag is set.
|
void |
setImportant(boolean important)
Sets the important flag to a new value.
|
void |
setName(String name)
Sets the name to a new value.
|
void |
setValue(org.w3c.dom.css.CSSValue value)
Sets the value to a new value.
|
String |
toString() |
getUserData, getUserDataMap, setUserData, setUserDataMappublic Property(String name, org.w3c.dom.css.CSSValue value, boolean important)
name - the namevalue - the valueimportant - true if the important flag setpublic Property()
public String getName()
public void setName(String name)
name - the new namepublic org.w3c.dom.css.CSSValue getValue()
public boolean isImportant()
public void setValue(org.w3c.dom.css.CSSValue value)
value - the new CSSValuepublic void setImportant(boolean important)
important - the new flag valuepublic boolean equals(Object obj)
equals in class CSSOMObjectImplpublic int hashCode()
hashCode in class CSSOMObjectImplCopyright © 2016. All rights reserved.