additv.controls
Class AFloatSmoothed

java.lang.Object
  extended by additv.controls.AControllable
      extended by additv.controls.AControllableFloat
          extended by additv.controls.AFloatAbstract
              extended by additv.controls.AFloatSmoothed
All Implemented Interfaces:
AControllableI, ASpreadI

public class AFloatSmoothed
extends AFloatAbstract


Field Summary
 float dampingTime
           
 megamu.shapetween.Tween tweener
           
 int tweenType
           
 
Fields inherited from class additv.controls.AFloatAbstract
max, min
 
Fields inherited from class additv.controls.AControllable
name, oscP5
 
Constructor Summary
AFloatSmoothed(java.lang.String _name, float val, float _min, float _max)
           
AFloatSmoothed(java.lang.String _name, float val, float _min, float _max, float damping)
           
AFloatSmoothed(java.lang.String _name, float val, float _min, float _max, float damping, int tType)
           
 
Method Summary
 float get()
           
 float get(boolean update)
           
 float get(int index)
           
 float getMax()
           
 float getMin()
           
 int getSpreadCount()
           
 void set(float _t)
           
 void setNow(float _t)
           
 void setRelative(float d)
           
 int type()
           
 
Methods inherited from class additv.controls.AFloatAbstract
getValue, notifyListeners, setValue
 
Methods inherited from class additv.controls.AControllableFloat
lerp
 
Methods inherited from class additv.controls.AControllable
addListener, getName, setSender
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dampingTime

public float dampingTime

tweener

public megamu.shapetween.Tween tweener

tweenType

public int tweenType
Constructor Detail

AFloatSmoothed

public AFloatSmoothed(java.lang.String _name,
                      float val,
                      float _min,
                      float _max,
                      float damping,
                      int tType)

AFloatSmoothed

public AFloatSmoothed(java.lang.String _name,
                      float val,
                      float _min,
                      float _max,
                      float damping)

AFloatSmoothed

public AFloatSmoothed(java.lang.String _name,
                      float val,
                      float _min,
                      float _max)
Method Detail

get

public float get()
Specified by:
get in class AControllableFloat

set

public void set(float _t)
Specified by:
set in class AControllableFloat

setNow

public void setNow(float _t)

setRelative

public void setRelative(float d)
Specified by:
setRelative in class AFloatAbstract

type

public int type()

getMax

public float getMax()
Specified by:
getMax in class AFloatAbstract

getMin

public float getMin()
Specified by:
getMin in class AFloatAbstract

getSpreadCount

public int getSpreadCount()

get

public float get(int index)
Specified by:
get in class AControllableFloat

get

public float get(boolean update)