|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface IncrementInterface
IncrementInterface describes an interface that allows a value amount to be incrementally changed using incrementBy()
| Field Summary | |
|---|---|
static int |
BLOCK
BLOCK increment Type identifier, used in incrementBy() |
static int |
UNIT
UNIT increment Type identifier used in incrementBy() |
| Method Summary | |
|---|---|
abstract java.lang.Number |
getBlockIncrementNumber()
Gets the block value increment for the IncrementInterface object. |
abstract java.lang.Number |
getUnitIncrementNumber()
Gets the unit value increment for the IncrementInterface object. |
abstract java.lang.Number |
incrementBy(int increment,
int incrementType)
Increment, by unit or block increment amount, the current value by the specified number of increments. |
abstract void |
setBlockIncrementNumber(java.lang.Number block)
Sets the block value increment for the IncrementInterface object. |
abstract void |
setUnitIncrementNumber(java.lang.Number unit)
Sets the unit value increment for the IncrementInterface object. |
| Field Detail |
|---|
static final int UNIT
static final int BLOCK
| Method Detail |
|---|
java.lang.Number incrementBy(int increment,
int incrementType)
increment - The number of incrementType(unit or block) amounts to increment
the current value(can be negative to decrement value).incrementType - UNIT to increment by the unit amount;
BLOCK to increment by the block amountjava.lang.Number getBlockIncrementNumber()
java.lang.Number getUnitIncrementNumber()
void setBlockIncrementNumber(java.lang.Number block)
block - the block incrementvoid setUnitIncrementNumber(java.lang.Number unit)
unit - the unit increment
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||