|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcontrolP5.ControlP5Base
public class ControlP5Base
Field Summary |
---|
Fields inherited from interface controlP5.ControlP5Constants |
---|
acceptClassList, ACTIVE, ALT, ARC, ARRAY, BACKSPACE, BOOLEAN, BOTTOM, CENTER, CONTROL, controlEventClass, CUSTOM, DECREASE, DEFAULT, DELETE, DOWN, ELLIPSE, ENTER, ESCAPE, EVENT, eventMethod, FIELD, FLOAT, HALF_PI, HIDE, HIGHLIGHT, HORIZONTAL, IMAGE, INCREASE, INTEGER, INVALID, KEYCONTROL, LEFT, LINE, LOAD, MENU, METHOD, MOVE, OVER, PI, PRESSED, PRINT, RELEASE, RESET, RIGHT, SAVE, SHIFT, SPRITE, STRING, SWITCH, SWITCH_BACK, SWITCH_FORE, TAB, TOP, TWO_PI, UP, VERBOSE, VERTICAL |
Constructor Summary | |
---|---|
ControlP5Base()
|
Method Summary | |
---|---|
Bang |
addBang(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
add a bang to controlP5. |
Button |
addButton(java.lang.String theName)
|
Button |
addButton(java.lang.String theName,
float theValue)
|
Button |
addButton(java.lang.String theName,
float theValue,
int theX,
int theY,
int theW,
int theH)
a button to controlP5. |
Chart |
addChart(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
|
CheckBox |
addCheckBox(java.lang.String theName,
int theX,
int theY)
|
ColorPicker |
addColorPicker(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
add a simple RGB colorpicker. |
ControlWindow |
addControlWindow(java.lang.String theName)
|
ControlWindow |
addControlWindow(java.lang.String theWindowName,
int theWidth,
int theHeight)
create a new ControlWindow. |
ControlWindow |
addControlWindow(java.lang.String theWindowName,
int theX,
int theY,
int theWidth,
int theHeight)
|
ControlWindow |
addControlWindow(java.lang.String theWindowName,
int theX,
int theY,
int theWidth,
int theHeight,
int theFrameRate)
|
ControlWindow |
addControlWindow(java.lang.String theWindowName,
int theX,
int theY,
int theWidth,
int theHeight,
java.lang.String theRenderer,
int theFrameRate)
create a new ControlWindow. |
DropdownList |
addDropdownList(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
adds a pulldown-menu. |
ControlGroup |
addGroup(java.lang.String theName,
int theX,
int theY)
|
ControlGroup |
addGroup(java.lang.String theName,
int theX,
int theY,
int theW)
add a group to controlP5. |
Knob |
addKnob(java.lang.String theName,
float theMin,
float theMax,
float theDefaultValue,
int theX,
int theY,
int theDiameter)
add a knob to controlP5. |
Knob |
addKnob(java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theDiameter)
add a knob to your controlP5 setup. |
ListBox |
addListBox(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
adds a ListBox. |
Matrix |
addMatrix(java.lang.String theName,
int theCellX,
int theCellY,
int theX,
int theY,
int theWidth,
int theHeight)
|
MultiList |
addMultiList(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
|
Numberbox |
addNumberbox(java.lang.String theName)
|
Numberbox |
addNumberbox(java.lang.String theName,
float theDefaultValue,
int theX,
int theY,
int theWidth,
int theHeight)
add a numberbox to controlP5. |
Numberbox |
addNumberbox(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
add a numberbox to controlP5. |
Radio |
addRadio(java.lang.String theName,
int theX,
int theY)
add a radio list to controlP5. |
Radio |
addRadio(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight,
int theLineSpacing)
|
RadioButton |
addRadioButton(java.lang.String theName,
int theX,
int theY)
|
Range |
addRange(java.lang.String theName,
float theMin,
float theMax,
float theDefaultMinValue,
float theDefaultMaxValue,
int theX,
int theY,
int theW,
int theH)
|
Range |
addRange(java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theWidth,
int theHeight)
add a slider to controlP5. |
ScrollList |
addScrollList(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
add a scroll list to controlP5. |
Slider |
addSlider(java.lang.String theName,
float theMin,
float theMax)
|
Slider |
addSlider(java.lang.String theName,
float theMin,
float theMax,
float theDefaultValue,
int theX,
int theY,
int theW,
int theH)
add a slider to controlP5. |
Slider |
addSlider(java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theWidth,
int theHeight)
add a slider to controlP5. |
Slider2D |
addSlider2D(java.lang.String theName,
float theMinX,
float theMaxX,
float theMinY,
float theMaxY,
float theDefaultValueX,
float theDefaultValueY,
int theX,
int theY,
int theW,
int theH)
|
Slider2D |
addSlider2D(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
add a 2D slider to controlP5. |
Tab |
addTab(ControlWindow theWindow,
java.lang.String theName)
|
Tab |
addTab(processing.core.PApplet theWindow,
java.lang.String theName)
|
Tab |
addTab(java.lang.String theName)
add a tab to controlP5. |
Textarea |
addTextarea(java.lang.String theName,
java.lang.String theText,
int theX,
int theY,
int theW,
int theH)
add a textlabel to controlP5. |
Textfield |
addTextfield(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
add a textfield to controlP5. |
Textlabel |
addTextlabel(java.lang.String theName,
java.lang.String theText,
int theX,
int theY)
|
Toggle |
addToggle(java.lang.String theName)
|
Toggle |
addToggle(java.lang.String theName,
boolean theDefaultValue,
float theX,
float theY,
int theWidth,
int theHeight)
add a toggle to controlP5. |
Toggle |
addToggle(java.lang.String theName,
float theX,
float theY,
int theWidth,
int theHeight)
add a toggle to controlP5. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlP5Base()
Method Detail |
---|
public Tab addTab(java.lang.String theName)
theName
- String
public Tab addTab(processing.core.PApplet theWindow, java.lang.String theName)
public Tab addTab(ControlWindow theWindow, java.lang.String theName)
public Button addButton(java.lang.String theName, float theValue, int theX, int theY, int theW, int theH)
theName
- StringtheValue
- floattheX
- inttheY
- inttheW
- inttheH
- int
public Bang addBang(java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
theName
- StringtheX
- inttheY
- inttheWidth
- inttheHeight
- int
public Toggle addToggle(java.lang.String theName, boolean theDefaultValue, float theX, float theY, int theWidth, int theHeight)
theName
- StringtheDefaultValue
- booleantheX
- floattheY
- floattheWidth
- inttheHeight
- int
public Toggle addToggle(java.lang.String theName, float theX, float theY, int theWidth, int theHeight)
theName
- StringtheDefaultValue
- booleantheX
- floattheY
- floattheWidth
- inttheHeight
- int
public Matrix addMatrix(java.lang.String theName, int theCellX, int theCellY, int theX, int theY, int theWidth, int theHeight)
public Slider2D addSlider2D(java.lang.String theName, int theX, int theY, int theW, int theH)
theName
- theX
- theY
- theW
- theH
-
public Slider2D addSlider2D(java.lang.String theName, float theMinX, float theMaxX, float theMinY, float theMaxY, float theDefaultValueX, float theDefaultValueY, int theX, int theY, int theW, int theH)
public Slider addSlider(java.lang.String theName, float theMin, float theMax, float theDefaultValue, int theX, int theY, int theW, int theH)
theName
- StringtheMin
- floattheMax
- floattheDefaultValue
- floattheX
- inttheY
- inttheW
- inttheH
- int
public Slider addSlider(java.lang.String theName, float theMin, float theMax, int theX, int theY, int theWidth, int theHeight)
theName
- StringtheMin
- floattheMax
- floattheX
- inttheY
- inttheWidth
- inttheHeight
- int
public Range addRange(java.lang.String theName, float theMin, float theMax, float theDefaultMinValue, float theDefaultMaxValue, int theX, int theY, int theW, int theH)
public Range addRange(java.lang.String theName, float theMin, float theMax, int theX, int theY, int theWidth, int theHeight)
theName
- StringtheMin
- floattheMax
- floattheX
- inttheY
- inttheWidth
- inttheHeight
- int
public Numberbox addNumberbox(java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
theName
- StringtheX
- floattheY
- floattheWidth
- inttheHeight
- int
public Numberbox addNumberbox(java.lang.String theName, float theDefaultValue, int theX, int theY, int theWidth, int theHeight)
theName
- StringtheDefaultValue
- inttheX
- floattheY
- floattheWidth
- inttheHeight
- int
public Knob addKnob(java.lang.String theName, float theMin, float theMax, int theX, int theY, int theDiameter)
theName
- StringtheMin
- floattheMax
- floattheX
- floattheY
- floattheDiameter
- int
public MultiList addMultiList(java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
public Knob addKnob(java.lang.String theName, float theMin, float theMax, float theDefaultValue, int theX, int theY, int theDiameter)
theName
- StringtheMin
- floattheMax
- floattheDefaultValue
- floattheX
- floattheY
- floattheDiameter
- int
public Textarea addTextarea(java.lang.String theName, java.lang.String theText, int theX, int theY, int theW, int theH)
theName
- StringtheText
- StringtheX
- inttheY
- inttheW
- inttheH
- int
public Textlabel addTextlabel(java.lang.String theName, java.lang.String theText, int theX, int theY)
public Textfield addTextfield(java.lang.String theName, int theX, int theY, int theW, int theH)
theName
- StringtheX
- inttheY
- inttheW
- inttheH
- int
public Radio addRadio(java.lang.String theName, int theX, int theY)
theName
- StringtheX
- inttheY
- int
public Radio addRadio(java.lang.String theName, int theX, int theY, int theWidth, int theHeight, int theLineSpacing)
public RadioButton addRadioButton(java.lang.String theName, int theX, int theY)
public CheckBox addCheckBox(java.lang.String theName, int theX, int theY)
public ScrollList addScrollList(java.lang.String theName, int theX, int theY, int theW, int theH)
theName
- StringtheX
- inttheY
- inttheW
- inttheH
- int
public ListBox addListBox(java.lang.String theName, int theX, int theY, int theW, int theH)
theName
- theX
- theY
- theW
- theH
-
public DropdownList addDropdownList(java.lang.String theName, int theX, int theY, int theW, int theH)
theName
- theX
- theY
- theW
- theH
-
public ColorPicker addColorPicker(java.lang.String theName, int theX, int theY, int theW, int theH)
theName
- theX
- theY
- theW
- theH
-
public Chart addChart(java.lang.String theName, int theX, int theY, int theW, int theH)
public ControlGroup addGroup(java.lang.String theName, int theX, int theY, int theW)
theName
- StringtheX
- inttheY
- int
public ControlGroup addGroup(java.lang.String theName, int theX, int theY)
public ControlWindow addControlWindow(java.lang.String theWindowName, int theWidth, int theHeight)
theWindowName
- StringtheWidth
- inttheHeight
- int
public ControlWindow addControlWindow(java.lang.String theWindowName, int theX, int theY, int theWidth, int theHeight)
public ControlWindow addControlWindow(java.lang.String theWindowName, int theX, int theY, int theWidth, int theHeight, int theFrameRate)
public ControlWindow addControlWindow(java.lang.String theWindowName, int theX, int theY, int theWidth, int theHeight, java.lang.String theRenderer, int theFrameRate)
theWindowName
- StringtheX
- inttheY
- inttheWidth
- inttheHeight
- int
public Slider addSlider(java.lang.String theName, float theMin, float theMax)
public Button addButton(java.lang.String theName)
public Button addButton(java.lang.String theName, float theValue)
public Toggle addToggle(java.lang.String theName)
public Numberbox addNumberbox(java.lang.String theName)
public ControlWindow addControlWindow(java.lang.String theName)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |