01: /*
02: * Copyright (c) 2000 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10: * details.
11: */
12:
13: package org.w3c.dom.css;
14:
15: import org.w3c.dom.DOMException;
16:
17: /**
18: * The <code>CSS2Cursor</code> interface represents the cursor CSS Level 2
19: * property.
20: * <p> For this extension of the <code>CSSValue</code> interface, the
21: * <code>valueType</code> attribute of the underlying <code>CSSValue</code>
22: * interface shall be <code>CSS_CUSTOM</code> .
23: * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
24: * @since DOM Level 2
25: */
26: public interface CSS2Cursor extends CSSValue {
27: /**
28: * <code>uris</code> represents the list of URIs (<code>CSS_URI</code> )
29: * on the cursor property. The list can be empty.
30: */
31: public CSSValueList getUris();
32:
33: /**
34: * This identifier represents a generic cursor name or an empty string.
35: * @exception DOMException
36: * SYNTAX_ERR: Raised if the specified CSS string value has a syntax
37: * error and is unparsable.
38: * <br> NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
39: * readonly.
40: */
41: public String getPredefinedCursor();
42:
43: public void setPredefinedCursor(String predefinedCursor)
44: throws DOMException;
45:
46: }
|