|
|
The <code> CSS2Azimuth </code> interface represents the <a href="http://www.w3.org/TR/REC-CSS2/aural.html#propdef-azimuth"> azimuth </a> CSS Level 2 property.
CSS2Azimuth ()
| CSS2Azimuth |
CSS2Azimuth (const CSS2Azimuth &other)
| CSS2Azimuth |
CSS2Azimuth (CSS2AzimuthImpl *impl)
| CSS2Azimuth |
CSS2Azimuth & operator = (const CSS2Azimuth &other)
| operator = |
Reimplemented from CSSValue.
~CSS2Azimuth ()
| ~CSS2Azimuth |
unsigned short azimuthType ()
| azimuthType |
[const]
A code defining the type of the value as defined in <code> CSSValue </code> . It would be one of <code> CSS_DEG </code> , <code> CSS_RAD </code> , <code> CSS_GRAD </code> or <code> CSS_IDENT </code> .
DOM::DOMString identifier ()
| identifier |
[const]
If <code> azimuthType </code> is <code> CSS_IDENT </code> , <code> identifier </code> contains one of left-side, far-left, left, center-left, center, center-right, right, far-right, right-side, leftwards, rightwards. The empty string if none is set.
bool behind ()
| behind |
[const]
<code> behind </code> indicates whether the behind identifier has been set.
void setAngleValue ( const unsigned short unitType, const float floatValue )
| setAngleValue |
A method to set the angle value with a specified unit. This method will unset any previously set identifiers values.
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
Parameters:
unitType | The unitType could only be one of <code> CSS_DEG </code> , <code> CSS_RAD </code> or <code> CSS_GRAD </code> ). |
floatValue | The new float value of the angle. |
Throws: DOMException, INVALID_ACCESS_ERR:, Raised, if, the, unit, type, is, invalid.
float getAngleValue ( const unsigned short unitType )
| getAngleValue |
Used to retrieved the float value of the azimuth property.
Parameters:
unitType | The unit type can be only an angle unit type ( <code> CSS_DEG </code> , <code> CSS_RAD </code> or <code> CSS_GRAD </code> ). |
Returns: The float value.
Throws: DOMException, INVALID_ACCESS_ERR:, Raised, if, the, unit, type, is, invalid.
void setIdentifier ( const DOM::DOMString &identifier, const bool behind )
| setIdentifier |
Setting the identifier for the azimuth property will unset any previously set angle value. The value of <code> azimuthType </code> is set to <code> CSS_IDENT </code>
NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
Parameters:
identifier | The new identifier. If the identifier is "leftwards" or "rightward", the behind attribute is ignored. |
behind | The new value for behind. |
Throws: DOMException, SYNTAX_ERR:, Raised, if, the, specified, <code>, identifier, </code>, has, a, syntax, error, and, is, unparsable.
Generated by: root@daffy.perf.redhat.com on Mon Jul 14 13:28:10 2003, using kdoc 2.0a53. |