All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.aural.ACssStress
java.lang.Object
|
+----org.w3c.css.properties.CssProperty
|
+----org.w3c.css.aural.ACssProperty
|
+----org.w3c.css.aural.ACssStress
- public class ACssStress
- extends ACssProperty
'stress'
Value: <number>|inherit
Initial: 50%
Applies to: all elements
Inherited: yes
Percentage values: Relative to...
Specifies the level of stress (assertiveness or emphasis) of the
speaking voice. English is a stressed language, and
different parts of a sentence are assigned primary, secondary or
tertiary stress. The value of property 'stress' controls the amount of
inflection that results from these stress markers.
Increasing the value of this property results in the speech being
more strongly inflected. It is in a sense dual to property
:pitch-range and is provided to allow developers to exploit
higher-end auditory displays.
-
ACssStress()
- Create a new ACssStress
-
ACssStress(CssExpression)
- Creates a new ACssStress
-
addToStyle(CssStyle)
- Add this property to the CssStyle.
-
equals(CssProperty)
- Compares two properties for equality.
-
get()
- Returns the value of this property
-
getPropertyInStyle(CssStyle, boolean)
- Get this property in the style.
-
getPropertyName()
- Returns the name of this property
-
isSoftlyInherited()
- Returns true if this property is "softly" inherited
e.g.
-
toString()
- Returns a string representation of the object.
ACssStress
public ACssStress()
- Create a new ACssStress
ACssStress
public ACssStress(CssExpression expression) throws InvalidParamException
- Creates a new ACssStress
- Parameters:
- expression - The expression for this property
- Throws: InvalidParamException
- Values are incorrect
get
public Object get()
- Returns the value of this property
- Overrides:
- get in class CssProperty
getPropertyName
public String getPropertyName()
- Returns the name of this property
- Overrides:
- getPropertyName in class CssProperty
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
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class CssProperty
addToStyle
public void addToStyle(CssStyle style)
- Add this property to the CssStyle.
- Parameters:
- style - The CssStyle
- Overrides:
- addToStyle in class CssProperty
equals
public boolean equals(CssProperty property)
- Compares two properties for equality.
- Parameters:
- property - The other property.
- Overrides:
- equals in class CssProperty
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