org.xwiki.gwt.dom.client
Class Property
java.lang.Object
org.xwiki.gwt.dom.client.Property
- Direct Known Subclasses:
- Style.FloatProperty
public class Property
- extends Object
Style property.
- Version:
- $Id: 752cd99f9feaf70bf69bd28ce709448b0a30d433 $
|
Constructor Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Property
public Property(String cssName,
boolean inheritable,
boolean multipleValue,
String defaultValue)
- Creates a new style property with the given description.
- Parameters:
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 property
Property
public Property(String cssName,
String jsName,
boolean inheritable,
boolean multipleValue,
String defaultValue)
- Creates a new style property with the given description.
- Parameters:
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 property
getCSSName
public String getCSSName()
- Returns:
- the name of this property used in style sheets
getJSName
public String getJSName()
- Returns:
- the name of this property used in scripts
isInheritable
public boolean isInheritable()
- Returns:
true if this property is inherited by child nodes, false otherwise
isMultipleValue
public boolean isMultipleValue()
- Returns:
true if this property can have multiple values, false otherwise
getDefaultValue
public String getDefaultValue()
- Returns:
- the default value of this property
Copyright © 2004-2013 XWiki. All Rights Reserved.