org.xwiki.gwt.dom.client
Class Property

java.lang.Object
  extended by 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.
 
Method Summary
 java.lang.String getCSSName()
           
 java.lang.String getDefaultValue()
           
 java.lang.String getJSName()
           
 boolean isInheritable()
           
 boolean isMultipleValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 sheets
inheritable - whether the property is inherited by child nodes or not
multipleValue - whether the property can have multiple values or not
defaultValue - 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 sheets
jsName - the name of this property, used in scripts
inheritable - whether the property is inherited by child nodes or not
multipleValue - whether the property can have multiple values or not
defaultValue - the default value of the property
Method Detail

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.