Search for usage in LXR

DOM::CSS2Cursor Class Reference

#include <css_extensions.h>

Inheritance diagram for DOM::CSS2Cursor:

Public Member Functions

 CSS2Cursor (const CSS2Cursor &other)
 CSS2Cursor (CSS2CursorImpl *impl)
unsigned short cursorType () const
CSS2Cursoroperator= (const CSS2Cursor &other)
DOM::DOMString predefinedCursor () const
void setCursorType (const unsigned short)
void setPredefinedCursor (const DOM::DOMString &)
CSSValueList uris () const
- Public Member Functions inherited from DOM::CSSValue
 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
CSSValueoperator= (const CSSValue &other)
void setCssText (const DOM::DOMString &)

Additional Inherited Members

- Public Types inherited from DOM::CSSValue
enum  UnitTypes {
- Protected Attributes inherited from DOM::CSSValue
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

DOMExceptionSYNTAX_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:
This file is part of the KDE documentation.
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.