|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.css.CSSCounter
public class CSSCounter
A CSS counter identified by it's name.
Constructor Summary | |
---|---|
CSSCounter(java.lang.String name)
Constructor. |
|
CSSCounter(java.lang.String name,
int defaultValue)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
|
int |
getValue()
|
int |
hashCode()
|
void |
increment(int increment)
Increment the counter. |
void |
reset()
Reset the counter to the initial value. |
void |
setDefaultValue(int defValue)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CSSCounter(java.lang.String name)
name
- The name of the counter.public CSSCounter(java.lang.String name, int defaultValue)
name
- The name of the counter.defaultValue
- The default value.Method Detail |
---|
public void increment(int increment)
increment
- The indrement value.public void reset()
public int getValue()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public void setDefaultValue(int defValue)
defValue
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |