public class Property extends Object
| Constructor and Description |
|---|
Property(String cssName,
boolean inheritable,
boolean multipleValue,
String defaultValue)
Creates a new style property with the given description.
|
Property(String cssName,
String jsName,
boolean inheritable,
boolean multipleValue,
String defaultValue)
Creates a new style property with the given description.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCSSName() |
String |
getDefaultValue() |
String |
getJSName() |
boolean |
isInheritable() |
boolean |
isMultipleValue() |
public Property(String cssName, boolean inheritable, boolean multipleValue, String defaultValue)
cssName - the name of property, used in style sheetsinheritable - whether the property is inherited by child nodes or notmultipleValue - whether the property can have multiple values or notdefaultValue - the default value of the propertypublic Property(String cssName, String jsName, boolean inheritable, boolean multipleValue, String defaultValue)
cssName - the name of property, used in style sheetsjsName - the name of this property, used in scriptsinheritable - whether the property is inherited by child nodes or notmultipleValue - whether the property can have multiple values or notdefaultValue - the default value of the propertypublic String getCSSName()
public String getJSName()
public boolean isInheritable()
true if this property is inherited by child nodes, false otherwisepublic boolean isMultipleValue()
true if this property can have multiple values, false otherwisepublic String getDefaultValue()
Copyright © 2004–2014 XWiki. All rights reserved.