org.w3c.dom.css
Interface CSS2CounterIncrement
- All Superinterfaces:
- CSSValue
- public interface CSS2CounterIncrement
- extends CSSValue
The CSS2CounterIncrement
interface represents a simple value
for the counter-increment CSS Level 2 property.
For this extension of the CSSValue
interface, the
valueType
attribute of the underlying CSSValue
interface shall be CSS_CUSTOM
.
See also the Document Object Model (DOM) Level 2 Specification.
- Since:
- DOM Level 2
getIdentifier
public java.lang.String getIdentifier()
- The element name.
- Throws:
DOMException
- SYNTAX_ERR: Raised if the specified identifier has a syntax error
and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is
readonly.
setIdentifier
public void setIdentifier(java.lang.String identifier)
throws DOMException
getIncrement
public short getIncrement()
- The increment. (Default value is 1.)
- Throws:
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this identifier is readonly.
setIncrement
public void setIncrement(short increment)
throws DOMException