DOM::CSS2Cursor
#include <css_extensions.h>

Public Member Functions | |
CSS2Cursor (const CSS2Cursor &other) | |
CSS2Cursor (CSS2CursorImpl *impl) | |
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 |
![]() | |
CSSValue (const CSSValue &other) | |
CSSValue (CSSValueImpl *impl) | |
DOM::DOMString | cssText () const |
unsigned short | cssValueType () const |
CSSValueImpl * | handle () const |
bool | isCSSPrimitiveValue () const |
bool | isCSSValueList () const |
bool | isNull () const |
CSSValue & | operator= (const CSSValue &other) |
void | setCssText (const DOM::DOMString &) |
Additional Inherited Members | |
![]() | |
enum | UnitTypes { CSS_INHERIT = 0, CSS_PRIMITIVE_VALUE = 1, CSS_VALUE_LIST = 2, CSS_CUSTOM = 3, CSS_INITIAL = 4, CSS_SVG_VALUE = 1001 } |
![]() | |
CSSValueImpl * | impl |
Detailed Description
The CSS2Cursor
interface represents the cursor CSS Level 2 property.
Definition at line 555 of file css_extensions.h.
Member Function Documentation
◆ cursorType()
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 391 of file css_extensions.cpp.
◆ predefinedCursor()
DOMString CSS2Cursor::predefinedCursor | ( | ) | const |
This identifier represents a generic cursor name or an empty string.
Definition at line 415 of file css_extensions.cpp.
◆ setCursorType()
void CSS2Cursor::setCursorType | ( | const unsigned short | _cursorType | ) |
see cursorType
Definition at line 399 of file css_extensions.cpp.
◆ setPredefinedCursor()
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 423 of file css_extensions.cpp.
◆ uris()
CSSValueList CSS2Cursor::uris | ( | ) | const |
uris
represents the list of URIs ( CSS_URI
) on the cursor property.
The list can be empty.
Definition at line 407 of file css_extensions.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Jun 29 2022 04:11:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.