|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.nebula.widgets.nattable.test.fixture.TickUpdateHandlerFixture
public class TickUpdateHandlerFixture
Field Summary |
---|
Fields inherited from interface org.eclipse.nebula.widgets.nattable.tickupdate.ITickUpdateHandler |
---|
DEFAULT_TICK_UPDATE_HANDLER |
Constructor Summary | |
---|---|
TickUpdateHandlerFixture()
|
Method Summary | |
---|---|
Object |
getDecrementedValue(Object currentValue)
Perform an decrement of the current value by a default value. |
Object |
getDecrementedValue(Object currentValue,
double decrementSize)
Perform an decrement of the current value by the given decrement value. |
Object |
getIncrementedValue(Object currentValue)
Perform an increment of the current value by a default value. |
Object |
getIncrementedValue(Object currentValue,
double incrementSize)
Perform an increment of the current value by the given increment value. |
boolean |
isApplicableFor(Object value)
Checks if the given object can be handled by this handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TickUpdateHandlerFixture()
Method Detail |
---|
public boolean isApplicableFor(Object value)
ITickUpdateHandler
isApplicableFor
in interface ITickUpdateHandler
value
- The value to check.
true
if this handler is able to perform tick updates
on the given value, false
if not.public Object getDecrementedValue(Object currentValue)
ITickUpdateHandler
getDecrementedValue
in interface ITickUpdateHandler
currentValue
- The value to perform the decrement on.
public Object getIncrementedValue(Object currentValue)
ITickUpdateHandler
getIncrementedValue
in interface ITickUpdateHandler
currentValue
- The value to perform the increment on.
public Object getIncrementedValue(Object currentValue, double incrementSize)
ITickUpdateHandler
getIncrementedValue
in interface ITickUpdateHandler
currentValue
- The value to perform the increment on.incrementSize
- The value the currentValue should be incremented by.
public Object getDecrementedValue(Object currentValue, double decrementSize)
ITickUpdateHandler
getDecrementedValue
in interface ITickUpdateHandler
currentValue
- The value to perform the decrement on.decrementSize
- The value the currentValue should be decremented by.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |