apps.tablepositionsetup
Class Dial

java.lang.Object
  extended by apps.tablepositionsetup.Dial

public class Dial
extends java.lang.Object

The Class Dial.


Constructor Summary
Dial(ContentSystem contentSystem, int xLoc, int yLoc, float dialRadius, float startValue, float valuePerFullRotation, java.lang.String measure)
          Instantiates a new dial.
 
Method Summary
 void addPrecisionSlider(float range)
          Adds the precision slider.
 void destroyDial()
          Destroy dial.
 float getValue()
          Gets the value.
 void setLowerBound(float bound)
          Sets the lower bound.
 void setUpperBound(float bound)
          Sets the upper bound.
 void setValue(float value)
          Sets the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dial

public Dial(ContentSystem contentSystem,
            int xLoc,
            int yLoc,
            float dialRadius,
            float startValue,
            float valuePerFullRotation,
            java.lang.String measure)
Instantiates a new dial.

Parameters:
contentSystem - the content system
xLoc - the x loc
yLoc - the y loc
dialRadius - the dial radius
startValue - the start value
valuePerFullRotation - the value per full rotation
measure - the measure
Method Detail

addPrecisionSlider

public void addPrecisionSlider(float range)
Adds the precision slider.

Parameters:
range - the range

destroyDial

public void destroyDial()
Destroy dial.


getValue

public float getValue()
Gets the value.

Returns:
the value

setLowerBound

public void setLowerBound(float bound)
Sets the lower bound.

Parameters:
bound - the new lower bound

setUpperBound

public void setUpperBound(float bound)
Sets the upper bound.

Parameters:
bound - the new upper bound

setValue

public void setValue(float value)
Sets the value.

Parameters:
value - the new value