All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.css.aural.ACssCueAfter

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

public class ACssCueAfter
extends ACssProperty
   'cue-after'

Value: <url> | none
Initial: none
Applies to: all elements
Inherited: no
Percentage values: NA

Auditory icons are another way to distinguish semantic elements. Sounds may be played before, and/or after the element to delimit it. The same sound can be used both before and after, using the shorthand 'cue' property.

Examples:

   A {cue-before: url(bell.aiff); cue-after: url(dong.wav) }
   H1 {cue-before: url(pop.au); cue-after: url(pop.au) }
   H1 {cue: url(pop.au) }  / * same as previous * /
 

The :before and :after pseudo-elements (see frostings document) could be used to generate this content, rather than using two special-purpose properties. This would be more general.


Constructor Index

 o ACssCueAfter()
Create a new ACssCueAfter
 o ACssCueAfter(ACssCueBefore)
Create a new ACssCueAfter
 o ACssCueAfter(CssExpression)
Creates a new ACssCueAfter

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 ACssCueAfter
 public ACssCueAfter()
Create a new ACssCueAfter

 o ACssCueAfter
 public ACssCueAfter(ACssCueBefore cueBefore)
Create a new ACssCueAfter

 o ACssCueAfter
 public ACssCueAfter(CssExpression value) throws InvalidParamException
Creates a new ACssCueAfter

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

Methods

 o get
 public Object get()
Returns the current value

Overrides:
get in class CssProperty
 o getValue
 public URL getValue() throws IOException
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.

Overrides:
addToStyle in class CssProperty
 o equals
 public boolean equals(CssProperty property)
Compares two properties for equality.

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

Overrides:
getPropertyInStyle in class CssProperty

All Packages  Class Hierarchy  This Package  Previous  Next  Index