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>CSS2CounterIncrement</code> interface represents a simple value
19: * for the counter-increment CSS Level 2 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 CSS2CounterIncrement extends CSSValue {
27: /**
28: * The element name.
29: * @exception DOMException
30: * SYNTAX_ERR: Raised if the specified identifier has a syntax error
31: * and is unparsable.
32: * <br> NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is
33: * readonly.
34: */
35: public String getIdentifier();
36:
37: public void setIdentifier(String identifier) throws DOMException;
38:
39: /**
40: * The increment. (Default value is 1.)
41: * @exception DOMException
42: * NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is readonly.
43: */
44: public short getIncrement();
45:
46: public void setIncrement(short increment) throws DOMException;
47:
48: }
|