|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcontrolP5.Controller
controlP5.Knob
public class Knob
a knob. description tbd.
Field Summary |
---|
Fields inherited from class controlP5.Controller |
---|
MOVE, PRESSED, RELEASE |
Fields inherited from interface controlP5.ControlP5Constants |
---|
acceptClassList, ALT, ARRAY, BACKSPACE, BOOLEAN, CONTROL, DECREASE, DELETE, DOWN, ENTER, ESCAPE, eventMethod, FIELD, FLOAT, HALF_PI, HIDE, INCREASE, INTEGER, INVALID, KEYCONTROL, LEFT, LOAD, MENU, METHOD, PI, PRINT, RESET, RIGHT, SAVE, SHIFT, STRING, SWITCH_BACK, SWITCH_FORE, TAB, TWO_PI, UP, VERBOSE |
Constructor Summary | |
---|---|
Knob(ControlP5 theControlP5,
ControllerGroup theParent,
java.lang.String theName,
float theMin,
float theMax,
float theDefaultValue,
int theX,
int theY,
int theWidth)
|
Method Summary | |
---|---|
void |
addToXMLElement(ControlP5XMLElement theElement)
|
void |
draw(processing.core.PApplet theApplet)
|
void |
mousePressed()
|
void |
mouseReleased()
|
void |
setMax(float theValue)
set the maximum level of the knob. |
void |
setMin(float theValue)
set the minimum level of the knob. |
void |
setOffsetAngle(float theValue)
|
void |
setValue(float theValue)
set the value of the controller. |
void |
update()
updates the value of the controller without having to set the value explicitly. |
void |
updateInternalEvents(processing.core.PApplet theApplet)
TODO |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Knob(ControlP5 theControlP5, ControllerGroup theParent, java.lang.String theName, float theMin, float theMax, float theDefaultValue, int theX, int theY, int theWidth)
theControlP5
- ControlP5theParent
- ControllerGrouptheName
- StringtheMin
- floattheMax
- floattheDefaultValue
- floattheX
- inttheY
- inttheWidth
- intMethod Detail |
---|
public void updateInternalEvents(processing.core.PApplet theApplet)
Controller
updateInternalEvents
in interface ControllerInterface
updateInternalEvents
in class Controller
ControllerInterfalce.updateInternalEvents
public void draw(processing.core.PApplet theApplet)
draw
in interface CDrawable
draw
in interface ControllerInterface
draw
in class Controller
theApplet
- PAppletpublic void mousePressed()
public void mouseReleased()
public void setMin(float theValue)
setMin
in class Controller
theValue
- floatpublic void setMax(float theValue)
setMax
in class Controller
theValue
- floatpublic void setValue(float theValue)
Controller
setValue
in class Controller
theValue
- floatpublic void update()
Controller
update
in interface ControllerInterface
update
in class Controller
public void setOffsetAngle(float theValue)
public void addToXMLElement(ControlP5XMLElement theElement)
theElement
- ControlP5XMLElement
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |