mirror of
https://github.com/sojamo/controlp5
synced 2024-11-22 14:07:55 +01:00
2327 lines
124 KiB
HTML
2327 lines
124 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Sun Apr 27 21:39:47 SGT 2014 -->
|
|
<title>ControlP5 (Javadocs: controlP5)</title>
|
|
<meta name="date" content="2014-04-27">
|
|
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="ControlP5 (Javadocs: controlP5)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../controlP5/package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../index-all.html">Index</a></li>
|
|
<li><a href="../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../controlP5/ControlListener.html" title="interface in controlP5"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../controlP5/ControlP5Base.html" title="class in controlP5"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?controlP5/ControlP5.html" target="_top">Frames</a></li>
|
|
<li><a href="ControlP5.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">controlP5</div>
|
|
<h2 title="Class ControlP5" class="title">Class ControlP5</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../controlP5/ControlP5Legacy.html" title="class in controlP5">controlP5.ControlP5Legacy</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../controlP5/ControlP5Base.html" title="class in controlP5">controlP5.ControlP5Base</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>controlP5.ControlP5</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../controlP5/ControlP5Constants.html" title="interface in controlP5">ControlP5Constants</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">ControlP5</span>
|
|
extends <a href="../controlP5/ControlP5Base.html" title="class in controlP5">ControlP5Base</a></pre>
|
|
<div class="block"><p>
|
|
controlP5 is a processing and java library for creating
|
|
simple control GUIs. The ControlP5 class, the core of
|
|
controlP5.
|
|
</p>
|
|
<p>
|
|
All addController-Methods are located inside the
|
|
ControlP5Base class.
|
|
</p></div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5Base.html" title="class in controlP5"><code>ControlP5Base</code></a></dd><script type="text/javascript">
|
|
<!--
|
|
document.getElementsByTagName('html')[0].className = 'isjs';function toggle(dt) { var display, dd=dt; do{ dd = dd.nextSibling } while(dd.tagName!='DD'); toOpen =!dd.style.display;dd.style.display = toOpen? 'block':''; dt.getElementsByTagName('span')[0].innerHTML = toOpen? '-':'+' ; }
|
|
-->
|
|
</script>
|
|
<div id="test" class="toggleList"><dl><dt onclick="toggle(this);"><span>+</span>Example</dt><dd><code><pre>/**
|
|
* ControlP5 Basics
|
|
*
|
|
* The following example demonstrates the basic use of controlP5.<br />
|
|
* After initializing controlP5 you can add controllers to controlP5.
|
|
* Here we use three numberboxes, one slider and one textfield.
|
|
* The numberbox with name numberboxC will trigger function numberboxC()
|
|
* in the example below. Whenever controlP5 detects a function in your
|
|
* sketch that corresponds to the name of a controller, it will forward
|
|
* an event to that function. Any event triggered by a controller
|
|
* will be forwarded to function controlEvent in your sketch.
|
|
* related examples ControlP5numberbox, ControlP5slider, ControlP5textfield
|
|
*
|
|
* by Andreas Schlegel, 2011
|
|
* www.sojamo.de/libraries/controlp5
|
|
*
|
|
*/
|
|
|
|
|
|
import controlP5.*;
|
|
|
|
ControlP5 cp5;
|
|
public int myColorRect = 200;
|
|
public int myColorBackground = 100;
|
|
|
|
void setup() {
|
|
size(400, 400);
|
|
noStroke();
|
|
|
|
cp5 = new ControlP5(this);
|
|
|
|
// create a slider
|
|
// parameters:
|
|
// name, minValue, maxValue, defaultValue, x, y, width, height
|
|
cp5.addSlider("sliderA", 100, 200, 100, 100, 260, 100, 14);
|
|
|
|
|
|
// create 3 numberboxes and assign an id for each
|
|
cp5.addNumberbox("numberboxA", myColorRect, 100, 140, 100, 14).setId(1);
|
|
cp5.addNumberbox("numberboxB", myColorBackground, 100, 180, 100, 14).setId(2);
|
|
cp5.addNumberbox("numberboxC", 0, 100, 220, 100, 14).setId(3);
|
|
|
|
|
|
// create a texfield
|
|
cp5.addTextfield("textA", 100, 290, 100, 20);
|
|
|
|
// change individual settings for a controller
|
|
cp5.getController("numberboxA").setMax(255);
|
|
cp5.getController("numberboxA").setMin(0);
|
|
}
|
|
|
|
void draw() {
|
|
background(myColorBackground);
|
|
fill(myColorRect);
|
|
rect(0, 0, width, 100);
|
|
}
|
|
|
|
|
|
// events from controller numberboxC are received here
|
|
public void numberboxC(int theValue) {
|
|
println("### got an event from numberboxC : "+theValue);
|
|
}
|
|
|
|
|
|
// an event from slider sliderA will change the value of textfield textA here
|
|
public void sliderA(int theValue) {
|
|
Textfield txt = ((Textfield)cp5.getController("textA"));
|
|
txt.setValue(""+theValue);
|
|
}
|
|
|
|
|
|
// for every change (a textfield event confirmed with a return) in textfield textA,
|
|
// function textA will be invoked
|
|
public void textA(String theValue) {
|
|
println("### got an event from textA : "+theValue);
|
|
}
|
|
|
|
|
|
// function controlEvent will be invoked with every value change
|
|
// in any registered controller
|
|
public void controlEvent(ControlEvent theEvent) {
|
|
println("got a control event from controller with id "+theEvent.getId());
|
|
switch(theEvent.getId()) {
|
|
case(1): // numberboxA is registered with id 1
|
|
myColorRect = (int)(theEvent.getController().getValue());
|
|
break;
|
|
case(2): // numberboxB is registered with id 2
|
|
myColorBackground = (int)(theEvent.getController().getValue());
|
|
break;
|
|
}
|
|
}
|
|
|
|
</pre></code></dd></dl></div></dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#blockDraw">blockDraw</a></strong></code>
|
|
<div class="block"><strong>Deprecated.</strong> </div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#controlWindow">controlWindow</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#DEBUG">DEBUG</a></strong></code>
|
|
<div class="block">use this static variable to turn DEBUG on or off.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isApplet">isApplet</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.util.logging.Logger</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#logger">logger</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>processing.core.PApplet</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#papplet">papplet</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#VERSION">VERSION</a></strong></code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields_inherited_from_class_controlP5.ControlP5Constants">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface controlP5.<a href="../controlP5/ControlP5Constants.html" title="interface in controlP5">ControlP5Constants</a></h3>
|
|
<code><a href="../controlP5/ControlP5Constants.html#acceptClassList">acceptClassList</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_BROADCAST">ACTION_BROADCAST</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_CLICK">ACTION_CLICK</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_DRAG">ACTION_DRAG</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_ENTER">ACTION_ENTER</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_EXIT">ACTION_EXIT</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_LEAVE">ACTION_LEAVE</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_MOVE">ACTION_MOVE</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_PRESS">ACTION_PRESS</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_PRESSED">ACTION_PRESSED</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_RELEASE">ACTION_RELEASE</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_RELEASED">ACTION_RELEASED</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_RELEASEDOUTSIDE">ACTION_RELEASEDOUTSIDE</a>, <a href="../controlP5/ControlP5Constants.html#ACTION_WHEEL">ACTION_WHEEL</a>, <a href="../controlP5/ControlP5Constants.html#ACTIVE">ACTIVE</a>, <a href="../controlP5/ControlP5Constants.html#ALL">ALL</a>, <a href="../controlP5/ControlP5Constants.html#ALT">ALT</a>, <a href="../controlP5/ControlP5Constants.html#AQUA">AQUA</a>, <a href="../controlP5/ControlP5Constants.html#ARC">ARC</a>, <a href="../controlP5/ControlP5Constants.html#ARRAY">ARRAY</a>, <a href="../controlP5/ControlP5Constants.html#BACKSPACE">BACKSPACE</a>, <a href="../controlP5/ControlP5Constants.html#BASELINE">BASELINE</a>, <a href="../controlP5/ControlP5Constants.html#BITFONT">BITFONT</a>, <a href="../controlP5/ControlP5Constants.html#BLACK">BLACK</a>, <a href="../controlP5/ControlP5Constants.html#BLUE">BLUE</a>, <a href="../controlP5/ControlP5Constants.html#BOOLEAN">BOOLEAN</a>, <a href="../controlP5/ControlP5Constants.html#BOTTOM">BOTTOM</a>, <a href="../controlP5/ControlP5Constants.html#BOTTOM_OUTSIDE">BOTTOM_OUTSIDE</a>, <a href="../controlP5/ControlP5Constants.html#CAPTIONLABEL">CAPTIONLABEL</a>, <a href="../controlP5/ControlP5Constants.html#CENTER">CENTER</a>, <a href="../controlP5/ControlP5Constants.html#CHECKBOX">CHECKBOX</a>, <a href="../controlP5/ControlP5Constants.html#COMMANDKEY">COMMANDKEY</a>, <a href="../controlP5/ControlP5Constants.html#CONTROL">CONTROL</a>, <a href="../controlP5/ControlP5Constants.html#controlEventClass">controlEventClass</a>, <a href="../controlP5/ControlP5Constants.html#CUSTOM">CUSTOM</a>, <a href="../controlP5/ControlP5Constants.html#DECREASE">DECREASE</a>, <a href="../controlP5/ControlP5Constants.html#DEFAULT">DEFAULT</a>, <a href="../controlP5/ControlP5Constants.html#DELETE">DELETE</a>, <a href="../controlP5/ControlP5Constants.html#DONE">DONE</a>, <a href="../controlP5/ControlP5Constants.html#DOWN">DOWN</a>, <a href="../controlP5/ControlP5Constants.html#DROPDOWN">DROPDOWN</a>, <a href="../controlP5/ControlP5Constants.html#ELLIPSE">ELLIPSE</a>, <a href="../controlP5/ControlP5Constants.html#ENTER">ENTER</a>, <a href="../controlP5/ControlP5Constants.html#ESCAPE">ESCAPE</a>, <a href="../controlP5/ControlP5Constants.html#EVENT">EVENT</a>, <a href="../controlP5/ControlP5Constants.html#eventMethod">eventMethod</a>, <a href="../controlP5/ControlP5Constants.html#FADEIN">FADEIN</a>, <a href="../controlP5/ControlP5Constants.html#FADEOUT">FADEOUT</a>, <a href="../controlP5/ControlP5Constants.html#FIELD">FIELD</a>, <a href="../controlP5/ControlP5Constants.html#FLOAT">FLOAT</a>, <a href="../controlP5/ControlP5Constants.html#FUCHSIA">FUCHSIA</a>, <a href="../controlP5/ControlP5Constants.html#GRAY">GRAY</a>, <a href="../controlP5/ControlP5Constants.html#GREEN">GREEN</a>, <a href="../controlP5/ControlP5Constants.html#grixel">grixel</a>, <a href="../controlP5/ControlP5Constants.html#HALF_PI">HALF_PI</a>, <a href="../controlP5/ControlP5Constants.html#HIDE">HIDE</a>, <a href="../controlP5/ControlP5Constants.html#HIGHLIGHT">HIGHLIGHT</a>, <a href="../controlP5/ControlP5Constants.html#HORIZONTAL">HORIZONTAL</a>, <a href="../controlP5/ControlP5Constants.html#IDLE">IDLE</a>, <a href="../controlP5/ControlP5Constants.html#IMAGE">IMAGE</a>, <a href="../controlP5/ControlP5Constants.html#INACTIVE">INACTIVE</a>, <a href="../controlP5/ControlP5Constants.html#INCREASE">INCREASE</a>, <a href="../controlP5/ControlP5Constants.html#INTEGER">INTEGER</a>, <a href="../controlP5/ControlP5Constants.html#INVALID">INVALID</a>, <a href="../controlP5/ControlP5Constants.html#J2D">J2D</a>, <a href="../controlP5/ControlP5Constants.html#KEYCONTROL">KEYCONTROL</a>, <a href="../controlP5/ControlP5Constants.html#LEFT">LEFT</a>, <a href="../controlP5/ControlP5Constants.html#LEFT_OUTSIDE">LEFT_OUTSIDE</a>, <a href="../controlP5/ControlP5Constants.html#LIME">LIME</a>, <a href="../controlP5/ControlP5Constants.html#LINE">LINE</a>, <a href="../controlP5/ControlP5Constants.html#LIST">LIST</a>, <a href="../controlP5/ControlP5Constants.html#LOAD">LOAD</a>, <a href="../controlP5/ControlP5Constants.html#MAROON">MAROON</a>, <a href="../controlP5/ControlP5Constants.html#MENU">MENU</a>, <a href="../controlP5/ControlP5Constants.html#METHOD">METHOD</a>, <a href="../controlP5/ControlP5Constants.html#MOVE">MOVE</a>, <a href="../controlP5/ControlP5Constants.html#MULTI">MULTI</a>, <a href="../controlP5/ControlP5Constants.html#MULTIPLES">MULTIPLES</a>, <a href="../controlP5/ControlP5Constants.html#NAVY">NAVY</a>, <a href="../controlP5/ControlP5Constants.html#OLIVE">OLIVE</a>, <a href="../controlP5/ControlP5Constants.html#ORANGE">ORANGE</a>, <a href="../controlP5/ControlP5Constants.html#OVER">OVER</a>, <a href="../controlP5/ControlP5Constants.html#P2D">P2D</a>, <a href="../controlP5/ControlP5Constants.html#P3D">P3D</a>, <a href="../controlP5/ControlP5Constants.html#PI">PI</a>, <a href="../controlP5/ControlP5Constants.html#PRESSED">PRESSED</a>, <a href="../controlP5/ControlP5Constants.html#PRINT">PRINT</a>, <a href="../controlP5/ControlP5Constants.html#PURPLE">PURPLE</a>, <a href="../controlP5/ControlP5Constants.html#RED">RED</a>, <a href="../controlP5/ControlP5Constants.html#RELEASE">RELEASE</a>, <a href="../controlP5/ControlP5Constants.html#RESET">RESET</a>, <a href="../controlP5/ControlP5Constants.html#RIGHT">RIGHT</a>, <a href="../controlP5/ControlP5Constants.html#RIGHT_OUTSIDE">RIGHT_OUTSIDE</a>, <a href="../controlP5/ControlP5Constants.html#SAVE">SAVE</a>, <a href="../controlP5/ControlP5Constants.html#SHIFT">SHIFT</a>, <a href="../controlP5/ControlP5Constants.html#SILVER">SILVER</a>, <a href="../controlP5/ControlP5Constants.html#SINGLE">SINGLE</a>, <a href="../controlP5/ControlP5Constants.html#SINGLE_COLUMN">SINGLE_COLUMN</a>, <a href="../controlP5/ControlP5Constants.html#SINGLE_ROW">SINGLE_ROW</a>, <a href="../controlP5/ControlP5Constants.html#SPRITE">SPRITE</a>, <a href="../controlP5/ControlP5Constants.html#standard56">standard56</a>, <a href="../controlP5/ControlP5Constants.html#standard58">standard58</a>, <a href="../controlP5/ControlP5Constants.html#STRING">STRING</a>, <a href="../controlP5/ControlP5Constants.html#SWITCH">SWITCH</a>, <a href="../controlP5/ControlP5Constants.html#SWITCH_BACK">SWITCH_BACK</a>, <a href="../controlP5/ControlP5Constants.html#SWITCH_FORE">SWITCH_FORE</a>, <a href="../controlP5/ControlP5Constants.html#synt24">synt24</a>, <a href="../controlP5/ControlP5Constants.html#TAB">TAB</a>, <a href="../controlP5/ControlP5Constants.html#TEAL">TEAL</a>, <a href="../controlP5/ControlP5Constants.html#THEME_A">THEME_A</a>, <a href="../controlP5/ControlP5Constants.html#THEME_CP52014">THEME_CP52014</a>, <a href="../controlP5/ControlP5Constants.html#THEME_CP5BLUE">THEME_CP5BLUE</a>, <a href="../controlP5/ControlP5Constants.html#THEME_RED">THEME_RED</a>, <a href="../controlP5/ControlP5Constants.html#THEME_RETRO">THEME_RETRO</a>, <a href="../controlP5/ControlP5Constants.html#THEME_WHITE">THEME_WHITE</a>, <a href="../controlP5/ControlP5Constants.html#TOP">TOP</a>, <a href="../controlP5/ControlP5Constants.html#TOP_OUTSIDE">TOP_OUTSIDE</a>, <a href="../controlP5/ControlP5Constants.html#TRANSITION_WAIT_FADEIN">TRANSITION_WAIT_FADEIN</a>, <a href="../controlP5/ControlP5Constants.html#TREE">TREE</a>, <a href="../controlP5/ControlP5Constants.html#TWO_PI">TWO_PI</a>, <a href="../controlP5/ControlP5Constants.html#UP">UP</a>, <a href="../controlP5/ControlP5Constants.html#VALUELABEL">VALUELABEL</a>, <a href="../controlP5/ControlP5Constants.html#VERBOSE">VERBOSE</a>, <a href="../controlP5/ControlP5Constants.html#VERTICAL">VERTICAL</a>, <a href="../controlP5/ControlP5Constants.html#WAIT">WAIT</a>, <a href="../controlP5/ControlP5Constants.html#WHITE">WHITE</a>, <a href="../controlP5/ControlP5Constants.html#YELLOW">YELLOW</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../controlP5/ControlP5.html#ControlP5(processing.core.PApplet)">ControlP5</a></strong>(processing.core.PApplet theParent)</code>
|
|
<div class="block">Create a new instance of controlP5.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../controlP5/ControlP5.html#ControlP5(processing.core.PApplet, controlP5.ControlFont)">ControlP5</a></strong>(processing.core.PApplet theParent,
|
|
<a href="../controlP5/ControlFont.html" title="class in controlP5">ControlFont</a> theControlFont)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../controlP5/ControlP5.html#ControlP5(processing.core.PApplet, processing.core.PFont)">ControlP5</a></strong>(processing.core.PApplet theParent,
|
|
processing.core.PFont thePFont)</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addCallback(controlP5.CallbackListener...)">addCallback</a></strong>(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a>... theListeners)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addCallback(controlP5.CallbackListener)">addCallback</a></strong>(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a> theListener)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addCallback(controlP5.CallbackListener, controlP5.Controller...)">addCallback</a></strong>(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a> theListener,
|
|
<a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?>... theControllers)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addCanvas(controlP5.Canvas)">addCanvas</a></strong>(<a href="../controlP5/Canvas.html" title="class in controlP5">Canvas</a> theCanvas)</code>
|
|
<div class="block">adds a Canvas to the default sketch window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addControlsFor(java.lang.Object)">addControlsFor</a></strong>(java.lang.Object theObject)</code>
|
|
<div class="block">TODO</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addListener(controlP5.ControlListener...)">addListener</a></strong>(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a>... theListeners)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addPositionTo(int, int, controlP5.ControllerInterface...)">addPositionTo</a></strong>(int theX,
|
|
int theY,
|
|
<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>... theControllers)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#addPositionTo(int, int, java.util.List)">addPositionTo</a></strong>(int theX,
|
|
int theY,
|
|
java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>> theControllers)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#b(java.lang.Object)">b</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#begin()">begin</a></strong>()</code>
|
|
<div class="block">cp5.begin() and cp5.end() are mechanisms to
|
|
auto-layout controllers, see the ControlP5beginEnd
|
|
example.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#begin(controlP5.ControllerGroup)">begin</a></strong>(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#begin(controlP5.ControllerGroup, int, int)">begin</a></strong>(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup,
|
|
int theX,
|
|
int theY)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#begin(controlP5.ControlWindow)">begin</a></strong>(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theWindow)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#begin(controlP5.ControlWindow, int, int)">begin</a></strong>(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theWindow,
|
|
int theX,
|
|
int theY)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#begin(int, int)">begin</a></strong>(int theX,
|
|
int theY)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static double</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#d(java.lang.Object)">d</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#disableShortcuts()">disableShortcuts</a></strong>()</code>
|
|
<div class="block">disables shortcuts such as alt-h for hiding/showing
|
|
controllers</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#dispose()">dispose</a></strong>()</code>
|
|
<div class="block">disposes and clears all controlP5 elements.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#draw()">draw</a></strong>()</code>
|
|
<div class="block">call draw() from your program when autoDraw is
|
|
disabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#enableShortcuts()">enableShortcuts</a></strong>()</code>
|
|
<div class="block">enables shortcuts.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#end()">end</a></strong>()</code>
|
|
<div class="block">cp5.begin() and cp5.end() are mechanisms to
|
|
auto-layout controllers, see the ControlP5beginEnd
|
|
example.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#end(controlP5.ControllerGroup)">end</a></strong>(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static float</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#f(java.lang.Object)">f</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><C> C</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#get(java.lang.Class, java.lang.String)">get</a></strong>(java.lang.Class<C> theClass,
|
|
java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#get(java.lang.Object, java.lang.String)">get</a></strong>(java.lang.Object theObject,
|
|
java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#get(java.lang.String)">get</a></strong>(java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getAll()">getAll</a></strong>()</code>
|
|
<div class="block">Returns a List of all controllers currently
|
|
registered.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><T> java.util.List<T></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getAll(java.lang.Class)">getAll</a></strong>(java.lang.Class<T> theClass)</code>
|
|
<div class="block">Returns a list of controllers or groups of a
|
|
particular type.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../controlP5/CColor.html" title="class in controlP5">CColor</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getColor()">getColor</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlBroadcaster.html" title="class in controlP5">ControlBroadcaster</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getControlBroadcaster()">getControlBroadcaster</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getController(java.lang.String)">getController</a></strong>(java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getControllerList()">getControllerList</a></strong>()</code>
|
|
<div class="block"><strong>Deprecated.</strong> </div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlFont.html" title="class in controlP5">ControlFont</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getFont()">getFont</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getGroup(java.lang.String)">getGroup</a></strong>(java.lang.String theGroupName)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getList()">getList</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getListener(int)">getListener</a></strong>(int theIndex)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getMouseOverList()">getMouseOverList</a></strong>()</code>
|
|
<div class="block">convenience method to check if the mouse (or pointer)
|
|
is hovering over a specific controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlWindow.Pointer.html" title="class in controlP5">ControlWindow.Pointer</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getPointer()">getPointer</a></strong>()</code>
|
|
<div class="block">convenience method to access the pointer of the main
|
|
control window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Tab.html" title="class in controlP5">Tab</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getTab(controlP5.ControlWindow, java.lang.String)">getTab</a></strong>(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theWindow,
|
|
java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Tab.html" title="class in controlP5">Tab</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getTab(java.lang.String)">getTab</a></strong>(java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Tooltip.html" title="class in controlP5">Tooltip</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getTooltip()">getTooltip</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getValue(java.lang.String)">getValue</a></strong>(java.lang.String theIndex)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getWindow()">getWindow</a></strong>()</code>
|
|
<div class="block">convenience method to access the main window
|
|
(ControlWindow class).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#getWindow(processing.core.PApplet)">getWindow</a></strong>(processing.core.PApplet theApplet)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#hide()">hide</a></strong>()</code>
|
|
<div class="block">hide all controllers and tabs inside your sketch
|
|
window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#i(java.lang.Object)">i</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#i(java.lang.String)">i</a></strong>(java.lang.String o)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.lang.Object</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#invoke(java.lang.Object, java.lang.String, java.lang.Object...)">invoke</a></strong>(java.lang.Object theObject,
|
|
java.lang.String theMember,
|
|
java.lang.Object... theParams)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isAutoDraw()">isAutoDraw</a></strong>()</code>
|
|
<div class="block">check if the autoDraw function for the main window is
|
|
enabled(true) or disabled(false).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isMouseOver()">isMouseOver</a></strong>()</code>
|
|
<div class="block">convenience method to check if the mouse (or pointer)
|
|
is hovering over any controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isMouseOver(controlP5.ControllerInterface)">isMouseOver</a></strong>(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</code>
|
|
<div class="block">convenience method to check if the mouse (or pointer)
|
|
is hovering over a specific controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isMoveable()">isMoveable</a></strong>()</code>
|
|
<div class="block">Checks if controllers are generally moveable</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isNumeric(java.lang.Object)">isNumeric</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isNumeric(java.lang.String)">isNumeric</a></strong>(java.lang.String str)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isShortcuts()">isShortcuts</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isUpdate()">isUpdate</a></strong>()</code>
|
|
<div class="block">checks if automatic updates are enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#isVisible()">isVisible</a></strong>()</code>
|
|
<div class="block">returns true or false according to the current
|
|
visibility flag.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#keyEvent(processing.event.KeyEvent)">keyEvent</a></strong>(processing.event.KeyEvent theKeyEvent)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static long</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#l(java.lang.Object)">l</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#loadLayout(java.lang.String)">loadLayout</a></strong>(java.lang.String theFilePath)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#loadProperties()">loadProperties</a></strong>()</code>
|
|
<div class="block">Loads properties from a default properties file and
|
|
changes values of controllers accordingly.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#loadProperties(java.lang.String)">loadProperties</a></strong>(java.lang.String theFilePath)</code>
|
|
<div class="block">Loads properties from a properties file and changes
|
|
the values of controllers accordingly, the filepath
|
|
is given by parameter theFilePath.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.util.logging.Logger</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#logger()">logger</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#mouseEvent(processing.event.MouseEvent)">mouseEvent</a></strong>(processing.event.MouseEvent theMouseEvent)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#move(java.lang.Object, controlP5.ControllerGroup)">move</a></strong>(java.lang.Object theObject,
|
|
<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#moveControllersForObject(java.lang.Object, controlP5.ControllerGroup)">moveControllersForObject</a></strong>(java.lang.Object theObject,
|
|
<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#pre()">pre</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#printControllerMap()">printControllerMap</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#register(controlP5.ControllerInterface)">register</a></strong>(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#register(java.lang.Object, java.lang.String, controlP5.ControllerInterface)">register</a></strong>(java.lang.Object theObject,
|
|
java.lang.String theIndex,
|
|
<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</code>
|
|
<div class="block">registers a Controller with ControlP5, a Controller
|
|
should/must be registered with a unique name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#remove(java.lang.String)">remove</a></strong>(java.lang.String theName)</code>
|
|
<div class="block">removes a controlP5 element such as a controller,
|
|
group, or tab by name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#removeCallback(controlP5.CallbackListener...)">removeCallback</a></strong>(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a>... theListeners)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#removeCallback(controlP5.Controller...)">removeCallback</a></strong>(<a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?>... theControllers)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#removeCallback(controlP5.Controller)">removeCallback</a></strong>(<a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?> theController)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#removeCanvas(controlP5.Canvas)">removeCanvas</a></strong>(<a href="../controlP5/Canvas.html" title="class in controlP5">Canvas</a> theCanvas)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#removeListener(controlP5.ControlListener...)">removeListener</a></strong>(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a>... theListeners)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#removeListener(controlP5.ControlListener)">removeListener</a></strong>(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a> theListener)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#s(java.lang.Object)">s</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#s(java.lang.Object, java.lang.String)">s</a></strong>(java.lang.Object o,
|
|
java.lang.String theDefault)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#s(java.lang.String)">s</a></strong>(java.lang.String o)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#saveLayout(java.lang.String)">saveLayout</a></strong>(java.lang.String theFilePath)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#saveProperties()">saveProperties</a></strong>()</code>
|
|
<div class="block">Saves the current values of controllers into a
|
|
default properties file</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#saveProperties(java.lang.String)">saveProperties</a></strong>(java.lang.String theFilePath)</code>
|
|
<div class="block">Saves the current values of controllers into a file,
|
|
the filepath is given by parameter theFilePath.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#saveProperties(java.lang.String, java.lang.String...)">saveProperties</a></strong>(java.lang.String theFilePath,
|
|
java.lang.String... theSets)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setAutoDraw(boolean)">setAutoDraw</a></strong>(boolean theFlag)</code>
|
|
<div class="block">by default controlP5 draws any controller on top of
|
|
any drawing done in the draw() function (this doesnt
|
|
apply to P3D where controlP5.draw() has to be called
|
|
manually in the sketch's draw() function ).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setAutoInitialization(boolean)">setAutoInitialization</a></strong>(boolean theFlag)</code>
|
|
<div class="block">autoInitialization can be very handy when it comes to
|
|
initializing values, e.g.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setBackground(int)">setBackground</a></strong>(int theColor)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setBroadcast(boolean)">setBroadcast</a></strong>(boolean theValue)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setColor(controlP5.CColor)">setColor</a></strong>(<a href="../controlP5/CColor.html" title="class in controlP5">CColor</a> theColor)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setColorActive(int)">setColorActive</a></strong>(int theColor)</code>
|
|
<div class="block">sets the active state color of tabs and controllers,
|
|
this cascades down to all known controllers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setColorBackground(int)">setColorBackground</a></strong>(int theColor)</code>
|
|
<div class="block">sets the background color of tabs and controllers,
|
|
this cascades down to all known controllers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setColorCaptionLabel(int)">setColorCaptionLabel</a></strong>(int theColor)</code>
|
|
<div class="block">sets the label color of tabs and controllers, this
|
|
cascades down to all known controllers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setColorForeground(int)">setColorForeground</a></strong>(int theColor)</code>
|
|
<div class="block">sets the foreground color of tabs and controllers,
|
|
this cascades down to all known controllers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setColorValueLabel(int)">setColorValueLabel</a></strong>(int theColor)</code>
|
|
<div class="block">sets the value color of controllers, this cascades
|
|
down to all known controllers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setFont(controlP5.ControlFont)">setFont</a></strong>(<a href="../controlP5/ControlFont.html" title="class in controlP5">ControlFont</a> theControlFont)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setFont(int)">setFont</a></strong>(int theBitFontIndex)</code>
|
|
<div class="block"><strong>Deprecated.</strong> </div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setFont(processing.core.PFont)">setFont</a></strong>(processing.core.PFont thePFont)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setFont(processing.core.PFont, int)">setFont</a></strong>(processing.core.PFont thePFont,
|
|
int theFontSize)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setGraphics(processing.core.PApplet, int, int)">setGraphics</a></strong>(processing.core.PApplet theApplet,
|
|
int theX,
|
|
int theY)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setGraphics(processing.core.PGraphics, int, int)">setGraphics</a></strong>(processing.core.PGraphics theGraphics,
|
|
int theX,
|
|
int theY)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setMouseWheelRotation(int)">setMouseWheelRotation</a></strong>(int theRotation)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setMoveable(boolean)">setMoveable</a></strong>(boolean theFlag)</code>
|
|
<div class="block">Enables/disables Controllers to be moved around when
|
|
ALT-key is down and mouse is dragged.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setTabEventsActive(boolean)">setTabEventsActive</a></strong>(boolean theFlag)</code>
|
|
<div class="block">By default event originating from tabs are disabled,
|
|
use setTabEventsActive(true) to receive controlEvents
|
|
when tabs are clicked.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setTooltip(controlP5.Tooltip)">setTooltip</a></strong>(<a href="../controlP5/Tooltip.html" title="class in controlP5">Tooltip</a> theTooltip)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setUpdate(boolean)">setUpdate</a></strong>(boolean theFlag)</code>
|
|
<div class="block">changes the update behavior according to parameter
|
|
theFlag</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#setVisible(boolean)">setVisible</a></strong>(boolean b)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#show()">show</a></strong>()</code>
|
|
<div class="block">shows all controllers and tabs in your sketch.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.util.List</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#toList(java.lang.Object)">toList</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.util.Map</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#toMap(java.lang.Object)">toMap</a></strong>(java.lang.Object o)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#update()">update</a></strong>()</code>
|
|
<div class="block">forces all controllers to update.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControlP5.html#version()">version</a></strong>()</code>
|
|
<div class="block">Returns the current version of controlP5</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_controlP5.ControlP5Base">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class controlP5.<a href="../controlP5/ControlP5Base.html" title="class in controlP5">ControlP5Base</a></h3>
|
|
<code><a href="../controlP5/ControlP5Base.html#addAccordion(java.lang.Object, java.lang.String)">addAccordion</a>, <a href="../controlP5/ControlP5Base.html#addAccordion(java.lang.String)">addAccordion</a>, <a href="../controlP5/ControlP5Base.html#addBang(java.lang.Object, java.lang.String)">addBang</a>, <a href="../controlP5/ControlP5Base.html#addBang(java.lang.String)">addBang</a>, <a href="../controlP5/ControlP5Base.html#addButton(java.lang.Object, java.lang.String)">addButton</a>, <a href="../controlP5/ControlP5Base.html#addButton(java.lang.String)">addButton</a>, <a href="../controlP5/ControlP5Base.html#addChart(java.lang.String)">addChart</a>, <a href="../controlP5/ControlP5Base.html#addCheckBox(java.lang.Object, java.lang.String)">addCheckBox</a>, <a href="../controlP5/ControlP5Base.html#addCheckBox(java.lang.String)">addCheckBox</a>, <a href="../controlP5/ControlP5Base.html#addColorPicker(java.lang.Object, java.lang.String)">addColorPicker</a>, <a href="../controlP5/ControlP5Base.html#addColorPicker(java.lang.String)">addColorPicker</a>, <a href="../controlP5/ControlP5Base.html#addColorWheel(java.lang.Object, java.lang.String)">addColorWheel</a>, <a href="../controlP5/ControlP5Base.html#addColorWheel(java.lang.String)">addColorWheel</a>, <a href="../controlP5/ControlP5Base.html#addConsole(controlP5.Textarea)">addConsole</a>, <a href="../controlP5/ControlP5Base.html#addControllersFor(processing.core.PApplet)">addControllersFor</a>, <a href="../controlP5/ControlP5Base.html#addControllersFor(java.lang.String, java.lang.Object)">addControllersFor</a>, <a href="../controlP5/ControlP5Base.html#addFrameRate()">addFrameRate</a>, <a href="../controlP5/ControlP5Base.html#addGroup(java.lang.Object, java.lang.String)">addGroup</a>, <a href="../controlP5/ControlP5Base.html#addGroup(java.lang.String)">addGroup</a>, <a href="../controlP5/ControlP5Base.html#addKnob(java.lang.Object, java.lang.String)">addKnob</a>, <a href="../controlP5/ControlP5Base.html#addKnob(java.lang.String)">addKnob</a>, <a href="../controlP5/ControlP5Base.html#addMatrix(java.lang.Object, java.lang.String)">addMatrix</a>, <a href="../controlP5/ControlP5Base.html#addMatrix(java.lang.String)">addMatrix</a>, <a href="../controlP5/ControlP5Base.html#addMultiList(java.lang.Object, java.lang.String)">addMultiList</a>, <a href="../controlP5/ControlP5Base.html#addMultiList(java.lang.String)">addMultiList</a>, <a href="../controlP5/ControlP5Base.html#addNumberbox(java.lang.Object, java.lang.String)">addNumberbox</a>, <a href="../controlP5/ControlP5Base.html#addNumberbox(java.lang.String)">addNumberbox</a>, <a href="../controlP5/ControlP5Base.html#addRadioButton(java.lang.Object, java.lang.String)">addRadioButton</a>, <a href="../controlP5/ControlP5Base.html#addRadioButton(java.lang.String)">addRadioButton</a>, <a href="../controlP5/ControlP5Base.html#addRange(java.lang.Object, java.lang.String)">addRange</a>, <a href="../controlP5/ControlP5Base.html#addRange(java.lang.String)">addRange</a>, <a href="../controlP5/ControlP5Base.html#addScrollableList(java.lang.Object, java.lang.String)">addScrollableList</a>, <a href="../controlP5/ControlP5Base.html#addScrollableList(java.lang.String)">addScrollableList</a>, <a href="../controlP5/ControlP5Base.html#addSlider(java.lang.Object, java.lang.String)">addSlider</a>, <a href="../controlP5/ControlP5Base.html#addSlider(java.lang.String)">addSlider</a>, <a href="../controlP5/ControlP5Base.html#addSlider2D(java.lang.Object, java.lang.String)">addSlider2D</a>, <a href="../controlP5/ControlP5Base.html#addSlider2D(java.lang.String)">addSlider2D</a>, <a href="../controlP5/ControlP5Base.html#addTab(java.lang.String)">addTab</a>, <a href="../controlP5/ControlP5Base.html#addTextarea(java.lang.String)">addTextarea</a>, <a href="../controlP5/ControlP5Base.html#addTextfield(java.lang.Object, java.lang.String)">addTextfield</a>, <a href="../controlP5/ControlP5Base.html#addTextfield(java.lang.String)">addTextfield</a>, <a href="../controlP5/ControlP5Base.html#addTextlabel(java.lang.String)">addTextlabel</a>, <a href="../controlP5/ControlP5Base.html#addToggle(java.lang.Object, java.lang.String)">addToggle</a>, <a href="../controlP5/ControlP5Base.html#addToggle(java.lang.String)">addToggle</a>, <a href="../controlP5/ControlP5Base.html#getDefaultTab()">getDefaultTab</a>, <a href="../controlP5/ControlP5Base.html#getKey()">getKey</a>, <a href="../controlP5/ControlP5Base.html#getKeyCode()">getKeyCode</a>, <a href="../controlP5/ControlP5Base.html#getLayout()">getLayout</a>, <a href="../controlP5/ControlP5Base.html#getObjectForController(controlP5.ControllerInterface)">getObjectForController</a>, <a href="../controlP5/ControlP5Base.html#getProperties()">getProperties</a>, <a href="../controlP5/ControlP5Base.html#getPublicMethodsFor(java.lang.Class)">getPublicMethodsFor</a>, <a href="../controlP5/ControlP5Base.html#getPublicMethodsFor(java.lang.Class, boolean)">getPublicMethodsFor</a>, <a href="../controlP5/ControlP5Base.html#getPublicMethodsFor(java.lang.Class, boolean, java.lang.String...)">getPublicMethodsFor</a>, <a href="../controlP5/ControlP5Base.html#getPublicMethodsFor(java.lang.Class, java.lang.String...)">getPublicMethodsFor</a>, <a href="../controlP5/ControlP5Base.html#hide(java.lang.Object)">hide</a>, <a href="../controlP5/ControlP5Base.html#isAltDown()">isAltDown</a>, <a href="../controlP5/ControlP5Base.html#isControlDown()">isControlDown</a>, <a href="../controlP5/ControlP5Base.html#isMetaDown()">isMetaDown</a>, <a href="../controlP5/ControlP5Base.html#isShiftDown()">isShiftDown</a>, <a href="../controlP5/ControlP5Base.html#listenTo(java.lang.String, java.lang.Object)">listenTo</a>, <a href="../controlP5/ControlP5Base.html#mapKeyFor(controlP5.ControlKey, java.lang.Object...)">mapKeyFor</a>, <a href="../controlP5/ControlP5Base.html#moveTo(controlP5.ControllerGroup, java.lang.Object)">moveTo</a>, <a href="../controlP5/ControlP5Base.html#printPublicMethodsFor(java.lang.Class)">printPublicMethodsFor</a>, <a href="../controlP5/ControlP5Base.html#printPublicMethodsFor(java.lang.Class, java.lang.String...)">printPublicMethodsFor</a>, <a href="../controlP5/ControlP5Base.html#remove(java.lang.Object)">remove</a>, <a href="../controlP5/ControlP5Base.html#removeKeyFor(controlP5.ControlKey, char...)">removeKeyFor</a>, <a href="../controlP5/ControlP5Base.html#removeKeyFor(controlP5.ControlKey, int...)">removeKeyFor</a>, <a href="../controlP5/ControlP5Base.html#removeKeysFor(char...)">removeKeysFor</a>, <a href="../controlP5/ControlP5Base.html#removeKeysFor(int...)">removeKeysFor</a>, <a href="../controlP5/ControlP5Base.html#removeProperty(controlP5.ControllerInterface)">removeProperty</a>, <a href="../controlP5/ControlP5Base.html#setAutoAddDirection(int)">setAutoAddDirection</a>, <a href="../controlP5/ControlP5Base.html#setAutoSpacing()">setAutoSpacing</a>, <a href="../controlP5/ControlP5Base.html#setAutoSpacing(float)">setAutoSpacing</a>, <a href="../controlP5/ControlP5Base.html#setAutoSpacing(float, float)">setAutoSpacing</a>, <a href="../controlP5/ControlP5Base.html#setAutoSpacing(float, float, float)">setAutoSpacing</a>, <a href="../controlP5/ControlP5Base.html#setColor(controlP5.CColor, java.lang.Object)">setColor</a>, <a href="../controlP5/ControlP5Base.html#setPosition(int, int, java.lang.Object)">setPosition</a>, <a href="../controlP5/ControlP5Base.html#show(java.lang.Object)">show</a>, <a href="../controlP5/ControlP5Base.html#stopListeningTo(java.lang.String, java.lang.Object)">stopListeningTo</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_controlP5.ControlP5Legacy">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class controlP5.<a href="../controlP5/ControlP5Legacy.html" title="class in controlP5">ControlP5Legacy</a></h3>
|
|
<code><a href="../controlP5/ControlP5Legacy.html#addAccordion(java.lang.Object, java.lang.String, java.lang.String)">addAccordion</a>, <a href="../controlP5/ControlP5Legacy.html#addAccordion(java.lang.String, int, int, int)">addAccordion</a>, <a href="../controlP5/ControlP5Legacy.html#addBang(java.lang.Object, java.lang.String, java.lang.String)">addBang</a>, <a href="../controlP5/ControlP5Legacy.html#addBang(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addBang</a>, <a href="../controlP5/ControlP5Legacy.html#addBang(java.lang.String, int, int)">addBang</a>, <a href="../controlP5/ControlP5Legacy.html#addBang(java.lang.String, int, int, int, int)">addBang</a>, <a href="../controlP5/ControlP5Legacy.html#addBoundingBox(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addBoundingBox</a>, <a href="../controlP5/ControlP5Legacy.html#addBoundingBox(java.lang.String)">addBoundingBox</a>, <a href="../controlP5/ControlP5Legacy.html#addButton(java.lang.Object, java.lang.String, java.lang.String)">addButton</a>, <a href="../controlP5/ControlP5Legacy.html#addButton(java.lang.Object, java.lang.String, java.lang.String, float)">addButton</a>, <a href="../controlP5/ControlP5Legacy.html#addButton(java.lang.Object, java.lang.String, java.lang.String, float, int, int, int, int)">addButton</a>, <a href="../controlP5/ControlP5Legacy.html#addButton(java.lang.String, float)">addButton</a>, <a href="../controlP5/ControlP5Legacy.html#addButton(java.lang.String, float, int, int, int, int)">addButton</a>, <a href="../controlP5/ControlP5Legacy.html#addChart(java.lang.String, int, int, int, int)">addChart</a>, <a href="../controlP5/ControlP5Legacy.html#addCheckBox(java.lang.Object, java.lang.String, java.lang.String, int, int)">addCheckBox</a>, <a href="../controlP5/ControlP5Legacy.html#addCheckBox(java.lang.String, int, int)">addCheckBox</a>, <a href="../controlP5/ControlP5Legacy.html#addColorPicker(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addColorPicker</a>, <a href="../controlP5/ControlP5Legacy.html#addColorPicker(java.lang.String, int, int, int, int)">addColorPicker</a>, <a href="../controlP5/ControlP5Legacy.html#addColorWheel(java.lang.Object, java.lang.String, java.lang.String, int, int, int)">addColorWheel</a>, <a href="../controlP5/ControlP5Legacy.html#addColorWheel(java.lang.String, int, int, int)">addColorWheel</a>, <a href="../controlP5/ControlP5Legacy.html#addController(java.lang.Object, java.lang.String, java.lang.String, java.lang.Class, int, int)">addController</a>, <a href="../controlP5/ControlP5Legacy.html#addController(java.lang.String, java.lang.Class, int, int)">addController</a>, <a href="../controlP5/ControlP5Legacy.html#addControlWindow(java.lang.String)">addControlWindow</a>, <a href="../controlP5/ControlP5Legacy.html#addControlWindow(java.lang.String, int, int)">addControlWindow</a>, <a href="../controlP5/ControlP5Legacy.html#addControlWindow(java.lang.String, int, int, int, int)">addControlWindow</a>, <a href="../controlP5/ControlP5Legacy.html#addControlWindow(java.lang.String, int, int, int, int, int)">addControlWindow</a>, <a href="../controlP5/ControlP5Legacy.html#addControlWindow(java.lang.String, int, int, int, int, java.lang.String, int)">addControlWindow</a>, <a href="../controlP5/ControlP5Legacy.html#addDropdownList(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addDropdownList</a>, <a href="../controlP5/ControlP5Legacy.html#addDropdownList(java.lang.String)">addDropdownList</a>, <a href="../controlP5/ControlP5Legacy.html#addDropdownList(java.lang.String, int, int, int, int)">addDropdownList</a>, <a href="../controlP5/ControlP5Legacy.html#addGroup(java.lang.Object, java.lang.String, java.lang.String)">addGroup</a>, <a href="../controlP5/ControlP5Legacy.html#addGroup(java.lang.Object, java.lang.String, java.lang.String, java.lang.Class, int, int, int, int)">addGroup</a>, <a href="../controlP5/ControlP5Legacy.html#addGroup(java.lang.Object, java.lang.String, java.lang.String, int, int)">addGroup</a>, <a href="../controlP5/ControlP5Legacy.html#addGroup(java.lang.Object, java.lang.String, java.lang.String, int, int, int)">addGroup</a>, <a href="../controlP5/ControlP5Legacy.html#addGroup(java.lang.String, int, int)">addGroup</a>, <a href="../controlP5/ControlP5Legacy.html#addGroup(java.lang.String, int, int, int)">addGroup</a>, <a href="../controlP5/ControlP5Legacy.html#addKnob(java.lang.Object, java.lang.String, java.lang.String)">addKnob</a>, <a href="../controlP5/ControlP5Legacy.html#addKnob(java.lang.Object, java.lang.String, java.lang.String, float, float, float, int, int, int)">addKnob</a>, <a href="../controlP5/ControlP5Legacy.html#addKnob(java.lang.Object, java.lang.String, java.lang.String, float, float, int, int, int)">addKnob</a>, <a href="../controlP5/ControlP5Legacy.html#addKnob(java.lang.Object, java.lang.String, java.lang.String, int, int)">addKnob</a>, <a href="../controlP5/ControlP5Legacy.html#addKnob(java.lang.String, float, float, float, int, int, int)">addKnob</a>, <a href="../controlP5/ControlP5Legacy.html#addKnob(java.lang.String, float, float, int, int, int)">addKnob</a>, <a href="../controlP5/ControlP5Legacy.html#addKnob(java.lang.String, int, int)">addKnob</a>, <a href="../controlP5/ControlP5Legacy.html#addListBox(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addListBox</a>, <a href="../controlP5/ControlP5Legacy.html#addListBox(java.lang.String)">addListBox</a>, <a href="../controlP5/ControlP5Legacy.html#addListBox(java.lang.String, int, int, int, int)">addListBox</a>, <a href="../controlP5/ControlP5Legacy.html#addMatrix(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int, int, int)">addMatrix</a>, <a href="../controlP5/ControlP5Legacy.html#addMatrix(java.lang.String, int, int, int, int, int, int)">addMatrix</a>, <a href="../controlP5/ControlP5Legacy.html#addMultiList(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addMultiList</a>, <a href="../controlP5/ControlP5Legacy.html#addMultiList(java.lang.String, int, int, int, int)">addMultiList</a>, <a href="../controlP5/ControlP5Legacy.html#addNumberbox(java.lang.Object, java.lang.String, java.lang.String)">addNumberbox</a>, <a href="../controlP5/ControlP5Legacy.html#addNumberbox(java.lang.Object, java.lang.String, java.lang.String, float, int, int, int, int)">addNumberbox</a>, <a href="../controlP5/ControlP5Legacy.html#addNumberbox(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addNumberbox</a>, <a href="../controlP5/ControlP5Legacy.html#addNumberbox(java.lang.String, float, int, int, int, int)">addNumberbox</a>, <a href="../controlP5/ControlP5Legacy.html#addNumberbox(java.lang.String, int, int, int, int)">addNumberbox</a>, <a href="../controlP5/ControlP5Legacy.html#addRadio(java.lang.String)">addRadio</a>, <a href="../controlP5/ControlP5Legacy.html#addRadio(java.lang.String, int, int)">addRadio</a>, <a href="../controlP5/ControlP5Legacy.html#addRadioButton(java.lang.Object, java.lang.String, java.lang.String, int, int)">addRadioButton</a>, <a href="../controlP5/ControlP5Legacy.html#addRadioButton(java.lang.String, int, int)">addRadioButton</a>, <a href="../controlP5/ControlP5Legacy.html#addRange(java.lang.Object, java.lang.String, java.lang.String, float, float, float, float, int, int, int, int)">addRange</a>, <a href="../controlP5/ControlP5Legacy.html#addRange(java.lang.Object, java.lang.String, java.lang.String, float, float, int, int, int, int)">addRange</a>, <a href="../controlP5/ControlP5Legacy.html#addRange(java.lang.String, float, float, float, float, int, int, int, int)">addRange</a>, <a href="../controlP5/ControlP5Legacy.html#addRange(java.lang.String, float, float, int, int, int, int)">addRange</a>, <a href="../controlP5/ControlP5Legacy.html#addScrollableList(java.lang.Object, java.lang.String, java.lang.String)">addScrollableList</a>, <a href="../controlP5/ControlP5Legacy.html#addScrollableList(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addScrollableList</a>, <a href="../controlP5/ControlP5Legacy.html#addScrollableList(java.lang.String, int, int, int, int)">addScrollableList</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider(java.lang.Object, java.lang.String, java.lang.String)">addSlider</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider(java.lang.Object, java.lang.String, java.lang.String, float, float)">addSlider</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider(java.lang.Object, java.lang.String, java.lang.String, float, float, float, int, int, int, int)">addSlider</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider(java.lang.Object, java.lang.String, java.lang.String, float, float, int, int, int, int)">addSlider</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider(java.lang.String, float, float)">addSlider</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider(java.lang.String, float, float, float, int, int, int, int)">addSlider</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider(java.lang.String, float, float, int, int, int, int)">addSlider</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider2D(java.lang.Object, java.lang.String, java.lang.String, float, float, float, float, float, float, int, int, int, int)">addSlider2D</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider2D(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addSlider2D</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider2D(java.lang.String, float, float, float, float, float, float, int, int, int, int)">addSlider2D</a>, <a href="../controlP5/ControlP5Legacy.html#addSlider2D(java.lang.String, int, int, int, int)">addSlider2D</a>, <a href="../controlP5/ControlP5Legacy.html#addTab(controlP5.ControlWindow, java.lang.String)">addTab</a>, <a href="../controlP5/ControlP5Legacy.html#addTab(processing.core.PApplet, java.lang.String)">addTab</a>, <a href="../controlP5/ControlP5Legacy.html#addTextarea(java.lang.String, java.lang.String, int, int, int, int)">addTextarea</a>, <a href="../controlP5/ControlP5Legacy.html#addTextfield(java.lang.Object, java.lang.String, java.lang.String)">addTextfield</a>, <a href="../controlP5/ControlP5Legacy.html#addTextfield(java.lang.Object, java.lang.String, java.lang.String, int, int, int, int)">addTextfield</a>, <a href="../controlP5/ControlP5Legacy.html#addTextfield(java.lang.String, int, int, int, int)">addTextfield</a>, <a href="../controlP5/ControlP5Legacy.html#addTextlabel(java.lang.Object, java.lang.String, java.lang.String, java.lang.String)">addTextlabel</a>, <a href="../controlP5/ControlP5Legacy.html#addTextlabel(java.lang.Object, java.lang.String, java.lang.String, java.lang.String, int, int)">addTextlabel</a>, <a href="../controlP5/ControlP5Legacy.html#addTextlabel(java.lang.String, java.lang.String)">addTextlabel</a>, <a href="../controlP5/ControlP5Legacy.html#addTextlabel(java.lang.String, java.lang.String, int, int)">addTextlabel</a>, <a href="../controlP5/ControlP5Legacy.html#addToggle(java.lang.Object, java.lang.String, java.lang.String)">addToggle</a>, <a href="../controlP5/ControlP5Legacy.html#addToggle(java.lang.Object, java.lang.String, java.lang.String, boolean)">addToggle</a>, <a href="../controlP5/ControlP5Legacy.html#addToggle(java.lang.Object, java.lang.String, java.lang.String, boolean, float, float, int, int)">addToggle</a>, <a href="../controlP5/ControlP5Legacy.html#addToggle(java.lang.Object, java.lang.String, java.lang.String, float, float, int, int)">addToggle</a>, <a href="../controlP5/ControlP5Legacy.html#addToggle(java.lang.String, boolean)">addToggle</a>, <a href="../controlP5/ControlP5Legacy.html#addToggle(java.lang.String, boolean, float, float, int, int)">addToggle</a>, <a href="../controlP5/ControlP5Legacy.html#addToggle(java.lang.String, float, float, int, int)">addToggle</a>, <a href="../controlP5/ControlP5Legacy.html#addTooltip()">addTooltip</a>, <a href="../controlP5/ControlP5Legacy.html#getController(java.lang.String, java.lang.Object)">getController</a>, <a href="../controlP5/ControlP5Legacy.html#getTextlabel()">getTextlabel</a>, <a href="../controlP5/ControlP5Legacy.html#getTextlabel(java.lang.String, int, int)">getTextlabel</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="blockDraw">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>blockDraw</h4>
|
|
<pre>@Deprecated
|
|
public boolean blockDraw</pre>
|
|
<div class="block"><span class="strong">Deprecated.</span> </div>
|
|
</li>
|
|
</ul>
|
|
<a name="controlWindow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>controlWindow</h4>
|
|
<pre>public <a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> controlWindow</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DEBUG">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DEBUG</h4>
|
|
<pre>public static boolean DEBUG</pre>
|
|
<div class="block">use this static variable to turn DEBUG on or off.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isApplet">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isApplet</h4>
|
|
<pre>public static boolean isApplet</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="logger">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>logger</h4>
|
|
<pre>public static final java.util.logging.Logger logger</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="papplet">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>papplet</h4>
|
|
<pre>public processing.core.PApplet papplet</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="VERSION">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>VERSION</h4>
|
|
<pre>public static final java.lang.String VERSION</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#controlP5.ControlP5.VERSION">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="ControlP5(processing.core.PApplet)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ControlP5</h4>
|
|
<pre>public ControlP5(processing.core.PApplet theParent)</pre>
|
|
<div class="block">Create a new instance of controlP5.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theParent</code> - PApplet</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ControlP5(processing.core.PApplet, controlP5.ControlFont)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ControlP5</h4>
|
|
<pre>public ControlP5(processing.core.PApplet theParent,
|
|
<a href="../controlP5/ControlFont.html" title="class in controlP5">ControlFont</a> theControlFont)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="ControlP5(processing.core.PApplet, processing.core.PFont)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>ControlP5</h4>
|
|
<pre>public ControlP5(processing.core.PApplet theParent,
|
|
processing.core.PFont thePFont)</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="addCallback(controlP5.CallbackListener...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCallback</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> addCallback(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a>... theListeners)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackEvent.html" title="class in controlP5"><code>CallbackEvent</code></a>,
|
|
<a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCallback(controlP5.CallbackListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCallback</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> addCallback(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a> theListener)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackEvent.html" title="class in controlP5"><code>CallbackEvent</code></a>,
|
|
<a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCallback(controlP5.CallbackListener, controlP5.Controller...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCallback</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> addCallback(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a> theListener,
|
|
<a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?>... theControllers)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackEvent.html" title="class in controlP5"><code>CallbackEvent</code></a>,
|
|
<a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCanvas(controlP5.Canvas)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCanvas</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> addCanvas(<a href="../controlP5/Canvas.html" title="class in controlP5">Canvas</a> theCanvas)</pre>
|
|
<div class="block">adds a Canvas to the default sketch window.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Canvas.html" title="class in controlP5"><code>Canvas</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addControlsFor(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addControlsFor</h4>
|
|
<pre>public void addControlsFor(java.lang.Object theObject)</pre>
|
|
<div class="block">TODO</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addListener(controlP5.ControlListener...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addListener</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> addListener(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a>... theListeners)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlListener.html" title="interface in controlP5"><code>ControlListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addPositionTo(int, int, controlP5.ControllerInterface...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addPositionTo</h4>
|
|
<pre>public void addPositionTo(int theX,
|
|
int theY,
|
|
<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>... theControllers)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="addPositionTo(int, int, java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addPositionTo</h4>
|
|
<pre>public void addPositionTo(int theX,
|
|
int theY,
|
|
java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>> theControllers)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="b(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>b</h4>
|
|
<pre>public static boolean b(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="begin()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>begin</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> begin()</pre>
|
|
<div class="block">cp5.begin() and cp5.end() are mechanisms to
|
|
auto-layout controllers, see the ControlP5beginEnd
|
|
example.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="begin(controlP5.ControllerGroup)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>begin</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> begin(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="begin(controlP5.ControllerGroup, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>begin</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> begin(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup,
|
|
int theX,
|
|
int theY)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="begin(controlP5.ControlWindow)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>begin</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> begin(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theWindow)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="begin(controlP5.ControlWindow, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>begin</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> begin(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theWindow,
|
|
int theX,
|
|
int theY)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="begin(int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>begin</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> begin(int theX,
|
|
int theY)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="d(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>d</h4>
|
|
<pre>public static double d(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="disableShortcuts()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>disableShortcuts</h4>
|
|
<pre>public void disableShortcuts()</pre>
|
|
<div class="block">disables shortcuts such as alt-h for hiding/showing
|
|
controllers</div>
|
|
</li>
|
|
</ul>
|
|
<a name="dispose()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dispose</h4>
|
|
<pre>public void dispose()</pre>
|
|
<div class="block">disposes and clears all controlP5 elements. When
|
|
running in applet mode, opening new tabs or switching
|
|
to another tab causes the applet to call dispose().
|
|
therefore dispose() is disabled when running ing
|
|
applet mode. TODO implement better dispose handling
|
|
for applets.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="draw()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>draw</h4>
|
|
<pre>public void draw()</pre>
|
|
<div class="block">call draw() from your program when autoDraw is
|
|
disabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="enableShortcuts()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableShortcuts</h4>
|
|
<pre>public void enableShortcuts()</pre>
|
|
<div class="block">enables shortcuts.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="end()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>end</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> end()</pre>
|
|
<div class="block">cp5.begin() and cp5.end() are mechanisms to
|
|
auto-layout controllers, see the ControlP5beginEnd
|
|
example.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="end(controlP5.ControllerGroup)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>end</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> end(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="f(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>f</h4>
|
|
<pre>public static float f(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="get(java.lang.Class, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>get</h4>
|
|
<pre>public <C> C get(java.lang.Class<C> theClass,
|
|
java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="get(java.lang.Object, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>get</h4>
|
|
<pre>public <a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> get(java.lang.Object theObject,
|
|
java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="get(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>get</h4>
|
|
<pre>public <a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> get(java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getAll()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAll</h4>
|
|
<pre>public java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>> getAll()</pre>
|
|
<div class="block">Returns a List of all controllers currently
|
|
registered.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>List<ControllerInterface<?>></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAll(java.lang.Class)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAll</h4>
|
|
<pre>public <T> java.util.List<T> getAll(java.lang.Class<T> theClass)</pre>
|
|
<div class="block">Returns a list of controllers or groups of a
|
|
particular type. The following example will return a
|
|
list of registered Bangs only:<br />
|
|
<code><pre>
|
|
List<Bang> list = controlP5.getAll(Bang.class);
|
|
println(list);
|
|
for(Bang b:list) {
|
|
b.setColorForeground(color(255,255,0));
|
|
}
|
|
</pre></code> Here the foreground color of all Bangs
|
|
is changed to yellow.</div>
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - </dd><dt><span class="strong">Parameters:</span></dt><dd><code>theClass</code> - A class that extends
|
|
ControllerInterface, which applies to all
|
|
Controllers and ControllerGroups</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>List<T></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getColor()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getColor</h4>
|
|
<pre>public static <a href="../controlP5/CColor.html" title="class in controlP5">CColor</a> getColor()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getControlBroadcaster()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getControlBroadcaster</h4>
|
|
<pre>public <a href="../controlP5/ControlBroadcaster.html" title="class in controlP5">ControlBroadcaster</a> getControlBroadcaster()</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlBroadcaster.html" title="class in controlP5"><code>ControlBroadcaster</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getController(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getController</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?> getController(java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getControllerList()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getControllerList</h4>
|
|
<pre>@Deprecated
|
|
public <a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>[] getControllerList()</pre>
|
|
<div class="block"><span class="strong">Deprecated.</span> </div>
|
|
<div class="block">returns a list of registered Controllers. Controllers
|
|
with duplicated reference names will be ignored, only
|
|
the latest of such Controllers will be included in
|
|
the list.
|
|
|
|
use getAll() instead</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>ControllerInterface[]</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#getAll()"><code>getAll()</code></a>,
|
|
<a href="../controlP5/ControlP5.html#getAll(java.lang.Class)"><code>getAll(Class)</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getFont()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFont</h4>
|
|
<pre>public <a href="../controlP5/ControlFont.html" title="class in controlP5">ControlFont</a> getFont()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getGroup(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGroup</h4>
|
|
<pre>public <a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> getGroup(java.lang.String theGroupName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getList()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getList</h4>
|
|
<pre>public java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>> getList()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>List<ControllerInterface></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#getAll(java.lang.Class)"><code>getAll(Class)</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getListener(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getListener</h4>
|
|
<pre>public <a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a> getListener(int theIndex)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlListener.html" title="interface in controlP5"><code>ControlListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMouseOverList()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMouseOverList</h4>
|
|
<pre>public java.util.List<<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?>> getMouseOverList()</pre>
|
|
<div class="block">convenience method to check if the mouse (or pointer)
|
|
is hovering over a specific controller. only applies
|
|
to the main window. To receive the mouseover
|
|
information for a ControlWindow use
|
|
getWindow(nameOfWindow).getMouseOverList();</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPointer()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPointer</h4>
|
|
<pre>public <a href="../controlP5/ControlWindow.Pointer.html" title="class in controlP5">ControlWindow.Pointer</a> getPointer()</pre>
|
|
<div class="block">convenience method to access the pointer of the main
|
|
control window.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getTab(controlP5.ControlWindow, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTab</h4>
|
|
<pre>public <a href="../controlP5/Tab.html" title="class in controlP5">Tab</a> getTab(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theWindow,
|
|
java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getTab(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTab</h4>
|
|
<pre>public <a href="../controlP5/Tab.html" title="class in controlP5">Tab</a> getTab(java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getTooltip()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTooltip</h4>
|
|
<pre>public <a href="../controlP5/Tooltip.html" title="class in controlP5">Tooltip</a> getTooltip()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getValue(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getValue</h4>
|
|
<pre>public float getValue(java.lang.String theIndex)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getWindow()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWindow</h4>
|
|
<pre>public <a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> getWindow()</pre>
|
|
<div class="block">convenience method to access the main window
|
|
(ControlWindow class).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getWindow(processing.core.PApplet)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWindow</h4>
|
|
<pre>public <a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> getWindow(processing.core.PApplet theApplet)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hide()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hide</h4>
|
|
<pre>public void hide()</pre>
|
|
<div class="block">hide all controllers and tabs inside your sketch
|
|
window.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#show()"><code>show()</code></a>,
|
|
<a href="../controlP5/ControlP5.html#isVisible()"><code>isVisible()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="i(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>i</h4>
|
|
<pre>public static int i(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="i(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>i</h4>
|
|
<pre>public static int i(java.lang.String o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="invoke(java.lang.Object, java.lang.String, java.lang.Object...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>invoke</h4>
|
|
<pre>public static java.lang.Object invoke(java.lang.Object theObject,
|
|
java.lang.String theMember,
|
|
java.lang.Object... theParams)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isAutoDraw()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAutoDraw</h4>
|
|
<pre>public boolean isAutoDraw()</pre>
|
|
<div class="block">check if the autoDraw function for the main window is
|
|
enabled(true) or disabled(false).</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isMouseOver()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMouseOver</h4>
|
|
<pre>public boolean isMouseOver()</pre>
|
|
<div class="block">convenience method to check if the mouse (or pointer)
|
|
is hovering over any controller. only applies to the
|
|
main window. To receive the mouseover information for
|
|
a ControlWindow use
|
|
getWindow(nameOfWindow).isMouseOver();</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isMouseOver(controlP5.ControllerInterface)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMouseOver</h4>
|
|
<pre>public boolean isMouseOver(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</pre>
|
|
<div class="block">convenience method to check if the mouse (or pointer)
|
|
is hovering over a specific controller. only applies
|
|
to the main window. To receive the mouseover
|
|
information for a ControlWindow use
|
|
getWindow(nameOfWindow
|
|
).isMouseOver(ControllerInterface<?>);</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isMoveable()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMoveable</h4>
|
|
<pre>public boolean isMoveable()</pre>
|
|
<div class="block">Checks if controllers are generally moveable</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isNumeric(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isNumeric</h4>
|
|
<pre>public static boolean isNumeric(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isNumeric(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isNumeric</h4>
|
|
<pre>public static boolean isNumeric(java.lang.String str)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isShortcuts()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isShortcuts</h4>
|
|
<pre>public boolean isShortcuts()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isUpdate()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isUpdate</h4>
|
|
<pre>public boolean isUpdate()</pre>
|
|
<div class="block">checks if automatic updates are enabled. By default
|
|
this is true.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#update()"><code>update()</code></a>,
|
|
<a href="../controlP5/ControlP5.html#setUpdate(boolean)"><code>setUpdate(boolean)</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isVisible()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isVisible</h4>
|
|
<pre>public boolean isVisible()</pre>
|
|
<div class="block">returns true or false according to the current
|
|
visibility flag.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#show()"><code>show()</code></a>,
|
|
<a href="../controlP5/ControlP5.html#hide()"><code>hide()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="keyEvent(processing.event.KeyEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>keyEvent</h4>
|
|
<pre>public void keyEvent(processing.event.KeyEvent theKeyEvent)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="l(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>l</h4>
|
|
<pre>public static long l(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="loadLayout(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>loadLayout</h4>
|
|
<pre>public boolean loadLayout(java.lang.String theFilePath)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFilePath</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="loadProperties()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>loadProperties</h4>
|
|
<pre>public boolean loadProperties()</pre>
|
|
<div class="block">Loads properties from a default properties file and
|
|
changes values of controllers accordingly.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControllerProperties.html" title="class in controlP5"><code>ControllerProperties</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="loadProperties(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>loadProperties</h4>
|
|
<pre>public boolean loadProperties(java.lang.String theFilePath)</pre>
|
|
<div class="block">Loads properties from a properties file and changes
|
|
the values of controllers accordingly, the filepath
|
|
is given by parameter theFilePath.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFilePath</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="logger()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>logger</h4>
|
|
<pre>public static java.util.logging.Logger logger()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="mouseEvent(processing.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mouseEvent</h4>
|
|
<pre>public void mouseEvent(processing.event.MouseEvent theMouseEvent)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="move(java.lang.Object, controlP5.ControllerGroup)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>move</h4>
|
|
<pre>public void move(java.lang.Object theObject,
|
|
<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="moveControllersForObject(java.lang.Object, controlP5.ControllerGroup)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveControllersForObject</h4>
|
|
<pre>public void moveControllersForObject(java.lang.Object theObject,
|
|
<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="pre()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pre</h4>
|
|
<pre>public void pre()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="printControllerMap()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>printControllerMap</h4>
|
|
<pre>public void printControllerMap()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="register(controlP5.ControllerInterface)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>register</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> register(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="register(java.lang.Object, java.lang.String, controlP5.ControllerInterface)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>register</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> register(java.lang.Object theObject,
|
|
java.lang.String theIndex,
|
|
<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</pre>
|
|
<div class="block">registers a Controller with ControlP5, a Controller
|
|
should/must be registered with a unique name. If not,
|
|
accessing Controllers by name is not guaranteed. the
|
|
rule here is last come last serve, existing
|
|
Controllers with the same name will be overridden.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theController</code> - ControllerInterface</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>ControlP5</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="remove(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>remove</h4>
|
|
<pre>public void remove(java.lang.String theName)</pre>
|
|
<div class="block">removes a controlP5 element such as a controller,
|
|
group, or tab by name.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theString</code> - String</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCallback(controlP5.CallbackListener...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCallback</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> removeCallback(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a>... theListeners)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackEvent.html" title="class in controlP5"><code>CallbackEvent</code></a>,
|
|
<a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCallback(controlP5.Controller...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCallback</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> removeCallback(<a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?>... theControllers)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackEvent.html" title="class in controlP5"><code>CallbackEvent</code></a>,
|
|
<a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCallback(controlP5.Controller)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCallback</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> removeCallback(<a href="../controlP5/Controller.html" title="class in controlP5">Controller</a><?> theController)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackEvent.html" title="class in controlP5"><code>CallbackEvent</code></a>,
|
|
<a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCanvas(controlP5.Canvas)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCanvas</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> removeCanvas(<a href="../controlP5/Canvas.html" title="class in controlP5">Canvas</a> theCanvas)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeListener(controlP5.ControlListener...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeListener</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> removeListener(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a>... theListeners)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlListener.html" title="interface in controlP5"><code>ControlListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeListener(controlP5.ControlListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeListener</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> removeListener(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a> theListener)</pre>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlListener.html" title="interface in controlP5"><code>ControlListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="s(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>s</h4>
|
|
<pre>public static java.lang.String s(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="s(java.lang.Object, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>s</h4>
|
|
<pre>public static java.lang.String s(java.lang.Object o,
|
|
java.lang.String theDefault)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="s(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>s</h4>
|
|
<pre>public static java.lang.String s(java.lang.String o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="saveLayout(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>saveLayout</h4>
|
|
<pre>public void saveLayout(java.lang.String theFilePath)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFilePath</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="saveProperties()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>saveProperties</h4>
|
|
<pre>public boolean saveProperties()</pre>
|
|
<div class="block">Saves the current values of controllers into a
|
|
default properties file</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControllerProperties.html" title="class in controlP5"><code>ControllerProperties</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="saveProperties(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>saveProperties</h4>
|
|
<pre>public boolean saveProperties(java.lang.String theFilePath)</pre>
|
|
<div class="block">Saves the current values of controllers into a file,
|
|
the filepath is given by parameter theFilePath.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControllerProperties.html" title="class in controlP5"><code>ControllerProperties</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="saveProperties(java.lang.String, java.lang.String...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>saveProperties</h4>
|
|
<pre>public boolean saveProperties(java.lang.String theFilePath,
|
|
java.lang.String... theSets)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoDraw(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoDraw</h4>
|
|
<pre>public void setAutoDraw(boolean theFlag)</pre>
|
|
<div class="block">by default controlP5 draws any controller on top of
|
|
any drawing done in the draw() function (this doesnt
|
|
apply to P3D where controlP5.draw() has to be called
|
|
manually in the sketch's draw() function ). to turn
|
|
off the auto drawing of controlP5, use
|
|
controlP5.setAutoDraw(false). now you can call
|
|
controlP5.draw() any time whenever controllers should
|
|
be drawn into the sketch.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoInitialization(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoInitialization</h4>
|
|
<pre>public void setAutoInitialization(boolean theFlag)</pre>
|
|
<div class="block">autoInitialization can be very handy when it comes to
|
|
initializing values, e.g. you load a set of
|
|
controllers, then the values that are attached to the
|
|
controllers will be reset to its saved state. to turn
|
|
of auto intialization, call
|
|
setAutoInitialization(false) right after initializing
|
|
controlP5 and before creating any controller.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setBackground(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBackground</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setBackground(int theColor)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setBroadcast(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBroadcast</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setBroadcast(boolean theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setColor(controlP5.CColor)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColor</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setColor(<a href="../controlP5/CColor.html" title="class in controlP5">CColor</a> theColor)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorActive(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorActive</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setColorActive(int theColor)</pre>
|
|
<div class="block">sets the active state color of tabs and controllers,
|
|
this cascades down to all known controllers.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorBackground(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorBackground</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setColorBackground(int theColor)</pre>
|
|
<div class="block">sets the background color of tabs and controllers,
|
|
this cascades down to all known controllers.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorCaptionLabel(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorCaptionLabel</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setColorCaptionLabel(int theColor)</pre>
|
|
<div class="block">sets the label color of tabs and controllers, this
|
|
cascades down to all known controllers.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorForeground(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorForeground</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setColorForeground(int theColor)</pre>
|
|
<div class="block">sets the foreground color of tabs and controllers,
|
|
this cascades down to all known controllers.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorValueLabel(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorValueLabel</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setColorValueLabel(int theColor)</pre>
|
|
<div class="block">sets the value color of controllers, this cascades
|
|
down to all known controllers.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setFont(controlP5.ControlFont)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setFont</h4>
|
|
<pre>public boolean setFont(<a href="../controlP5/ControlFont.html" title="class in controlP5">ControlFont</a> theControlFont)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setFont(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setFont</h4>
|
|
<pre>@Deprecated
|
|
public boolean setFont(int theBitFontIndex)</pre>
|
|
<div class="block"><span class="strong">Deprecated.</span> </div>
|
|
</li>
|
|
</ul>
|
|
<a name="setFont(processing.core.PFont)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setFont</h4>
|
|
<pre>public boolean setFont(processing.core.PFont thePFont)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setFont(processing.core.PFont, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setFont</h4>
|
|
<pre>public boolean setFont(processing.core.PFont thePFont,
|
|
int theFontSize)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setGraphics(processing.core.PApplet, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGraphics</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setGraphics(processing.core.PApplet theApplet,
|
|
int theX,
|
|
int theY)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setGraphics(processing.core.PGraphics, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGraphics</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setGraphics(processing.core.PGraphics theGraphics,
|
|
int theX,
|
|
int theY)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMouseWheelRotation(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMouseWheelRotation</h4>
|
|
<pre>public void setMouseWheelRotation(int theRotation)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMoveable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMoveable</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setMoveable(boolean theFlag)</pre>
|
|
<div class="block">Enables/disables Controllers to be moved around when
|
|
ALT-key is down and mouse is dragged. Other key
|
|
events are still available like ALT-h to hide and
|
|
show the controllers To disable all key events, use
|
|
disableKeys()</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setTabEventsActive(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTabEventsActive</h4>
|
|
<pre>public void setTabEventsActive(boolean theFlag)</pre>
|
|
<div class="block">By default event originating from tabs are disabled,
|
|
use setTabEventsActive(true) to receive controlEvents
|
|
when tabs are clicked.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTooltip(controlP5.Tooltip)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTooltip</h4>
|
|
<pre>public void setTooltip(<a href="../controlP5/Tooltip.html" title="class in controlP5">Tooltip</a> theTooltip)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setUpdate(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setUpdate</h4>
|
|
<pre>public void setUpdate(boolean theFlag)</pre>
|
|
<div class="block">changes the update behavior according to parameter
|
|
theFlag</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#update()"><code>update()</code></a>,
|
|
<a href="../controlP5/ControlP5.html#isUpdate()"><code>isUpdate()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setVisible(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setVisible</h4>
|
|
<pre>public <a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> setVisible(boolean b)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="show()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>show</h4>
|
|
<pre>public void show()</pre>
|
|
<div class="block">shows all controllers and tabs in your sketch.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#isVisible()"><code>isVisible()</code></a>,
|
|
<a href="../controlP5/ControlP5.html#hide()"><code>hide()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toList(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toList</h4>
|
|
<pre>public static java.util.List toList(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="toMap(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toMap</h4>
|
|
<pre>public static java.util.Map toMap(java.lang.Object o)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="update()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>update</h4>
|
|
<pre>public void update()</pre>
|
|
<div class="block">forces all controllers to update.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControlP5.html#isUpdate()"><code>isUpdate()</code></a>,
|
|
<code>controlP5.ControlP5#setUpdate()</code></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="version()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>version</h4>
|
|
<pre>public java.lang.String version()</pre>
|
|
<div class="block">Returns the current version of controlP5</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>String</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../controlP5/package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../index-all.html">Index</a></li>
|
|
<li><a href="../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../controlP5/ControlListener.html" title="interface in controlP5"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../controlP5/ControlP5Base.html" title="class in controlP5"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?controlP5/ControlP5.html" target="_top">Frames</a></li>
|
|
<li><a href="ControlP5.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small>processing library controlP5 by Andreas Schlegel. (c) 2006-2014</small></p>
|
|
</body>
|
|
</html>
|