All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.aural.ACssSpeakDate
java.lang.Object
|
+----org.w3c.css.properties.CssProperty
|
+----org.w3c.css.aural.ACssProperty
|
+----org.w3c.css.aural.ACssSpeakDate
- public class ACssSpeakDate
- extends ACssProperty
  'speak-date'
Value: myd | dmy | ymd
Initial: (Browser-specific)
Applies to: all elements
Inherited: yes
Percentage values: NA
This is a request about how any
dates should be spoken. month-day-year is common in the USA, while
day-month-year is common in Europe and year-month-day is also used.
<p>The campaign started on <date value="1874-oct-21">
the twenty-first of that month</date> and finished
<date value="1874-oct-28">a week later</date>
-
ACssSpeakDate()
- Create a new ACssSpeakDate
-
ACssSpeakDate(CssExpression)
- Creates a new ACssSpeakDate
-
addToStyle(CssStyle)
- Add this property to the CssStyle.
-
equals(CssProperty)
- Compares two properties for equality.
-
get()
- Returns the current value
-
getPropertyInStyle(CssStyle, boolean)
- Get this property in the style.
-
getPropertyName()
- Returns the name of this property
-
toString()
- Returns a string representation of the object.
ACssSpeakDate
public ACssSpeakDate()
- Create a new ACssSpeakDate
ACssSpeakDate
public ACssSpeakDate(CssExpression expression) throws InvalidParamException
- Creates a new ACssSpeakDate
- Parameters:
- expression - the expression of the size
- Throws: InvalidParamException
- The expression is incorrect
get
public Object get()
- Returns the current value
- Overrides:
- get in class CssProperty
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class CssProperty
getPropertyName
public String getPropertyName()
- Returns the name of this property
- Overrides:
- getPropertyName 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:
- value - 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