class CSS2Azimuth

The CSS2Azimuth interface represents the More...

Full nameDOM::CSS2Azimuth
Definition#include <css_extensions.h>
InheritsDOM::CSSValue [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The CSS2Azimuth interface represents the azimuth 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 CSSValue . It would be one of CSS_DEG , CSS_RAD , CSS_GRAD or CSS_IDENT .

DOM::DOMString  identifier ()

identifier

[const]

If azimuthType is CSS_IDENT , identifier 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]

behind 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:
unitTypeThe unitType could only be one of CSS_DEG , CSS_RAD or CSS_GRAD ).
floatValueThe 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:
unitTypeThe unit type can be only an angle unit type ( CSS_DEG , CSS_RAD or CSS_GRAD ).

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 azimuthType is set to CSS_IDENT

NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.

Parameters:
identifierThe new identifier. If the identifier is "leftwards" or "rightward", the behind attribute is ignored.
behindThe new value for behind.

Throws: DOMException, SYNTAX_ERR:, Raised, if, the, specified, , identifier, , has, a, syntax, error, and, is, unparsable.


Generated by: dfaure on faure on Tue Apr 16 08:50:42 2002, using kdoc 2.0a53.