KHTML
DOM::CSS2Cursor Class Reference
TheCSS2Cursor
interface represents the cursor CSS Level 2 property.
More...
#include <css_extensions.h>
Public Member Functions | |
CSS2Cursor (CSS2CursorImpl *impl) | |
CSS2Cursor (const CSS2Cursor &other) | |
CSS2Cursor () | |
unsigned short | cursorType () const |
CSS2Cursor & | operator= (const CSS2Cursor &other) |
DOM::DOMString | predefinedCursor () const |
void | setCursorType (const unsigned short) |
void | setPredefinedCursor (const DOM::DOMString &) |
CSSValueList | uris () const |
~CSS2Cursor () |
Detailed Description
TheCSS2Cursor
interface represents the cursor CSS Level 2 property.
Definition at line 559 of file css_extensions.h.
Constructor & Destructor Documentation
CSS2Cursor::CSS2Cursor | ( | ) |
Definition at line 332 of file css_extensions.cpp.
CSS2Cursor::CSS2Cursor | ( | const CSS2Cursor & | other | ) |
Definition at line 336 of file css_extensions.cpp.
CSS2Cursor::CSS2Cursor | ( | CSS2CursorImpl * | impl | ) |
Definition at line 340 of file css_extensions.cpp.
CSS2Cursor::~CSS2Cursor | ( | ) |
Definition at line 350 of file css_extensions.cpp.
Member Function Documentation
unsigned short CSS2Cursor::cursorType | ( | ) | const |
A code defining the type of the property.
It would one of CSS_UNKNOWN
or CSS_INHERIT
. If the type is CSS_UNKNOWN
, then uris
contains a list of URIs and predefinedCursor
contains an ident. Setting this attribute from CSS_INHERIT
to CSS_UNKNOWN
will set the predefinedCursor
to "auto"
.
Definition at line 354 of file css_extensions.cpp.
CSS2Cursor & CSS2Cursor::operator= | ( | const CSS2Cursor & | other | ) |
Definition at line 344 of file css_extensions.cpp.
DOMString CSS2Cursor::predefinedCursor | ( | ) | const |
This identifier represents a generic cursor name or an empty string.
Definition at line 373 of file css_extensions.cpp.
void CSS2Cursor::setCursorType | ( | const unsigned short | _cursorType | ) |
void CSS2Cursor::setPredefinedCursor | ( | const DOM::DOMString & | value | ) |
see predefinedCursor
- Exceptions:
-
DOMException SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly.
Definition at line 379 of file css_extensions.cpp.
CSSValueList CSS2Cursor::uris | ( | ) | const |
uris
represents the list of URIs ( CSS_URI
) on the cursor property.
The list can be empty.
Definition at line 367 of file css_extensions.cpp.
The documentation for this class was generated from the following files: