|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcontrolP5.ControlP5Base
public class ControlP5Base
The ControlP5Base supports the ControlP5 class and implements all adder methods to add controllers to controlP5.
Field Summary |
---|
Fields inherited from interface controlP5.ControlP5Constants |
---|
acceptClassList, ACTION_BROADCAST, ACTION_ENTER, ACTION_LEAVE, ACTION_PRESSED, ACTION_RELEASED, ACTION_RELEASEDOUTSIDE, ACTIVE, ALL, ALT, ARC, ARRAY, BACKSPACE, BASELINE, BITFONT, BOOLEAN, BOTTOM, BOTTOM_OUTSIDE, CAPTIONLABEL, CENTER, COMMANDKEY, CONTROL, controlEventClass, CUSTOM, DECREASE, DEFAULT, DELETE, DONE, DOWN, ELLIPSE, ENTER, ESCAPE, EVENT, eventMethod, FADEIN, FADEOUT, FIELD, FLOAT, HALF_PI, HIDE, HIGHLIGHT, HORIZONTAL, IDLE, IMAGE, INACTIVE, INCREASE, INTEGER, INVALID, KEYCONTROL, LEFT, LEFT_OUTSIDE, LINE, LOAD, MENU, METHOD, MOVE, MULTI, MULTIPLES, OVER, PI, PRESSED, PRINT, RELEASE, RESET, RIGHT, RIGHT_OUTSIDE, SAVE, SHIFT, SINGLE, SINGLE_COLUMN, SINGLE_ROW, SPRITE, STRING, SWITCH, SWITCH_BACK, SWITCH_FORE, TAB, TOP, TOP_OUTSIDE, TRANSITION_WAIT_FADEIN, TWO_PI, UP, VALUELABEL, VERBOSE, VERTICAL, WAIT |
Constructor Summary | |
---|---|
ControlP5Base()
|
Method Summary | |
---|---|
Accordion |
addAccordion(java.lang.String theName)
|
Accordion |
addAccordion(java.lang.String theName,
int theX,
int theY,
int theWidth)
|
Bang |
addBang(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName)
|
Bang |
addBang(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
|
Bang |
addBang(java.lang.String theName)
|
Bang |
addBang(java.lang.String theName,
int theX,
int theY)
Deprecated. |
Bang |
addBang(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
Deprecated. |
Button |
addButton(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName)
|
Button |
addButton(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theValue)
|
Button |
addButton(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theValue,
int theX,
int theY,
int theW,
int theH)
|
Button |
addButton(java.lang.String theName)
Adds a default Button, the default value is 1, width and height are set to the default values of Button.autoWidth and Button.autoHeight |
Button |
addButton(java.lang.String theName,
float theValue)
|
Button |
addButton(java.lang.String theName,
float theValue,
int theX,
int theY,
int theW,
int theH)
Deprecated. |
Chart |
addChart(java.lang.String theName)
|
Chart |
addChart(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
adds chart support to display float array based data. |
CheckBox |
addCheckBox(java.lang.String theName)
Use a checkbox for single choice options |
CheckBox |
addCheckBox(java.lang.String theName,
int theX,
int theY)
|
ColorPicker |
addColorPicker(java.lang.String theName)
|
ColorPicker |
addColorPicker(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
adds a simple RGBA colorpicker. |
Println |
addConsole(Textarea theTextarea)
|
java.lang.Object |
addController(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
java.lang.Class theClass,
int theX,
int theY)
Adds Controllers by Object reference, currently supports Slider, Bang, Button, Knob, Numberbox, Toggle, Textlabel, Textfield, Range, Slider2D. |
java.lang.Object |
addController(java.lang.String theName,
java.lang.Class theClass,
int theX,
int theY)
|
ControlP5Base |
addControllersFor(processing.core.PApplet theApplet)
|
ControlP5Base |
addControllersFor(java.lang.String theAddressSpace,
java.lang.Object t)
Adds controllers for a specific object using annotations. |
ControlWindow |
addControlWindow(java.lang.String theName)
|
ControlWindow |
addControlWindow(java.lang.String theWindowName,
int theWidth,
int theHeight)
Deprecated. |
ControlWindow |
addControlWindow(java.lang.String theWindowName,
int theX,
int theY,
int theWidth,
int theHeight)
Deprecated. |
ControlWindow |
addControlWindow(java.lang.String theWindowName,
int theX,
int theY,
int theWidth,
int theHeight,
int theFrameRate)
Deprecated. |
ControlWindow |
addControlWindow(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight,
java.lang.String theRenderer,
int theFrameRate)
Deprecated. |
DropdownList |
addDropdownList(java.lang.String theName)
|
DropdownList |
addDropdownList(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
|
FrameRate |
addFrameRate()
|
Group |
addGroup(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
int theX,
int theY,
int theW)
A controller group can be used to group controllers for a better organization of single controllers. |
Group |
addGroup(java.lang.String theName)
|
Group |
addGroup(java.lang.String theName,
int theX,
int theY)
|
Group |
addGroup(java.lang.String theName,
int theX,
int theY,
int theW)
|
Knob |
addKnob(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName)
|
Knob |
addKnob(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMin,
float theMax,
float theDefaultValue,
int theX,
int theY,
int theDiameter)
Knobs can use limited and endless revolutions, custom angles and starting points. |
Knob |
addKnob(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theDiameter)
|
Knob |
addKnob(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
int theMin,
int theMax)
|
Knob |
addKnob(java.lang.String theName)
|
Knob |
addKnob(java.lang.String theName,
float theMin,
float theMax,
float theDefaultValue,
int theX,
int theY,
int theDiameter)
|
Knob |
addKnob(java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theDiameter)
|
Knob |
addKnob(java.lang.String theName,
int theMin,
int theMax)
|
ListBox |
addListBox(java.lang.String theName)
|
ListBox |
addListBox(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
A list box is a list of items a user can choose from. |
Matrix |
addMatrix(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
int theCellX,
int theCellY,
int theX,
int theY,
int theWidth,
int theHeight)
Matrix is a 2-D matrix controller using toggle controllers in a rows and a columns setup. |
Matrix |
addMatrix(java.lang.String theName)
|
Matrix |
addMatrix(java.lang.String theName,
int theCellX,
int theCellY,
int theX,
int theY,
int theWidth,
int theHeight)
|
MultiList |
addMultiList(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
Multilist is a tree like menu. |
MultiList |
addMultiList(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
|
Numberbox |
addNumberbox(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName)
|
Numberbox |
addNumberbox(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theDefaultValue,
int theX,
int theY,
int theWidth,
int theHeight)
|
Numberbox |
addNumberbox(java.lang.Object theObject,
java.lang.String theIndex,
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)
|
Numberbox |
addNumberbox(java.lang.String theName,
int theX,
int theY,
int theWidth,
int theHeight)
|
RadioButton |
addRadio(java.lang.String theName)
Use radio buttons for multiple choice options. |
RadioButton |
addRadio(java.lang.String theName,
int theX,
int theY)
|
RadioButton |
addRadioButton(java.lang.String theName)
Use radio buttons for multiple choice options. |
RadioButton |
addRadioButton(java.lang.String theName,
int theX,
int theY)
|
Range |
addRange(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMin,
float theMax,
float theDefaultMinValue,
float theDefaultMaxValue,
int theX,
int theY,
int theW,
int theH)
A range controller, a slider that allows control on both ends of the slider. |
Range |
addRange(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theWidth,
int theHeight)
|
Range |
addRange(java.lang.String theName)
|
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)
|
Slider |
addSlider(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName)
|
Slider |
addSlider(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMin,
float theMax)
|
Slider |
addSlider(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMin,
float theMax,
float theDefaultValue,
int theX,
int theY,
int theW,
int theH)
Adds a slider to controlP5. |
Slider |
addSlider(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theW,
int theH)
|
Slider |
addSlider(java.lang.String theName)
Adds a default slider with a default width of 100 and height of 10. |
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)
|
Slider |
addSlider(java.lang.String theName,
float theMin,
float theMax,
int theX,
int theY,
int theWidth,
int theHeight)
|
Slider2D |
addSlider2D(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theMinX,
float theMaxX,
float theMinY,
float theMaxY,
float theDefaultValueX,
float theDefaultValueY,
int theX,
int theY,
int theW,
int theH)
Adds a 2D slider to controlP5. |
Slider2D |
addSlider2D(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
Deprecated. |
Slider2D |
addSlider2D(java.lang.String theName)
|
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)
Deprecated. |
Slider2D |
addSlider2D(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
Deprecated. |
Tab |
addTab(ControlWindow theWindow,
java.lang.String theName)
Deprecated. |
Tab |
addTab(processing.core.PApplet theWindow,
java.lang.String theName)
Deprecated. |
Tab |
addTab(java.lang.String theName)
|
Textarea |
addTextarea(java.lang.String theName)
|
Textarea |
addTextarea(java.lang.String theName,
java.lang.String theText,
int theX,
int theY,
int theW,
int theH)
A Textarea is a label without any controller functionality and can be used to leave notes, headlines, etc when extending the dedicated area of the Textrea, a scrollbar is added on the right. |
Textfield |
addTextfield(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName)
|
Textfield |
addTextfield(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
A Textfield allows single line text input. |
Textfield |
addTextfield(java.lang.String theIndex)
|
Textfield |
addTextfield(java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
|
Textlabel |
addTextlabel(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
java.lang.String theText)
|
Textlabel |
addTextlabel(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
java.lang.String theText,
int theX,
int theY)
|
Textlabel |
addTextlabel(java.lang.String theName)
|
Textlabel |
addTextlabel(java.lang.String theName,
java.lang.String theText)
|
Textlabel |
addTextlabel(java.lang.String theName,
java.lang.String theText,
int theX,
int theY)
|
Toggle |
addToggle(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName)
|
Toggle |
addToggle(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
boolean theValue)
|
Toggle |
addToggle(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
boolean theDefaultValue,
float theX,
float theY,
int theWidth,
int theHeight)
|
Toggle |
addToggle(java.lang.Object theObject,
java.lang.String theIndex,
java.lang.String theName,
float theX,
float theY,
int theWidth,
int theHeight)
Deprecated. |
Toggle |
addToggle(java.lang.String theName)
Adds a default Toggle, the default value is false, width and height are set to the default values of Toggle.autoWidth and Toggle.autoHeight |
Toggle |
addToggle(java.lang.String theName,
boolean theValue)
|
Toggle |
addToggle(java.lang.String theName,
boolean theDefaultValue,
float theX,
float theY,
int theWidth,
int theHeight)
Deprecated. |
Toggle |
addToggle(java.lang.String theName,
float theX,
float theY,
int theWidth,
int theHeight)
Deprecated. |
Tooltip |
addTooltip()
|
Controller |
getController(java.lang.String theName,
java.lang.Object theObject)
|
Tab |
getDefaultTab()
|
char |
getKey()
|
int |
getKeyCode()
|
controlP5.ControllerLayout |
getLayout()
|
java.lang.Object |
getObjectForController(ControllerInterface theController)
|
ControllerProperties |
getProperties()
|
static java.util.Set |
getPublicMethodsFor(java.lang.Class theClass)
|
static java.util.Set |
getPublicMethodsFor(java.lang.Class theClass,
boolean theFlag)
|
static java.util.Set |
getPublicMethodsFor(java.lang.Class theClass,
boolean isSuperclass,
java.lang.String[] thePattern)
|
static java.util.Set |
getPublicMethodsFor(java.lang.Class theClass,
java.lang.String[] thePattern)
|
Textlabel |
getTextlabel()
|
Textlabel |
getTextlabel(java.lang.String theText,
int theX,
int theY)
|
ControlP5Base |
hide(java.lang.Object theObject)
|
boolean |
isAltDown()
|
boolean |
isControlDown()
|
boolean |
isMetaDown()
|
boolean |
isShiftDown()
|
ControlP5Base |
listenTo(java.lang.String theFieldName,
java.lang.Object theObject)
|
ControlP5 |
mapKeyFor(ControlKey theKey,
java.lang.Object[] os)
|
ControlP5Base |
moveTo(ControllerGroup theController,
java.lang.Object theObject)
|
static void |
printPublicMethodsFor(java.lang.Class theClass)
|
static void |
printPublicMethodsFor(java.lang.Class theClass,
java.lang.String[] thePattern)
prints a list of public methods of requested class into the console. |
ControlP5Base |
remove(java.lang.Object theObject)
|
ControlP5 |
removeKeyFor(ControlKey theKey,
char[] theChar)
|
ControlP5 |
removeKeyFor(ControlKey theKey,
int[] theChar)
|
ControlP5 |
removeKeysFor(char[] theChar)
|
ControlP5 |
removeKeysFor(int[] theChar)
|
void |
removeProperty(ControllerInterface theController)
|
void |
setAutoAddDirection(int theDirection)
|
void |
setAutoSpacing()
|
void |
setAutoSpacing(float theX)
|
void |
setAutoSpacing(float theX,
float theY)
|
void |
setAutoSpacing(float theX,
float theY,
float theZ)
|
ControlP5Base |
setColor(CColor theColor,
java.lang.Object theObject)
|
ControlP5Base |
setPosition(int theX,
int theY,
java.lang.Object o)
|
ControlP5Base |
show(java.lang.Object theObject)
|
ControlP5Base |
stopListeningTo(java.lang.String theFieldName,
java.lang.Object theObject)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlP5Base()
Method Detail |
---|
public Accordion addAccordion(java.lang.String theName)
public Accordion addAccordion(java.lang.String theName, int theX, int theY, int theWidth)
public Bang addBang(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName)
public Bang addBang(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
public Bang addBang(java.lang.String theName)
@Deprecated public Bang addBang(java.lang.String theName, int theX, int theY)
@Deprecated public Bang addBang(java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
public Button addButton(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName)
public Button addButton(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theValue)
public Button addButton(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theValue, int theX, int theY, int theW, int theH)
public Button addButton(java.lang.String theName)
public Button addButton(java.lang.String theName, float theValue)
@Deprecated public Button addButton(java.lang.String theName, float theValue, int theX, int theY, int theW, int theH)
public Chart addChart(java.lang.String theName)
public Chart addChart(java.lang.String theName, int theX, int theY, int theW, int theH)
public CheckBox addCheckBox(java.lang.String theName)
public CheckBox addCheckBox(java.lang.String theName, int theX, int theY)
public ColorPicker addColorPicker(java.lang.String theName)
public ColorPicker addColorPicker(java.lang.String theName, int theX, int theY, int theW, int theH)
public Println addConsole(Textarea theTextarea)
public java.lang.Object addController(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, java.lang.Class theClass, int theX, int theY)
public java.lang.Object addController(java.lang.String theName, java.lang.Class theClass, int theX, int theY)
public ControlP5Base addControllersFor(processing.core.PApplet theApplet)
public ControlP5Base addControllersFor(java.lang.String theAddressSpace, java.lang.Object t)
Uses a forward slash delimited address, for example:
lets say the theAddressSpace parameter is set to "hello", and the Object (second parameter) contains an annotated field "x", addControllersFor("hello", o); will add a controller for field x with address /hello/x This address can be used with getController("/hello/x") to access the controller of that particular Object and field.
public ControlWindow addControlWindow(java.lang.String theName)
@Deprecated public ControlWindow addControlWindow(java.lang.String theWindowName, int theWidth, int theHeight)
@Deprecated public ControlWindow addControlWindow(java.lang.String theWindowName, int theX, int theY, int theWidth, int theHeight)
@Deprecated public ControlWindow addControlWindow(java.lang.String theWindowName, int theX, int theY, int theWidth, int theHeight, int theFrameRate)
@Deprecated public ControlWindow addControlWindow(java.lang.String theName, int theX, int theY, int theWidth, int theHeight, java.lang.String theRenderer, int theFrameRate)
public DropdownList addDropdownList(java.lang.String theName)
public DropdownList addDropdownList(java.lang.String theName, int theX, int theY, int theW, int theH)
public FrameRate addFrameRate()
public Group addGroup(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theX, int theY, int theW)
public Group addGroup(java.lang.String theName)
public Group addGroup(java.lang.String theName, int theX, int theY)
public Group addGroup(java.lang.String theName, int theX, int theY, int theW)
public Knob addKnob(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName)
public Knob addKnob(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theMin, float theMax, float theDefaultValue, int theX, int theY, int theDiameter)
public Knob addKnob(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theMin, float theMax, int theX, int theY, int theDiameter)
public Knob addKnob(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theMin, int theMax)
public Knob addKnob(java.lang.String theName)
public Knob addKnob(java.lang.String theName, float theMin, float theMax, float theDefaultValue, int theX, int theY, int theDiameter)
public Knob addKnob(java.lang.String theName, float theMin, float theMax, int theX, int theY, int theDiameter)
public Knob addKnob(java.lang.String theName, int theMin, int theMax)
public ListBox addListBox(java.lang.String theName)
public ListBox addListBox(java.lang.String theName, int theX, int theY, int theW, int theH)
public Matrix addMatrix(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theCellX, int theCellY, int theX, int theY, int theWidth, int theHeight)
public Matrix addMatrix(java.lang.String theName)
public Matrix addMatrix(java.lang.String theName, int theCellX, int theCellY, int theX, int theY, int theWidth, int theHeight)
public MultiList addMultiList(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
public MultiList addMultiList(java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
public Numberbox addNumberbox(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName)
public Numberbox addNumberbox(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theDefaultValue, int theX, int theY, int theWidth, int theHeight)
public Numberbox addNumberbox(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
public Numberbox addNumberbox(java.lang.String theName)
public Numberbox addNumberbox(java.lang.String theName, float theDefaultValue, int theX, int theY, int theWidth, int theHeight)
public Numberbox addNumberbox(java.lang.String theName, int theX, int theY, int theWidth, int theHeight)
public RadioButton addRadio(java.lang.String theName)
public RadioButton addRadio(java.lang.String theName, int theX, int theY)
public RadioButton addRadioButton(java.lang.String theName)
public RadioButton addRadioButton(java.lang.String theName, int theX, int theY)
public Range addRange(java.lang.Object theObject, java.lang.String theIndex, 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.Object theObject, java.lang.String theIndex, java.lang.String theName, float theMin, float theMax, int theX, int theY, int theWidth, int theHeight)
public Range addRange(java.lang.String theName)
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)
public Slider addSlider(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName)
public Slider addSlider(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theMin, float theMax)
public Slider addSlider(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theMin, float theMax, float theDefaultValue, int theX, int theY, int theW, int theH)
public Slider addSlider(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theMin, float theMax, int theX, int theY, int theW, int theH)
public Slider addSlider(java.lang.String theName)
public Slider addSlider(java.lang.String theName, float theMin, float theMax)
public Slider addSlider(java.lang.String theName, float theMin, float theMax, float theDefaultValue, int theX, int theY, int theW, int theH)
public Slider addSlider(java.lang.String theName, float theMin, float theMax, int theX, int theY, int theWidth, int theHeight)
public Slider2D addSlider2D(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theMinX, float theMaxX, float theMinY, float theMaxY, float theDefaultValueX, float theDefaultValueY, int theX, int theY, int theW, int theH)
@Deprecated public Slider2D addSlider2D(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theX, int theY, int theW, int theH)
public Slider2D addSlider2D(java.lang.String theName)
@Deprecated 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)
@Deprecated public Slider2D addSlider2D(java.lang.String theName, int theX, int theY, int theW, int theH)
@Deprecated public Tab addTab(ControlWindow theWindow, java.lang.String theName)
@Deprecated public Tab addTab(processing.core.PApplet theWindow, java.lang.String theName)
public Tab addTab(java.lang.String theName)
public Textarea addTextarea(java.lang.String theName)
public Textarea addTextarea(java.lang.String theName, java.lang.String theText, int theX, int theY, int theW, int theH)
public Textfield addTextfield(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName)
public Textfield addTextfield(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, int theX, int theY, int theW, int theH)
public Textfield addTextfield(java.lang.String theIndex)
public Textfield addTextfield(java.lang.String theName, int theX, int theY, int theW, int theH)
public Textlabel addTextlabel(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, java.lang.String theText)
public Textlabel addTextlabel(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, java.lang.String theText, int theX, int theY)
public Textlabel addTextlabel(java.lang.String theName)
public Textlabel addTextlabel(java.lang.String theName, java.lang.String theText)
public Textlabel addTextlabel(java.lang.String theName, java.lang.String theText, int theX, int theY)
public Toggle addToggle(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName)
public Toggle addToggle(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, boolean theValue)
public Toggle addToggle(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, boolean theDefaultValue, float theX, float theY, int theWidth, int theHeight)
@Deprecated public Toggle addToggle(java.lang.Object theObject, java.lang.String theIndex, java.lang.String theName, float theX, float theY, int theWidth, int theHeight)
public Toggle addToggle(java.lang.String theName)
public Toggle addToggle(java.lang.String theName, boolean theValue)
@Deprecated public Toggle addToggle(java.lang.String theName, boolean theDefaultValue, float theX, float theY, int theWidth, int theHeight)
@Deprecated public Toggle addToggle(java.lang.String theName, float theX, float theY, int theWidth, int theHeight)
public Tooltip addTooltip()
public Controller getController(java.lang.String theName, java.lang.Object theObject)
public Tab getDefaultTab()
public char getKey()
public int getKeyCode()
public controlP5.ControllerLayout getLayout()
public java.lang.Object getObjectForController(ControllerInterface theController)
public ControllerProperties getProperties()
public static java.util.Set getPublicMethodsFor(java.lang.Class theClass)
public static java.util.Set getPublicMethodsFor(java.lang.Class theClass, boolean theFlag)
public static java.util.Set getPublicMethodsFor(java.lang.Class theClass, boolean isSuperclass, java.lang.String[] thePattern)
public static java.util.Set getPublicMethodsFor(java.lang.Class theClass, java.lang.String[] thePattern)
public Textlabel getTextlabel()
public Textlabel getTextlabel(java.lang.String theText, int theX, int theY)
public ControlP5Base hide(java.lang.Object theObject)
public boolean isAltDown()
public boolean isControlDown()
public boolean isMetaDown()
public boolean isShiftDown()
public ControlP5Base listenTo(java.lang.String theFieldName, java.lang.Object theObject)
public ControlP5 mapKeyFor(ControlKey theKey, java.lang.Object[] os)
public ControlP5Base moveTo(ControllerGroup theController, java.lang.Object theObject)
public static void printPublicMethodsFor(java.lang.Class theClass)
public static void printPublicMethodsFor(java.lang.Class theClass, java.lang.String[] thePattern)
printed Format: returnType methodName(parameter type)
public ControlP5Base remove(java.lang.Object theObject)
public ControlP5 removeKeyFor(ControlKey theKey, char[] theChar)
public ControlP5 removeKeyFor(ControlKey theKey, int[] theChar)
public ControlP5 removeKeysFor(char[] theChar)
public ControlP5 removeKeysFor(int[] theChar)
public void removeProperty(ControllerInterface theController)
public void setAutoAddDirection(int theDirection)
public void setAutoSpacing()
public void setAutoSpacing(float theX)
public void setAutoSpacing(float theX, float theY)
public void setAutoSpacing(float theX, float theY, float theZ)
public ControlP5Base setColor(CColor theColor, java.lang.Object theObject)
public ControlP5Base setPosition(int theX, int theY, java.lang.Object o)
public ControlP5Base show(java.lang.Object theObject)
public ControlP5Base stopListeningTo(java.lang.String theFieldName, java.lang.Object theObject)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |