All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.css.aural.ACssPauseBefore

java.lang.Object
   |
   +----org.w3c.css.properties.CssProperty
           |
           +----org.w3c.css.aural.ACssProperty
                   |
                   +----org.w3c.css.aural.ACssPauseBefore

public class ACssPauseBefore
extends ACssProperty
   'pause-before'

Value: <time> | <percentage>
Initial: UA specific
Applies to: all elements
Inherited: no
Percentage values: NA

This property specifies the pause before an element is spoken. It may be given in an absolute units (seconds, milliseconds) or as a relative value - in which case it is relative to the reciprocal of the 'speed' property: if speed is 120 words per minute (ie a word takes half a second, 500 milliseconds) then a pause-before of 100% means a pause of 500 ms and a pause-before of 20% means 100ms.

Using relative units gives more robust stylesheets in the face of large changes in speed and is recommended practice.


Constructor Index

 o ACssPauseBefore()
Create a new ACssPauseBefore
 o ACssPauseBefore(CssExpression)
Creates a new ACssPauseBefore

Method Index

 o addToStyle(CssStyle)
Add this property to the CssStyle.
 o equals(CssProperty)
Compares two properties for equality.
 o get()
Returns the current value
 o getPropertyInStyle(CssStyle, boolean)
Get this property in the style.
 o getPropertyName()
Returns the name of this property
 o getValue()
Returns some usable value of this property...
 o isSoftlyInherited()
Returns true if this property is "softly" inherited e.g.
 o toString()
Returns a string representation of the object.

Constructors

 o ACssPauseBefore
 public ACssPauseBefore()
Create a new ACssPauseBefore

 o ACssPauseBefore
 public ACssPauseBefore(CssExpression expression) throws InvalidParamException
Creates a new ACssPauseBefore

Parameters:
expression - the expression of the size
Throws: InvalidParamException
The expression is incorrect

Methods

 o get
 public Object get()
Returns the current value

Overrides:
get in class CssProperty
 o getValue
 public int getValue()
Returns some usable value of this property...

 o isSoftlyInherited
 public boolean isSoftlyInherited()
Returns true if this property is "softly" inherited e.g. his value is equals to inherit

Overrides:
isSoftlyInherited in class CssProperty
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class CssProperty
 o getPropertyName
 public String getPropertyName()
Returns the name of this property

Overrides:
getPropertyName in class CssProperty
 o addToStyle
 public void addToStyle(CssStyle style)
Add this property to the CssStyle.

Parameters:
style - The CssStyle
Overrides:
addToStyle in class CssProperty
 o equals
 public boolean equals(CssProperty property)
Compares two properties for equality.

Parameters:
value - The other property.
Overrides:
equals in class CssProperty
 o getPropertyInStyle
 public CssProperty getPropertyInStyle(CssStyle style,
                                       boolean resolve)
Get this property in the style.

Parameters:
style - The style where the property is
resolve - if true, resolve the style to find this property
Overrides:
getPropertyInStyle in class CssProperty

All Packages  Class Hierarchy  This Package  Previous  Next  Index