Oxygen XML Editor 11.2 Author API

ro.sync.ecss.css
Class CSSCounterIncrement

java.lang.Object
  extended by ro.sync.ecss.css.CSSCounterIncrement

public class CSSCounterIncrement
extends Object

A CSS counter increment data.


Constructor Summary
CSSCounterIncrement(String name)
          Constructor.
CSSCounterIncrement(String name, int incrVal)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 int getIncrement()
           
 String getName()
           
 int hashCode()
           
 void setIncrement(int val)
          Sets the increment value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSSCounterIncrement

public CSSCounterIncrement(String name)
Constructor.

Parameters:
name - The name of the counter.

CSSCounterIncrement

public CSSCounterIncrement(String name,
                           int incrVal)
Constructor.

Parameters:
name - The name of the counter.
incrVal - The default value.
Method Detail

getIncrement

public int getIncrement()
Returns:
The value of increment.

getName

public String getName()
Returns:
The counter name.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

setIncrement

public void setIncrement(int val)
Sets the increment value.

Parameters:
val - The increment value.

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.