mirror of
https://github.com/sojamo/controlp5
synced 2024-11-25 15:17:57 +01:00
examples update
This commit is contained in:
parent
a44e8cac2d
commit
17abb7d2d6
@ -200,7 +200,7 @@ controlP5.Controller : void setView(ControllerView, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:24
|
||||
created: 2014/09/08 01:18:39
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,13 @@
|
||||
/**
|
||||
* ColorWheel is working but still under development as of 22.April 2014.
|
||||
* for API see source code of controlP5/ColorWheel.java
|
||||
* ControlP5 ColorWheel
|
||||
*
|
||||
*
|
||||
* find a list of public methods available for the Group Controller
|
||||
* at the bottom of this sketch.
|
||||
*
|
||||
* by Andreas Schlegel, 2014
|
||||
* www.sojamo.de/libraries/controlp5
|
||||
*
|
||||
*/
|
||||
|
||||
import controlP5.*;
|
||||
@ -8,9 +15,8 @@ import controlP5.*;
|
||||
ControlP5 cp5;
|
||||
|
||||
void setup() {
|
||||
size(500, 500);
|
||||
size(800, 400);
|
||||
cp5 = new ControlP5( this );
|
||||
cp5.printPublicMethodsFor(ColorWheel.class);
|
||||
cp5.addColorWheel("c" , 250 , 10 , 200 ).setRGB(color(128,0,255));
|
||||
noStroke();
|
||||
}
|
||||
@ -203,7 +209,7 @@ controlP5.Controller : void setView(ControllerView, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:25
|
||||
created: 2014/09/08 01:18:40
|
||||
|
||||
*/
|
||||
|
||||
|
@ -279,7 +279,7 @@ controlP5.ControllerGroup : void remove()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:39:14
|
||||
created: 2014/09/08 01:18:42
|
||||
|
||||
*/
|
||||
|
||||
|
188
examples/controllers/ControlP5background/ControlP5background.pde
Normal file
188
examples/controllers/ControlP5background/ControlP5background.pde
Normal file
@ -0,0 +1,188 @@
|
||||
/**
|
||||
* ControlP5 Background
|
||||
*
|
||||
*
|
||||
* find a list of public methods available for the Group Controller
|
||||
* at the bottom of this sketch.
|
||||
*
|
||||
* by Andreas Schlegel, 2014
|
||||
* www.sojamo.de/libraries/controlp5
|
||||
*
|
||||
*/
|
||||
|
||||
import controlP5.*;
|
||||
|
||||
ControlP5 cp5;
|
||||
int v1;
|
||||
boolean lines = true;
|
||||
|
||||
void setup() {
|
||||
size(800, 400);
|
||||
noStroke();
|
||||
cp5 = new ControlP5(this);
|
||||
|
||||
cp5.begin(cp5.addBackground("abc"));
|
||||
|
||||
cp5.addSlider("v1")
|
||||
.setPosition(10, 20)
|
||||
.setSize(200, 20)
|
||||
.setRange(100, 300)
|
||||
.setValue(250)
|
||||
;
|
||||
|
||||
cp5.addToggle("lines")
|
||||
.setPosition(10,50)
|
||||
.setSize(80,20)
|
||||
.setMode(Toggle.SWITCH)
|
||||
;
|
||||
|
||||
cp5.end();
|
||||
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(200, 200, 200);
|
||||
|
||||
pushMatrix();
|
||||
|
||||
pushMatrix();
|
||||
fill(255, 255, 0);
|
||||
rect(v1, 100, 60, 200);
|
||||
fill(0, 255, 110);
|
||||
rect(40, v1, 320, 40);
|
||||
translate(200, 200);
|
||||
rotate(map(v1, 100, 300, -PI, PI));
|
||||
fill(255, 0, 128);
|
||||
rect(0, 0, 100, 100);
|
||||
popMatrix();
|
||||
|
||||
if(lines) {
|
||||
translate(600, 100);
|
||||
for (int i=0; i<20; i++) {
|
||||
pushMatrix();
|
||||
fill(255);
|
||||
translate(0, i*10);
|
||||
rotate(map(v1+i, 0, 300, -PI, PI));
|
||||
rect(-150, 0, 300, 4);
|
||||
popMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
popMatrix();
|
||||
}
|
||||
|
||||
/*
|
||||
a list of all methods available for the Background Controller
|
||||
use ControlP5.printPublicMethodsFor(Background.class);
|
||||
to print the following list into the console.
|
||||
|
||||
You can find further details about class Background in the javadoc.
|
||||
|
||||
Format:
|
||||
ClassName : returnType methodName(parameter type)
|
||||
|
||||
|
||||
controlP5.ControlGroup : Background activateEvent(boolean)
|
||||
controlP5.ControlGroup : Background addListener(ControlListener)
|
||||
controlP5.ControlGroup : Background removeListener(ControlListener)
|
||||
controlP5.ControlGroup : Background setBackgroundColor(int)
|
||||
controlP5.ControlGroup : Background setBackgroundHeight(int)
|
||||
controlP5.ControlGroup : Background setBarHeight(int)
|
||||
controlP5.ControlGroup : Background setSize(int, int)
|
||||
controlP5.ControlGroup : Background updateInternalEvents(PApplet)
|
||||
controlP5.ControlGroup : String getInfo()
|
||||
controlP5.ControlGroup : String toString()
|
||||
controlP5.ControlGroup : int getBackgroundHeight()
|
||||
controlP5.ControlGroup : int getBarHeight()
|
||||
controlP5.ControlGroup : int listenerSize()
|
||||
controlP5.ControllerGroup : Background add(ControllerInterface)
|
||||
controlP5.ControllerGroup : Background addListener(ControlListener)
|
||||
controlP5.ControllerGroup : Background bringToFront()
|
||||
controlP5.ControllerGroup : Background bringToFront(ControllerInterface)
|
||||
controlP5.ControllerGroup : Background close()
|
||||
controlP5.ControllerGroup : Background disableCollapse()
|
||||
controlP5.ControllerGroup : Background enableCollapse()
|
||||
controlP5.ControllerGroup : Background hide()
|
||||
controlP5.ControllerGroup : Background hideArrow()
|
||||
controlP5.ControllerGroup : Background hideBar()
|
||||
controlP5.ControllerGroup : Background moveTo(ControlWindow)
|
||||
controlP5.ControllerGroup : Background moveTo(PApplet)
|
||||
controlP5.ControllerGroup : Background open()
|
||||
controlP5.ControllerGroup : Background registerProperty(String)
|
||||
controlP5.ControllerGroup : Background registerProperty(String, String)
|
||||
controlP5.ControllerGroup : Background remove(CDrawable)
|
||||
controlP5.ControllerGroup : Background remove(ControllerInterface)
|
||||
controlP5.ControllerGroup : Background removeCanvas(Canvas)
|
||||
controlP5.ControllerGroup : Background removeListener(ControlListener)
|
||||
controlP5.ControllerGroup : Background removeProperty(String)
|
||||
controlP5.ControllerGroup : Background removeProperty(String, String)
|
||||
controlP5.ControllerGroup : Background setAddress(String)
|
||||
controlP5.ControllerGroup : Background setArrayValue(float[])
|
||||
controlP5.ControllerGroup : Background setArrayValue(int, float)
|
||||
controlP5.ControllerGroup : Background setCaptionLabel(String)
|
||||
controlP5.ControllerGroup : Background setColor(CColor)
|
||||
controlP5.ControllerGroup : Background setColorActive(int)
|
||||
controlP5.ControllerGroup : Background setColorBackground(int)
|
||||
controlP5.ControllerGroup : Background setColorForeground(int)
|
||||
controlP5.ControllerGroup : Background setColorLabel(int)
|
||||
controlP5.ControllerGroup : Background setColorValue(int)
|
||||
controlP5.ControllerGroup : Background setHeight(int)
|
||||
controlP5.ControllerGroup : Background setId(int)
|
||||
controlP5.ControllerGroup : Background setLabel(String)
|
||||
controlP5.ControllerGroup : Background setMouseOver(boolean)
|
||||
controlP5.ControllerGroup : Background setMoveable(boolean)
|
||||
controlP5.ControllerGroup : Background setOpen(boolean)
|
||||
controlP5.ControllerGroup : Background setPosition(float, float)
|
||||
controlP5.ControllerGroup : Background setPosition(float[])
|
||||
controlP5.ControllerGroup : Background setSize(int, int)
|
||||
controlP5.ControllerGroup : Background setStringValue(String)
|
||||
controlP5.ControllerGroup : Background setTitle(String)
|
||||
controlP5.ControllerGroup : Background setUpdate(boolean)
|
||||
controlP5.ControllerGroup : Background setValue(float)
|
||||
controlP5.ControllerGroup : Background setVisible(boolean)
|
||||
controlP5.ControllerGroup : Background setWidth(int)
|
||||
controlP5.ControllerGroup : Background show()
|
||||
controlP5.ControllerGroup : Background showArrow()
|
||||
controlP5.ControllerGroup : Background showBar()
|
||||
controlP5.ControllerGroup : Background update()
|
||||
controlP5.ControllerGroup : Background updateAbsolutePosition()
|
||||
controlP5.ControllerGroup : CColor getColor()
|
||||
controlP5.ControllerGroup : Canvas addCanvas(Canvas)
|
||||
controlP5.ControllerGroup : ControlWindow getWindow()
|
||||
controlP5.ControllerGroup : Controller getController(String)
|
||||
controlP5.ControllerGroup : ControllerProperty getProperty(String)
|
||||
controlP5.ControllerGroup : ControllerProperty getProperty(String, String)
|
||||
controlP5.ControllerGroup : Label getCaptionLabel()
|
||||
controlP5.ControllerGroup : Label getValueLabel()
|
||||
controlP5.ControllerGroup : String getAddress()
|
||||
controlP5.ControllerGroup : String getInfo()
|
||||
controlP5.ControllerGroup : String getName()
|
||||
controlP5.ControllerGroup : String getStringValue()
|
||||
controlP5.ControllerGroup : String toString()
|
||||
controlP5.ControllerGroup : Tab getTab()
|
||||
controlP5.ControllerGroup : boolean isBarVisible()
|
||||
controlP5.ControllerGroup : boolean isCollapse()
|
||||
controlP5.ControllerGroup : boolean isMouseOver()
|
||||
controlP5.ControllerGroup : boolean isMoveable()
|
||||
controlP5.ControllerGroup : boolean isOpen()
|
||||
controlP5.ControllerGroup : boolean isUpdate()
|
||||
controlP5.ControllerGroup : boolean isVisible()
|
||||
controlP5.ControllerGroup : boolean setMousePressed(boolean)
|
||||
controlP5.ControllerGroup : float getArrayValue(int)
|
||||
controlP5.ControllerGroup : float getValue()
|
||||
controlP5.ControllerGroup : float[] getArrayValue()
|
||||
controlP5.ControllerGroup : float[] getPosition()
|
||||
controlP5.ControllerGroup : int getHeight()
|
||||
controlP5.ControllerGroup : int getId()
|
||||
controlP5.ControllerGroup : int getWidth()
|
||||
controlP5.ControllerGroup : int listenerSize()
|
||||
controlP5.ControllerGroup : void controlEvent(ControlEvent)
|
||||
controlP5.ControllerGroup : void remove()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/09/08 01:18:44
|
||||
|
||||
*/
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
mode.id=processing.mode.java.JavaMode
|
||||
mode=Java
|
@ -224,7 +224,7 @@ controlP5.Controller : void setView(ControllerView, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:29
|
||||
created: 2014/09/08 01:18:45
|
||||
|
||||
*/
|
||||
|
||||
|
@ -127,6 +127,7 @@ controlP5.Button : String toString()
|
||||
controlP5.Button : boolean getBooleanValue()
|
||||
controlP5.Button : boolean isOn()
|
||||
controlP5.Button : boolean isPressed()
|
||||
controlP5.Button : boolean isSwitch()
|
||||
controlP5.Controller : Button addCallback(CallbackListener)
|
||||
controlP5.Controller : Button addListener(ControlListener)
|
||||
controlP5.Controller : Button addListenerFor(int, CallbackListener)
|
||||
@ -259,7 +260,7 @@ controlP5.Controller : void setView(ControllerView, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:30
|
||||
created: 2014/09/08 01:18:47
|
||||
|
||||
*/
|
||||
|
||||
|
@ -82,7 +82,7 @@ controlP5.Canvas : void update(PApplet)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:32
|
||||
created: 2014/09/08 01:18:48
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
/**
|
||||
* ControlP5 Chart
|
||||
*
|
||||
*
|
||||
* find a list of public methods available for the Chart Controller
|
||||
* at the bottom of this sketch.
|
||||
*
|
||||
* by Andreas Schlegel, 2012
|
||||
*
|
||||
* by Andreas Schlegel, 2014
|
||||
* www.sojamo.de/libraries/controlp5
|
||||
*
|
||||
*/
|
||||
@ -17,40 +17,31 @@ ControlP5 cp5;
|
||||
Chart myChart;
|
||||
|
||||
void setup() {
|
||||
size(400, 700);
|
||||
smooth();
|
||||
size(800, 400);
|
||||
cp5 = new ControlP5(this);
|
||||
cp5.printPublicMethodsFor(Chart.class);
|
||||
myChart = cp5.addChart("hello")
|
||||
myChart = cp5.addChart("dataflow")
|
||||
.setPosition(50, 50)
|
||||
.setSize(200, 200)
|
||||
.setSize(200, 100)
|
||||
.setRange(-20, 20)
|
||||
.setView(Chart.BAR) // use Chart.LINE, Chart.PIE, Chart.AREA, Chart.BAR_CENTERED
|
||||
.setView(Chart.LINE) // use Chart.LINE, Chart.PIE, Chart.AREA, Chart.BAR_CENTERED
|
||||
.setStrokeWeight(1.5)
|
||||
.setColorCaptionLabel(color(40))
|
||||
;
|
||||
|
||||
myChart.getColor().setBackground(color(255, 100));
|
||||
|
||||
|
||||
myChart.addDataSet("world");
|
||||
myChart.setColors("world", color(255,0,255),color(255,0,0));
|
||||
myChart.setData("world", new float[4]);
|
||||
|
||||
myChart.setStrokeWeight(1.5);
|
||||
|
||||
myChart.addDataSet("earth");
|
||||
myChart.setColors("earth", color(255), color(0, 255, 0));
|
||||
myChart.updateData("earth", 1, 2, 10, 3);
|
||||
myChart.addDataSet("incoming");
|
||||
myChart.setData("incoming", new float[100]);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
void draw() {
|
||||
background(0);
|
||||
background(200);
|
||||
// unshift: add data from left to right (first in)
|
||||
myChart.unshift("world", (sin(frameCount*0.01)*10));
|
||||
//myChart.unshift("incoming", (sin(frameCount*0.1)*20));
|
||||
|
||||
// push: add data from right to left (last in)
|
||||
myChart.push("earth", (sin(frameCount*0.1)*10));
|
||||
myChart.push("incoming", (sin(frameCount*0.1)*10));
|
||||
}
|
||||
|
||||
|
||||
@ -245,7 +236,7 @@ controlP5.Controller : void setView(ControllerView, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:34
|
||||
created: 2014/09/08 01:18:50
|
||||
|
||||
*/
|
||||
|
||||
|
@ -23,7 +23,7 @@ CheckBox checkbox;
|
||||
int myColorBackground;
|
||||
|
||||
void setup() {
|
||||
size(700, 400);
|
||||
size(800, 400);
|
||||
smooth();
|
||||
cp5 = new ControlP5(this);
|
||||
checkbox = cp5.addCheckBox("checkBox")
|
||||
@ -235,7 +235,7 @@ controlP5.ControllerGroup : void remove()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:35
|
||||
created: 2014/09/08 01:18:51
|
||||
|
||||
*/
|
||||
|
||||
|
@ -18,7 +18,7 @@ ControlP5 cp5;
|
||||
ColorPicker cp;
|
||||
|
||||
void setup() {
|
||||
size(400, 600);
|
||||
size(800, 400);
|
||||
noStroke();
|
||||
cp5 = new ControlP5(this);
|
||||
cp = cp5.addColorPicker("picker")
|
||||
@ -181,7 +181,7 @@ controlP5.ControllerGroup : void remove()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:37
|
||||
created: 2014/09/08 01:18:53
|
||||
|
||||
*/
|
||||
|
||||
|
@ -56,7 +56,7 @@ controlP5.ControlTimer : void update()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:38
|
||||
created: 2014/09/08 01:18:55
|
||||
|
||||
*/
|
||||
|
||||
|
@ -158,7 +158,7 @@ controlP5.ControllerProperties : void setFormat(String)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:40
|
||||
created: 2014/09/08 01:18:56
|
||||
|
||||
*/
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
"/sliderTicks1": {
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"value": 127.5
|
||||
"value": 0
|
||||
},
|
||||
"/sliderTicks2": {
|
||||
"min": 0,
|
||||
|
@ -1,4 +1,7 @@
|
||||
/**
|
||||
*
|
||||
* DEPRECATED, use ScrollableList instead.
|
||||
*
|
||||
* Control5 DropdownList
|
||||
* A dropdownList controller, extends the ListBox controller.
|
||||
* the most recently selected dropdownlist item is displayed inside
|
||||
@ -7,7 +10,6 @@
|
||||
* find a list of public methods available for the DropdownList Controller
|
||||
* at the bottom of this sketch's source code
|
||||
*
|
||||
* DEPRECATED, use ScrollableList instead.
|
||||
*
|
||||
* by andreas schlegel, 2012
|
||||
* www.sojamo.de/libraries/controlp5
|
||||
@ -302,7 +304,7 @@ controlP5.DropdownList : void updateItemIndexOffset()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:42
|
||||
created: 2014/09/08 01:18:58
|
||||
|
||||
*/
|
||||
|
||||
|
@ -228,7 +228,7 @@ controlP5.ControllerGroup : void remove()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:43
|
||||
created: 2014/09/08 01:19:00
|
||||
|
||||
*/
|
||||
|
||||
|
218
examples/controllers/ControlP5icon/ControlP5icon.pde
Normal file
218
examples/controllers/ControlP5icon/ControlP5icon.pde
Normal file
@ -0,0 +1,218 @@
|
||||
/**
|
||||
* ControlP5 Icon
|
||||
*
|
||||
*
|
||||
* find a list of public methods available for the Group Controller
|
||||
* at the bottom of this sketch.
|
||||
*
|
||||
* by Andreas Schlegel, 2014
|
||||
* www.sojamo.de/libraries/controlp5
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
import controlP5.*;
|
||||
|
||||
ControlP5 cp5;
|
||||
|
||||
void setup() {
|
||||
size(800,400);
|
||||
cp5 = new ControlP5(this);
|
||||
cp5.addIcon("icon",10)
|
||||
.setPosition(100,100)
|
||||
.setSize(70,50)
|
||||
.setRoundedCorners(20)
|
||||
.setFont(createFont("fontawesome-webfont.ttf", 40))
|
||||
.setFontIcons(#00f205,#00f204)
|
||||
//.setScale(0.9,1)
|
||||
//.setSwitch(true)
|
||||
.setColorBackground(color(255,100))
|
||||
.hideBackground()
|
||||
;
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(220);
|
||||
}
|
||||
|
||||
void icon(boolean theValue) {
|
||||
println("got an event for icon", theValue);
|
||||
}
|
||||
|
||||
/*
|
||||
a list of all methods available for the Icon Controller
|
||||
use ControlP5.printPublicMethodsFor(Icon.class);
|
||||
to print the following list into the console.
|
||||
|
||||
You can find further details about class Icon in the javadoc.
|
||||
|
||||
Format:
|
||||
ClassName : returnType methodName(parameter type)
|
||||
|
||||
|
||||
controlP5.Controller : CColor getColor()
|
||||
controlP5.Controller : ControlBehavior getBehavior()
|
||||
controlP5.Controller : ControlWindow getControlWindow()
|
||||
controlP5.Controller : ControlWindow getWindow()
|
||||
controlP5.Controller : ControllerProperty getProperty(String)
|
||||
controlP5.Controller : ControllerProperty getProperty(String, String)
|
||||
controlP5.Controller : ControllerView getView()
|
||||
controlP5.Controller : Icon addCallback(CallbackListener)
|
||||
controlP5.Controller : Icon addListener(ControlListener)
|
||||
controlP5.Controller : Icon addListenerFor(int, CallbackListener)
|
||||
controlP5.Controller : Icon align(int, int, int, int)
|
||||
controlP5.Controller : Icon bringToFront()
|
||||
controlP5.Controller : Icon bringToFront(ControllerInterface)
|
||||
controlP5.Controller : Icon hide()
|
||||
controlP5.Controller : Icon linebreak()
|
||||
controlP5.Controller : Icon listen(boolean)
|
||||
controlP5.Controller : Icon lock()
|
||||
controlP5.Controller : Icon onChange(CallbackListener)
|
||||
controlP5.Controller : Icon onClick(CallbackListener)
|
||||
controlP5.Controller : Icon onDoublePress(CallbackListener)
|
||||
controlP5.Controller : Icon onDrag(CallbackListener)
|
||||
controlP5.Controller : Icon onDraw(ControllerView)
|
||||
controlP5.Controller : Icon onEndDrag(CallbackListener)
|
||||
controlP5.Controller : Icon onEnter(CallbackListener)
|
||||
controlP5.Controller : Icon onLeave(CallbackListener)
|
||||
controlP5.Controller : Icon onMove(CallbackListener)
|
||||
controlP5.Controller : Icon onPress(CallbackListener)
|
||||
controlP5.Controller : Icon onRelease(CallbackListener)
|
||||
controlP5.Controller : Icon onReleaseOutside(CallbackListener)
|
||||
controlP5.Controller : Icon onStartDrag(CallbackListener)
|
||||
controlP5.Controller : Icon onWheel(CallbackListener)
|
||||
controlP5.Controller : Icon plugTo(Object)
|
||||
controlP5.Controller : Icon plugTo(Object, String)
|
||||
controlP5.Controller : Icon plugTo(Object[])
|
||||
controlP5.Controller : Icon plugTo(Object[], String)
|
||||
controlP5.Controller : Icon registerProperty(String)
|
||||
controlP5.Controller : Icon registerProperty(String, String)
|
||||
controlP5.Controller : Icon registerTooltip(String)
|
||||
controlP5.Controller : Icon removeBehavior()
|
||||
controlP5.Controller : Icon removeCallback()
|
||||
controlP5.Controller : Icon removeCallback(CallbackListener)
|
||||
controlP5.Controller : Icon removeListener(ControlListener)
|
||||
controlP5.Controller : Icon removeListenerFor(int, CallbackListener)
|
||||
controlP5.Controller : Icon removeListenersFor(int)
|
||||
controlP5.Controller : Icon removeProperty(String)
|
||||
controlP5.Controller : Icon removeProperty(String, String)
|
||||
controlP5.Controller : Icon setArrayValue(float[])
|
||||
controlP5.Controller : Icon setArrayValue(int, float)
|
||||
controlP5.Controller : Icon setBehavior(ControlBehavior)
|
||||
controlP5.Controller : Icon setBroadcast(boolean)
|
||||
controlP5.Controller : Icon setCaptionLabel(String)
|
||||
controlP5.Controller : Icon setColor(CColor)
|
||||
controlP5.Controller : Icon setColorActive(int)
|
||||
controlP5.Controller : Icon setColorBackground(int)
|
||||
controlP5.Controller : Icon setColorCaptionLabel(int)
|
||||
controlP5.Controller : Icon setColorForeground(int)
|
||||
controlP5.Controller : Icon setColorLabel(int)
|
||||
controlP5.Controller : Icon setColorValue(int)
|
||||
controlP5.Controller : Icon setColorValueLabel(int)
|
||||
controlP5.Controller : Icon setDecimalPrecision(int)
|
||||
controlP5.Controller : Icon setDefaultValue(float)
|
||||
controlP5.Controller : Icon setHeight(int)
|
||||
controlP5.Controller : Icon setId(int)
|
||||
controlP5.Controller : Icon setImage(PImage)
|
||||
controlP5.Controller : Icon setImage(PImage, int)
|
||||
controlP5.Controller : Icon setImages(PImage, PImage, PImage)
|
||||
controlP5.Controller : Icon setImages(PImage, PImage, PImage, PImage)
|
||||
controlP5.Controller : Icon setLabel(String)
|
||||
controlP5.Controller : Icon setLabelVisible(boolean)
|
||||
controlP5.Controller : Icon setLock(boolean)
|
||||
controlP5.Controller : Icon setMax(float)
|
||||
controlP5.Controller : Icon setMin(float)
|
||||
controlP5.Controller : Icon setMouseOver(boolean)
|
||||
controlP5.Controller : Icon setMoveable(boolean)
|
||||
controlP5.Controller : Icon setPosition(float, float)
|
||||
controlP5.Controller : Icon setPosition(float[])
|
||||
controlP5.Controller : Icon setSize(PImage)
|
||||
controlP5.Controller : Icon setSize(int, int)
|
||||
controlP5.Controller : Icon setStringValue(String)
|
||||
controlP5.Controller : Icon setUpdate(boolean)
|
||||
controlP5.Controller : Icon setValue(float)
|
||||
controlP5.Controller : Icon setValueLabel(String)
|
||||
controlP5.Controller : Icon setValueSelf(float)
|
||||
controlP5.Controller : Icon setView(ControllerView)
|
||||
controlP5.Controller : Icon setVisible(boolean)
|
||||
controlP5.Controller : Icon setWidth(int)
|
||||
controlP5.Controller : Icon show()
|
||||
controlP5.Controller : Icon unlock()
|
||||
controlP5.Controller : Icon unplugFrom(Object)
|
||||
controlP5.Controller : Icon unplugFrom(Object[])
|
||||
controlP5.Controller : Icon unregisterTooltip()
|
||||
controlP5.Controller : Icon update()
|
||||
controlP5.Controller : Icon updateSize()
|
||||
controlP5.Controller : Label getCaptionLabel()
|
||||
controlP5.Controller : Label getValueLabel()
|
||||
controlP5.Controller : List getControllerPlugList()
|
||||
controlP5.Controller : Pointer getPointer()
|
||||
controlP5.Controller : String getAddress()
|
||||
controlP5.Controller : String getInfo()
|
||||
controlP5.Controller : String getName()
|
||||
controlP5.Controller : String getStringValue()
|
||||
controlP5.Controller : String toString()
|
||||
controlP5.Controller : Tab getTab()
|
||||
controlP5.Controller : boolean isActive()
|
||||
controlP5.Controller : boolean isBroadcast()
|
||||
controlP5.Controller : boolean isInside()
|
||||
controlP5.Controller : boolean isLabelVisible()
|
||||
controlP5.Controller : boolean isListening()
|
||||
controlP5.Controller : boolean isLock()
|
||||
controlP5.Controller : boolean isMouseOver()
|
||||
controlP5.Controller : boolean isMousePressed()
|
||||
controlP5.Controller : boolean isMoveable()
|
||||
controlP5.Controller : boolean isUpdate()
|
||||
controlP5.Controller : boolean isVisible()
|
||||
controlP5.Controller : float getArrayValue(int)
|
||||
controlP5.Controller : float getDefaultValue()
|
||||
controlP5.Controller : float getMax()
|
||||
controlP5.Controller : float getMin()
|
||||
controlP5.Controller : float getValue()
|
||||
controlP5.Controller : float[] getAbsolutePosition()
|
||||
controlP5.Controller : float[] getArrayValue()
|
||||
controlP5.Controller : float[] getPosition()
|
||||
controlP5.Controller : int getDecimalPrecision()
|
||||
controlP5.Controller : int getHeight()
|
||||
controlP5.Controller : int getId()
|
||||
controlP5.Controller : int getWidth()
|
||||
controlP5.Controller : int listenerSize()
|
||||
controlP5.Controller : void remove()
|
||||
controlP5.Controller : void setView(ControllerView, int)
|
||||
controlP5.Icon : Icon activateBy(int)
|
||||
controlP5.Icon : Icon hideBackground()
|
||||
controlP5.Icon : Icon setFill(boolean)
|
||||
controlP5.Icon : Icon setFont(PFont)
|
||||
controlP5.Icon : Icon setFont(PFont, int)
|
||||
controlP5.Icon : Icon setFontIcon(int)
|
||||
controlP5.Icon : Icon setFontIcon(int, int)
|
||||
controlP5.Icon : Icon setFontIconOff(int)
|
||||
controlP5.Icon : Icon setFontIconOn(int)
|
||||
controlP5.Icon : Icon setFontIconSize(int)
|
||||
controlP5.Icon : Icon setFontIcons(int, int)
|
||||
controlP5.Icon : Icon setFontIndex(int)
|
||||
controlP5.Icon : Icon setOff()
|
||||
controlP5.Icon : Icon setOn()
|
||||
controlP5.Icon : Icon setRoundedCorners(int)
|
||||
controlP5.Icon : Icon setScale(float, float)
|
||||
controlP5.Icon : Icon setStroke(boolean)
|
||||
controlP5.Icon : Icon setStrokeWeight(float)
|
||||
controlP5.Icon : Icon setSwitch(boolean)
|
||||
controlP5.Icon : Icon setValue(float)
|
||||
controlP5.Icon : Icon showBackground()
|
||||
controlP5.Icon : Icon update()
|
||||
controlP5.Icon : String getInfo()
|
||||
controlP5.Icon : String toString()
|
||||
controlP5.Icon : boolean getBooleanValue()
|
||||
controlP5.Icon : boolean isOn()
|
||||
controlP5.Icon : boolean isPressed()
|
||||
controlP5.Icon : boolean isSwitch()
|
||||
controlP5.Icon : int getFontIcon(int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/09/08 01:19:01
|
||||
|
||||
*/
|
||||
|
||||
|
BIN
examples/controllers/ControlP5icon/fontawesome-webfont.ttf
Normal file
BIN
examples/controllers/ControlP5icon/fontawesome-webfont.ttf
Normal file
Binary file not shown.
@ -253,7 +253,7 @@ controlP5.Knob : int getViewStyle()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:45
|
||||
created: 2014/09/08 01:19:02
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
/**
|
||||
*
|
||||
* DEPRECATED, use ScrollableList instead.
|
||||
*
|
||||
* ControlP5 ListBox
|
||||
*
|
||||
* find a list of public methods available for the ListBox Controller
|
||||
@ -6,8 +9,6 @@
|
||||
* use the scrollwheel, up or down cursors to scroll through
|
||||
* a listbox when hovering with the mouse.
|
||||
*
|
||||
* DEPRECATED, use ScrollableList instead.
|
||||
*
|
||||
* by Andreas Schlegel, 2012
|
||||
* www.sojamo.de/libraries/controlp5
|
||||
*
|
||||
@ -311,7 +312,7 @@ controlP5.ListBox : void updateItemIndexOffset()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:47
|
||||
created: 2014/09/08 01:19:04
|
||||
|
||||
*/
|
||||
|
||||
|
@ -289,7 +289,7 @@ controlP5.Matrix : void remove()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:48
|
||||
created: 2014/09/08 01:19:06
|
||||
|
||||
*/
|
||||
|
||||
|
@ -25,15 +25,15 @@ void setup() {
|
||||
|
||||
cp5.addNumberbox("numberbox")
|
||||
.setPosition(100,160)
|
||||
.setSize(100,14)
|
||||
.setSize(100,20)
|
||||
.setScrollSensitivity(1.1)
|
||||
.setValue(50)
|
||||
;
|
||||
|
||||
|
||||
cp5.addNumberbox("numberboxValue")
|
||||
.setPosition(100,200)
|
||||
.setSize(100,14)
|
||||
.setPosition(100,220)
|
||||
.setSize(100,20)
|
||||
.setRange(0,200)
|
||||
.setMultiplier(0.1) // set the sensitifity of the numberbox
|
||||
.setDirection(Controller.HORIZONTAL) // change the control direction to left/right
|
||||
@ -207,7 +207,7 @@ controlP5.Numberbox : float getMultiplier()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:52
|
||||
created: 2014/09/08 01:19:09
|
||||
|
||||
*/
|
||||
|
||||
|
@ -231,7 +231,7 @@ controlP5.RadioButton : void updateLayout()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:53
|
||||
created: 2014/09/08 01:19:11
|
||||
|
||||
*/
|
||||
|
||||
|
@ -237,7 +237,7 @@ controlP5.Range : float[] getArrayValue()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:55
|
||||
created: 2014/09/08 01:19:12
|
||||
|
||||
*/
|
||||
|
||||
|
@ -254,7 +254,7 @@ controlP5.ScrollableList : void updateItemIndexOffset()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:57
|
||||
created: 2014/09/08 01:19:14
|
||||
|
||||
*/
|
||||
|
||||
|
@ -290,7 +290,7 @@ controlP5.Slider : int getTriggerEvent()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:58
|
||||
created: 2014/09/08 01:19:16
|
||||
|
||||
*/
|
||||
|
||||
|
@ -22,7 +22,8 @@ void setup() {
|
||||
s = cp5.addSlider2D("wave")
|
||||
.setPosition(30,40)
|
||||
.setSize(100,100)
|
||||
.setArrayValue(new float[] {50, 50})
|
||||
.setMinMax(20,10,100,100)
|
||||
.setValue(50,50)
|
||||
//.disableCrosshair()
|
||||
;
|
||||
|
||||
@ -211,9 +212,11 @@ controlP5.Slider2D : Slider2D setCursorX(float)
|
||||
controlP5.Slider2D : Slider2D setCursorY(float)
|
||||
controlP5.Slider2D : Slider2D setMaxX(float)
|
||||
controlP5.Slider2D : Slider2D setMaxY(float)
|
||||
controlP5.Slider2D : Slider2D setMinMax(float, float, float, float)
|
||||
controlP5.Slider2D : Slider2D setMinX(float)
|
||||
controlP5.Slider2D : Slider2D setMinY(float)
|
||||
controlP5.Slider2D : Slider2D setValue(float)
|
||||
controlP5.Slider2D : Slider2D setValue(float, float)
|
||||
controlP5.Slider2D : Slider2D shuffle()
|
||||
controlP5.Slider2D : float getCursorHeight()
|
||||
controlP5.Slider2D : float getCursorWidth()
|
||||
@ -228,7 +231,7 @@ controlP5.Slider2D : void setValueLabelSeparator(String)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:00
|
||||
created: 2014/09/08 01:19:18
|
||||
|
||||
*/
|
||||
|
||||
|
@ -229,7 +229,7 @@ controlP5.Tab : float getValue()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:02
|
||||
created: 2014/09/08 01:19:19
|
||||
|
||||
*/
|
||||
|
||||
|
@ -222,7 +222,7 @@ controlP5.Textarea : void controlEvent(ControlEvent)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:04
|
||||
created: 2014/09/08 01:19:21
|
||||
|
||||
*/
|
||||
|
||||
|
@ -250,7 +250,7 @@ controlP5.Textfield : void keyEvent(KeyEvent)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:05
|
||||
created: 2014/09/08 01:19:23
|
||||
|
||||
*/
|
||||
|
||||
|
@ -204,7 +204,7 @@ controlP5.Textlabel : void draw(int, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:07
|
||||
created: 2014/09/08 01:19:24
|
||||
|
||||
*/
|
||||
|
||||
|
@ -226,11 +226,12 @@ controlP5.Toggle : Toggle setValue(boolean)
|
||||
controlP5.Toggle : Toggle setValue(float)
|
||||
controlP5.Toggle : Toggle toggle()
|
||||
controlP5.Toggle : Toggle update()
|
||||
controlP5.Toggle : boolean getBooleanValue()
|
||||
controlP5.Toggle : boolean getState()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:08
|
||||
created: 2014/09/08 01:19:26
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
/**
|
||||
* ControlP5 Tooltip
|
||||
*
|
||||
* Broken with version 2.2.1+
|
||||
*
|
||||
* add a tooltip to a controller.
|
||||
* hover your mouse on top of a slider in the example and wait
|
||||
* for 1 second for the tooltip to appear.
|
||||
@ -107,7 +109,7 @@ controlP5.Tooltip : int getWidth()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:10
|
||||
created: 2014/09/08 01:19:27
|
||||
|
||||
*/
|
||||
|
||||
|
@ -26,7 +26,7 @@ float[] rotation = new float[NUM];
|
||||
|
||||
|
||||
void setup() {
|
||||
size(800, 500 ,P3D);
|
||||
size(800, 400 ,P3D);
|
||||
f1 = createFont("Helvetica", 12);
|
||||
|
||||
cp5 = new ControlP5( this );
|
||||
@ -37,7 +37,7 @@ void setup() {
|
||||
|
||||
SilderList m = new SilderList( cp5, "menu", 250, 350 );
|
||||
|
||||
m.setPosition(40, 40);
|
||||
m.setPosition(40, 20);
|
||||
// add some items to our SilderList
|
||||
for (int i=0;i<NUM;i++) {
|
||||
m.addItem(makeItem("slider-"+i, 0, -PI, PI ));
|
||||
@ -70,11 +70,11 @@ public void controlEvent(ControlEvent theEvent) {
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background( 255 );
|
||||
background( 220 );
|
||||
fill(0, 128, 255);
|
||||
noStroke();
|
||||
pushMatrix();
|
||||
translate(width/2, 50 );
|
||||
translate(width/2, 30 );
|
||||
for (int i=0;i<NUM;i++) {
|
||||
pushMatrix();
|
||||
translate((i%10)*35, int(i/10)*35);
|
||||
|
@ -0,0 +1,252 @@
|
||||
/**
|
||||
* ControlP5 ControlP5chartsCombined
|
||||
*
|
||||
* find a list of public methods available for the Chart Controller
|
||||
* at the bottom of this sketch.
|
||||
*
|
||||
* by Andreas Schlegel, 2012
|
||||
* www.sojamo.de/libraries/controlp5
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
import controlP5.*;
|
||||
|
||||
ControlP5 cp5;
|
||||
|
||||
Chart myChart;
|
||||
|
||||
void setup() {
|
||||
size(400, 700);
|
||||
smooth();
|
||||
cp5 = new ControlP5(this);
|
||||
cp5.printPublicMethodsFor(Chart.class);
|
||||
myChart = cp5.addChart("hello")
|
||||
.setPosition(50, 50)
|
||||
.setSize(200, 200)
|
||||
.setRange(-20, 20)
|
||||
.setView(Chart.BAR) // use Chart.LINE, Chart.PIE, Chart.AREA, Chart.BAR_CENTERED
|
||||
;
|
||||
|
||||
myChart.getColor().setBackground(color(255, 100));
|
||||
|
||||
|
||||
myChart.addDataSet("world");
|
||||
myChart.setColors("world", color(255,0,255),color(255,0,0));
|
||||
myChart.setData("world", new float[4]);
|
||||
|
||||
myChart.setStrokeWeight(1.5);
|
||||
|
||||
myChart.addDataSet("earth");
|
||||
myChart.setColors("earth", color(255), color(0, 255, 0));
|
||||
myChart.updateData("earth", 1, 2, 10, 3);
|
||||
|
||||
}
|
||||
|
||||
|
||||
void draw() {
|
||||
background(0);
|
||||
// unshift: add data from left to right (first in)
|
||||
myChart.unshift("world", (sin(frameCount*0.01)*10));
|
||||
|
||||
// push: add data from right to left (last in)
|
||||
myChart.push("earth", (sin(frameCount*0.1)*10));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
a list of all methods available for the Chart Controller
|
||||
use ControlP5.printPublicMethodsFor(Chart.class);
|
||||
to print the following list into the console.
|
||||
|
||||
You can find further details about class Chart in the javadoc.
|
||||
|
||||
Format:
|
||||
ClassName : returnType methodName(parameter type)
|
||||
|
||||
|
||||
controlP5.Chart : Chart addData(ChartData)
|
||||
controlP5.Chart : Chart addData(ChartDataSet, float)
|
||||
controlP5.Chart : Chart addData(String, ChartData)
|
||||
controlP5.Chart : Chart addData(String, float)
|
||||
controlP5.Chart : Chart addData(float)
|
||||
controlP5.Chart : Chart addDataSet(String)
|
||||
controlP5.Chart : Chart addFirst(String, float)
|
||||
controlP5.Chart : Chart addFirst(float)
|
||||
controlP5.Chart : Chart addLast(String, float)
|
||||
controlP5.Chart : Chart addLast(float)
|
||||
controlP5.Chart : Chart push(String, float)
|
||||
controlP5.Chart : Chart push(float)
|
||||
controlP5.Chart : Chart removeData(ChartData)
|
||||
controlP5.Chart : Chart removeData(String, ChartData)
|
||||
controlP5.Chart : Chart removeData(String, int)
|
||||
controlP5.Chart : Chart removeData(int)
|
||||
controlP5.Chart : Chart removeDataSet(String)
|
||||
controlP5.Chart : Chart removeFirst()
|
||||
controlP5.Chart : Chart removeFirst(String)
|
||||
controlP5.Chart : Chart removeLast()
|
||||
controlP5.Chart : Chart removeLast(String)
|
||||
controlP5.Chart : Chart setData(String, int, ChartData)
|
||||
controlP5.Chart : Chart setData(int, ChartData)
|
||||
controlP5.Chart : Chart setDataSet(ChartDataSet)
|
||||
controlP5.Chart : Chart setDataSet(String, ChartDataSet)
|
||||
controlP5.Chart : Chart setRange(float, float)
|
||||
controlP5.Chart : Chart setResolution(int)
|
||||
controlP5.Chart : Chart setStrokeWeight(float)
|
||||
controlP5.Chart : Chart setValue(float)
|
||||
controlP5.Chart : Chart setView(int)
|
||||
controlP5.Chart : Chart unshift(String, float)
|
||||
controlP5.Chart : Chart unshift(float)
|
||||
controlP5.Chart : ChartData getData(String, int)
|
||||
controlP5.Chart : ChartDataSet getDataSet(String)
|
||||
controlP5.Chart : LinkedHashMap getDataSet()
|
||||
controlP5.Chart : String getInfo()
|
||||
controlP5.Chart : String toString()
|
||||
controlP5.Chart : float getStrokeWeight()
|
||||
controlP5.Chart : float[] getValuesFrom(String)
|
||||
controlP5.Chart : int getResolution()
|
||||
controlP5.Chart : int size()
|
||||
controlP5.Chart : void onEnter()
|
||||
controlP5.Chart : void onLeave()
|
||||
controlP5.Controller : CColor getColor()
|
||||
controlP5.Controller : Chart addCallback(CallbackListener)
|
||||
controlP5.Controller : Chart addListener(ControlListener)
|
||||
controlP5.Controller : Chart addListenerFor(int, CallbackListener)
|
||||
controlP5.Controller : Chart align(int, int, int, int)
|
||||
controlP5.Controller : Chart bringToFront()
|
||||
controlP5.Controller : Chart bringToFront(ControllerInterface)
|
||||
controlP5.Controller : Chart hide()
|
||||
controlP5.Controller : Chart linebreak()
|
||||
controlP5.Controller : Chart listen(boolean)
|
||||
controlP5.Controller : Chart lock()
|
||||
controlP5.Controller : Chart onChange(CallbackListener)
|
||||
controlP5.Controller : Chart onClick(CallbackListener)
|
||||
controlP5.Controller : Chart onDoublePress(CallbackListener)
|
||||
controlP5.Controller : Chart onDrag(CallbackListener)
|
||||
controlP5.Controller : Chart onDraw(ControllerView)
|
||||
controlP5.Controller : Chart onEndDrag(CallbackListener)
|
||||
controlP5.Controller : Chart onEnter(CallbackListener)
|
||||
controlP5.Controller : Chart onLeave(CallbackListener)
|
||||
controlP5.Controller : Chart onMove(CallbackListener)
|
||||
controlP5.Controller : Chart onPress(CallbackListener)
|
||||
controlP5.Controller : Chart onRelease(CallbackListener)
|
||||
controlP5.Controller : Chart onReleaseOutside(CallbackListener)
|
||||
controlP5.Controller : Chart onStartDrag(CallbackListener)
|
||||
controlP5.Controller : Chart onWheel(CallbackListener)
|
||||
controlP5.Controller : Chart plugTo(Object)
|
||||
controlP5.Controller : Chart plugTo(Object, String)
|
||||
controlP5.Controller : Chart plugTo(Object[])
|
||||
controlP5.Controller : Chart plugTo(Object[], String)
|
||||
controlP5.Controller : Chart registerProperty(String)
|
||||
controlP5.Controller : Chart registerProperty(String, String)
|
||||
controlP5.Controller : Chart registerTooltip(String)
|
||||
controlP5.Controller : Chart removeBehavior()
|
||||
controlP5.Controller : Chart removeCallback()
|
||||
controlP5.Controller : Chart removeCallback(CallbackListener)
|
||||
controlP5.Controller : Chart removeListener(ControlListener)
|
||||
controlP5.Controller : Chart removeListenerFor(int, CallbackListener)
|
||||
controlP5.Controller : Chart removeListenersFor(int)
|
||||
controlP5.Controller : Chart removeProperty(String)
|
||||
controlP5.Controller : Chart removeProperty(String, String)
|
||||
controlP5.Controller : Chart setArrayValue(float[])
|
||||
controlP5.Controller : Chart setArrayValue(int, float)
|
||||
controlP5.Controller : Chart setBehavior(ControlBehavior)
|
||||
controlP5.Controller : Chart setBroadcast(boolean)
|
||||
controlP5.Controller : Chart setCaptionLabel(String)
|
||||
controlP5.Controller : Chart setColor(CColor)
|
||||
controlP5.Controller : Chart setColorActive(int)
|
||||
controlP5.Controller : Chart setColorBackground(int)
|
||||
controlP5.Controller : Chart setColorCaptionLabel(int)
|
||||
controlP5.Controller : Chart setColorForeground(int)
|
||||
controlP5.Controller : Chart setColorLabel(int)
|
||||
controlP5.Controller : Chart setColorValue(int)
|
||||
controlP5.Controller : Chart setColorValueLabel(int)
|
||||
controlP5.Controller : Chart setDecimalPrecision(int)
|
||||
controlP5.Controller : Chart setDefaultValue(float)
|
||||
controlP5.Controller : Chart setHeight(int)
|
||||
controlP5.Controller : Chart setId(int)
|
||||
controlP5.Controller : Chart setImage(PImage)
|
||||
controlP5.Controller : Chart setImage(PImage, int)
|
||||
controlP5.Controller : Chart setImages(PImage, PImage, PImage)
|
||||
controlP5.Controller : Chart setImages(PImage, PImage, PImage, PImage)
|
||||
controlP5.Controller : Chart setLabel(String)
|
||||
controlP5.Controller : Chart setLabelVisible(boolean)
|
||||
controlP5.Controller : Chart setLock(boolean)
|
||||
controlP5.Controller : Chart setMax(float)
|
||||
controlP5.Controller : Chart setMin(float)
|
||||
controlP5.Controller : Chart setMouseOver(boolean)
|
||||
controlP5.Controller : Chart setMoveable(boolean)
|
||||
controlP5.Controller : Chart setPosition(float, float)
|
||||
controlP5.Controller : Chart setPosition(float[])
|
||||
controlP5.Controller : Chart setSize(PImage)
|
||||
controlP5.Controller : Chart setSize(int, int)
|
||||
controlP5.Controller : Chart setStringValue(String)
|
||||
controlP5.Controller : Chart setUpdate(boolean)
|
||||
controlP5.Controller : Chart setValue(float)
|
||||
controlP5.Controller : Chart setValueLabel(String)
|
||||
controlP5.Controller : Chart setValueSelf(float)
|
||||
controlP5.Controller : Chart setView(ControllerView)
|
||||
controlP5.Controller : Chart setVisible(boolean)
|
||||
controlP5.Controller : Chart setWidth(int)
|
||||
controlP5.Controller : Chart show()
|
||||
controlP5.Controller : Chart unlock()
|
||||
controlP5.Controller : Chart unplugFrom(Object)
|
||||
controlP5.Controller : Chart unplugFrom(Object[])
|
||||
controlP5.Controller : Chart unregisterTooltip()
|
||||
controlP5.Controller : Chart update()
|
||||
controlP5.Controller : Chart updateSize()
|
||||
controlP5.Controller : ControlBehavior getBehavior()
|
||||
controlP5.Controller : ControlWindow getControlWindow()
|
||||
controlP5.Controller : ControlWindow getWindow()
|
||||
controlP5.Controller : ControllerProperty getProperty(String)
|
||||
controlP5.Controller : ControllerProperty getProperty(String, String)
|
||||
controlP5.Controller : ControllerView getView()
|
||||
controlP5.Controller : Label getCaptionLabel()
|
||||
controlP5.Controller : Label getValueLabel()
|
||||
controlP5.Controller : List getControllerPlugList()
|
||||
controlP5.Controller : Pointer getPointer()
|
||||
controlP5.Controller : String getAddress()
|
||||
controlP5.Controller : String getInfo()
|
||||
controlP5.Controller : String getName()
|
||||
controlP5.Controller : String getStringValue()
|
||||
controlP5.Controller : String toString()
|
||||
controlP5.Controller : Tab getTab()
|
||||
controlP5.Controller : boolean isActive()
|
||||
controlP5.Controller : boolean isBroadcast()
|
||||
controlP5.Controller : boolean isInside()
|
||||
controlP5.Controller : boolean isLabelVisible()
|
||||
controlP5.Controller : boolean isListening()
|
||||
controlP5.Controller : boolean isLock()
|
||||
controlP5.Controller : boolean isMouseOver()
|
||||
controlP5.Controller : boolean isMousePressed()
|
||||
controlP5.Controller : boolean isMoveable()
|
||||
controlP5.Controller : boolean isUpdate()
|
||||
controlP5.Controller : boolean isVisible()
|
||||
controlP5.Controller : float getArrayValue(int)
|
||||
controlP5.Controller : float getDefaultValue()
|
||||
controlP5.Controller : float getMax()
|
||||
controlP5.Controller : float getMin()
|
||||
controlP5.Controller : float getValue()
|
||||
controlP5.Controller : float[] getAbsolutePosition()
|
||||
controlP5.Controller : float[] getArrayValue()
|
||||
controlP5.Controller : float[] getPosition()
|
||||
controlP5.Controller : int getDecimalPrecision()
|
||||
controlP5.Controller : int getHeight()
|
||||
controlP5.Controller : int getId()
|
||||
controlP5.Controller : int getWidth()
|
||||
controlP5.Controller : int listenerSize()
|
||||
controlP5.Controller : void remove()
|
||||
controlP5.Controller : void setView(ControllerView, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:11:34
|
||||
|
||||
*/
|
||||
|
||||
|
@ -192,7 +192,7 @@ controlP5.Textlabel : void draw(int, int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:12:33
|
||||
created: 2014/09/08 01:19:51
|
||||
|
||||
*/
|
||||
|
||||
|
@ -66,7 +66,9 @@ You can find further details about class Pointer in the javadoc.
|
||||
Format:
|
||||
ClassName : returnType methodName(parameter type)
|
||||
|
||||
created: 2014/08/16 19:12:43
|
||||
|
||||
|
||||
created: 2014/09/08 01:20:02
|
||||
|
||||
*/
|
||||
|
||||
|
@ -2,16 +2,16 @@
|
||||
"/slider3": {
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"value": 0
|
||||
"value": 12.750000953674316
|
||||
},
|
||||
"/slider2": {
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"value": 0
|
||||
"value": 130.05001831054688
|
||||
},
|
||||
"/slider4": {
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"value": 0
|
||||
"value": 214.20004272460938
|
||||
}
|
||||
}
|
@ -112,7 +112,7 @@ controlP5.ControlEvent : int getType()
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:13:02
|
||||
created: 2014/09/08 01:20:21
|
||||
|
||||
*/
|
||||
|
||||
|
@ -127,7 +127,7 @@ controlP5.ControlFont : void setSize(int)
|
||||
java.lang.Object : String toString()
|
||||
java.lang.Object : boolean equals(Object)
|
||||
|
||||
created: 2014/08/16 19:13:03
|
||||
created: 2014/09/08 01:20:23
|
||||
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user