org.xwiki.gwt.dom.client
Class Property
java.lang.Object
org.xwiki.gwt.dom.client.Property
public class Property
- extends java.lang.Object
Style property.
- Version:
- $Id: Property.java 18266 2009-04-07 08:14:11Z mflorea $
|
Constructor Summary |
Property(java.lang.String cssName,
boolean inheritable,
boolean multipleValue,
java.lang.String defaultValue)
Creates a new style property with the given description. |
Property(java.lang.String cssName,
java.lang.String jsName,
boolean inheritable,
boolean multipleValue,
java.lang.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(java.lang.String cssName,
boolean inheritable,
boolean multipleValue,
java.lang.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(java.lang.String cssName,
java.lang.String jsName,
boolean inheritable,
boolean multipleValue,
java.lang.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 java.lang.String getCSSName()
- Returns:
- the name of this property used in style sheets
getJSName
public java.lang.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 java.lang.String getDefaultValue()
- Returns:
- the default value of this property
Copyright © 2004-2009 XWiki. All Rights Reserved.