apps.tablepositionsetup
Class Stepper

java.lang.Object
  extended by apps.tablepositionsetup.Stepper
All Implemented Interfaces:
Updateable

public class Stepper
extends java.lang.Object
implements Updateable

The Class Stepper.


Constructor Summary
Stepper(ContentSystem contentSystem, int x, int y, float startValue, float stepSize, java.lang.String prefix, java.lang.String suffix, java.lang.String measure)
          Instantiates a new stepper.
 
Method Summary
 void destroyDial()
          Destroy dial.
 float getValue()
          Gets the value.
 void setLowerLimit(float limit)
          Sets the lower limit.
 void setUpperLimit(float limit)
          Sets the upper limit.
 void setValue(float value)
          Sets the value.
 void unSetLowerLimit()
          Un set lower limit.
 void unSetUpperLimit()
          Un set upper limit.
 void update(float timePerFrame)
          Update.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stepper

public Stepper(ContentSystem contentSystem,
               int x,
               int y,
               float startValue,
               float stepSize,
               java.lang.String prefix,
               java.lang.String suffix,
               java.lang.String measure)
Instantiates a new stepper.

Parameters:
contentSystem - the content system
x - the x
y - the y
startValue - the start value
stepSize - the step size
prefix - the prefix
suffix - the suffix
measure - the measure
Method Detail

destroyDial

public void destroyDial()
Destroy dial.


getValue

public float getValue()
Gets the value.

Returns:
the value

setLowerLimit

public void setLowerLimit(float limit)
Sets the lower limit.

Parameters:
limit - the new lower limit

setUpperLimit

public void setUpperLimit(float limit)
Sets the upper limit.

Parameters:
limit - the new upper limit

setValue

public void setValue(float value)
Sets the value.

Parameters:
value - the new value

unSetLowerLimit

public void unSetLowerLimit()
Un set lower limit.


unSetUpperLimit

public void unSetUpperLimit()
Un set upper limit.


update

public void update(float timePerFrame)
Description copied from interface: Updateable
Update.

Specified by:
update in interface Updateable
Parameters:
timePerFrame - the time per frame