mirror of
https://github.com/sojamo/controlp5
synced 2024-11-25 23:27:57 +01:00
3090 lines
160 KiB
HTML
3090 lines
160 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>Controller (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="Controller (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/ControlKey.html" title="interface in controlP5"><span class="strong">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?controlP5/Controller.html" target="_top">Frames</a></li>
|
|
<li><a href="Controller.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 Controller" class="title">Class Controller<T></h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>controlP5.Controller<T></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="../controlP5/CDrawable.html" title="interface in controlP5">CDrawable</a>, <a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><T>, <a href="../controlP5/ControlP5Constants.html" title="interface in controlP5">ControlP5Constants</a></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>Direct Known Subclasses:</dt>
|
|
<dd><a href="../controlP5/Bang.html" title="class in controlP5">Bang</a>, <a href="../controlP5/BoundingBox.html" title="class in controlP5">BoundingBox</a>, <a href="../controlP5/Button.html" title="class in controlP5">Button</a>, <a href="../controlP5/Chart.html" title="class in controlP5">Chart</a>, <a href="../controlP5/ColorWheel.html" title="class in controlP5">ColorWheel</a>, <a href="../controlP5/Knob.html" title="class in controlP5">Knob</a>, <a href="../controlP5/Matrix.html" title="class in controlP5">Matrix</a>, <a href="../controlP5/MultiList.html" title="class in controlP5">MultiList</a>, <a href="../controlP5/Numberbox.html" title="class in controlP5">Numberbox</a>, <a href="../controlP5/Range.html" title="class in controlP5">Range</a>, <a href="../controlP5/ScrollableList.html" title="class in controlP5">ScrollableList</a>, <a href="../controlP5/Slider.html" title="class in controlP5">Slider</a>, <a href="../controlP5/Slider2D.html" title="class in controlP5">Slider2D</a>, <a href="../controlP5/Textfield.html" title="class in controlP5">Textfield</a>, <a href="../controlP5/Textlabel.html" title="class in controlP5">Textlabel</a>, <a href="../controlP5/Toggle.html" title="class in controlP5">Toggle</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public abstract class <span class="strong">Controller<T></span>
|
|
extends java.lang.Object
|
|
implements <a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><T>, <a href="../controlP5/CDrawable.html" title="interface in controlP5">CDrawable</a>, <a href="../controlP5/ControlP5Constants.html" title="interface in controlP5">ControlP5Constants</a></pre>
|
|
<div class="block"><p>
|
|
Controller is an abstract class that is extended by any available controller within controlP5.
|
|
this is the full documentation list for all methods available for a controller. An event
|
|
triggered by a controller will be forwarded to the main program. If a void
|
|
controlEvent(ControlEvent theEvent) {} method is available, this method will be called.
|
|
</p>
|
|
<p>
|
|
A Controller can notify the main program in 2 different ways:
|
|
</p>
|
|
<ul>
|
|
<li>(1) add method controlEvent(ControlEvent theEvent) to your sketch. ControlP5 will
|
|
automatically detect this method and will used it to forward any controlEvent triggered by a
|
|
controller - you can disable forwarding by using setBroadcast(false)
|
|
<a href="../controlP5/Controller.html#setBroadcast(boolean)"><code>setBroadcast(boolean)</code></a></li>
|
|
<li>(2) each controller requires a unique name when being create. In case an existing name is
|
|
used for a newly created Controller, the existing one will be overwritten. each unique name can
|
|
be used to automatically link a controller to either a method or a field within your program.</li>
|
|
</ul></div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Bang.html" title="class in controlP5"><code>Bang</code></a>,
|
|
<a href="../controlP5/Button.html" title="class in controlP5"><code>Button</code></a>,
|
|
<a href="../controlP5/Knob.html" title="class in controlP5"><code>Knob</code></a>,
|
|
<a href="../controlP5/Matrix.html" title="class in controlP5"><code>Matrix</code></a>,
|
|
<a href="../controlP5/MultiList.html" title="class in controlP5"><code>MultiList</code></a>,
|
|
<a href="../controlP5/Numberbox.html" title="class in controlP5"><code>Numberbox</code></a>,
|
|
<a href="../controlP5/RadioButton.html" title="class in controlP5"><code>RadioButton</code></a>,
|
|
<a href="../controlP5/ListBox.html" title="class in controlP5"><code>ListBox</code></a>,
|
|
<a href="../controlP5/Slider.html" title="class in controlP5"><code>Slider</code></a>,
|
|
<a href="../controlP5/Textarea.html" title="class in controlP5"><code>Textarea</code></a>,
|
|
<a href="../controlP5/Textfield.html" title="class in controlP5"><code>Textfield</code></a>,
|
|
<a href="../controlP5/Textlabel.html" title="class in controlP5"><code>Textlabel</code></a>,
|
|
<a href="../controlP5/Toggle.html" title="class in controlP5"><code>Toggle</code></a>,
|
|
<a href="../controlP5/ControlGroup.html" title="class in controlP5"><code>ControlGroup</code></a>,
|
|
<a href="../controlP5/ControlBehavior.html" title="class in controlP5"><code>ControlBehavior</code></a>,
|
|
<a href="../controlP5/ControlEvent.html" title="class in controlP5"><code>ControlEvent</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>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#autoHeight">autoHeight</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static processing.core.PVector</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#autoSpacing">autoSpacing</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#autoWidth">autoWidth</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/Controller.html#Controller(controlP5.ControlP5, java.lang.String)">Controller</a></strong>(<a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> theControlP5,
|
|
java.lang.String theName)</code>
|
|
<div class="block">Convenience constructor to extend Controller.</div>
|
|
</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/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#add(controlP5.ControllerInterface)">add</a></strong>(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theElement)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.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/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#addListener(controlP5.ControlListener)">addListener</a></strong>(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a> theListener)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#align(int, int, int, int)">align</a></strong>(int theCaptionX,
|
|
int theCaptionY,
|
|
int theValueX,
|
|
int theValueY)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#bringToFront()">bringToFront</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#bringToFront(controlP5.ControllerInterface)">bringToFront</a></strong>(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#changeValue(float)">changeValue</a></strong>(float theValue)</code>
|
|
<div class="block">sets the value of the controller without sending the broadcast event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#continuousUpdateEvents()">continuousUpdateEvents</a></strong>()</code>
|
|
<div class="block">continuousUpdateEvents is used for internal updates of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#draw(processing.core.PGraphics)">draw</a></strong>(processing.core.PGraphics theGraphics)</code>
|
|
<div class="block">the default draw function for each controller extending superclass Controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>processing.core.PVector</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getAbsolutePosition()">getAbsolutePosition</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getAddress()">getAddress</a></strong>()</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getArrayValue()">getArrayValue</a></strong>()</code>
|
|
<div class="block">returns the current float array value of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getArrayValue(int)">getArrayValue</a></strong>(int theIndex)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControlBehavior.html" title="class in controlP5">ControlBehavior</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getBehavior()">getBehavior</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Label.html" title="class in controlP5">Label</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getCaptionLabel()">getCaptionLabel</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/CColor.html" title="class in controlP5">CColor</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getColor()">getColor</a></strong>()</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="../controlP5/ControllerPlug.html" title="class in controlP5">ControllerPlug</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getControllerPlugList()">getControllerPlugList</a></strong>()</code> </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/Controller.html#getControlWindow()">getControlWindow</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getDecimalPrecision()">getDecimalPrecision</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getDefaultValue()">getDefaultValue</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getHeight()">getHeight</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getId()">getId</a></strong>()</code>
|
|
<div class="block">returns the id of a controller, by default the id is -1.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getInfo()">getInfo</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getLabel()">getLabel</a></strong>()</code>
|
|
<div class="block">returns the controller's caption label text.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getMax()">getMax</a></strong>()</code>
|
|
<div class="block">returns the maximum value of the controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getMin()">getMin</a></strong>()</code>
|
|
<div class="block">returns the minimum value of the controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getName()">getName</a></strong>()</code>
|
|
<div class="block">returns the index name of the controller.</div>
|
|
</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/Controller.html#getParent()">getParent</a></strong>()</code>
|
|
<div class="block">returns the parent of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getPickingColor()">getPickingColor</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Pointer.html" title="interface in controlP5">Pointer</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getPointer()">getPointer</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>processing.core.PVector</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getPosition()">getPosition</a></strong>()</code>
|
|
<div class="block">get the position of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerProperty.html" title="class in controlP5">ControllerProperty</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getProperty(java.lang.String)">getProperty</a></strong>(java.lang.String thePropertyName)</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerProperty.html" title="class in controlP5">ControllerProperty</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getProperty(java.lang.String, java.lang.String)">getProperty</a></strong>(java.lang.String theSetter,
|
|
java.lang.String theGetter)</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getStringValue()">getStringValue</a></strong>()</code> </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/Controller.html#getTab()">getTab</a></strong>()</code>
|
|
<div class="block">get the instance of the tab the controller belongs to.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getValue()">getValue</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Label.html" title="class in controlP5">Label</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getValueLabel()">getValueLabel</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerView.html" title="interface in controlP5">ControllerView</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getView()">getView</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#getWidth()">getWidth</a></strong>()</code> </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/Controller.html#getWindow()">getWindow</a></strong>()</code>
|
|
<div class="block">returns the control window of the controller</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#hide()">hide</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#init()">init</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isActive()">isActive</a></strong>()</code>
|
|
<div class="block">checks if a controller is active.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isBroadcast()">isBroadcast</a></strong>()</code>
|
|
<div class="block">check if broadcasting is enabled or disabled for a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isInside()">isInside</a></strong>()</code>
|
|
<div class="block">returns true or false and indicates if the mouse is inside the area of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isLabelVisible()">isLabelVisible</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isListening()">isListening</a></strong>()</code>
|
|
<div class="block">returns true or false for the current listening status.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isLock()">isLock</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isMouseOver()">isMouseOver</a></strong>()</code>
|
|
<div class="block">check if the mouse is within this particular controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isMousePressed()">isMousePressed</a></strong>()</code>
|
|
<div class="block">returns true or false if the mouse has is pressed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isMoveable()">isMoveable</a></strong>()</code>
|
|
<div class="block">checks if a controller is moveable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isUpdate()">isUpdate</a></strong>()</code>
|
|
<div class="block">enables the update function for a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isUserInteraction()">isUserInteraction</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#isVisible()">isVisible</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#keyEvent(processing.event.KeyEvent)">keyEvent</a></strong>(processing.event.KeyEvent theEvent)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#linebreak()">linebreak</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#listen(boolean)">listen</a></strong>(boolean theValue)</code>
|
|
<div class="block">enables a controller to listen to changes made to the variable linked to the controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#listenerSize()">listenerSize</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#lock()">lock</a></strong>()</code>
|
|
<div class="block">disables the controller to be moved, or changed or controlled by the user.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(controlP5.ControlGroup)">moveTo</a></strong>(<a href="../controlP5/ControlGroup.html" title="class in controlP5">ControlGroup</a><?> theGroup)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(controlP5.ControllerGroup)">moveTo</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/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(controlP5.ControllerGroup, controlP5.Tab, controlP5.ControlWindow)">moveTo</a></strong>(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup,
|
|
<a href="../controlP5/Tab.html" title="class in controlP5">Tab</a> theTab,
|
|
<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theControlWindow)</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(controlP5.ControlWindow)">moveTo</a></strong>(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theControlWindow)</code>
|
|
<div class="block">moves the controller to the default tab of a control window - other than the main window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(controlP5.ControlWindow, java.lang.String)">moveTo</a></strong>(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theControlWindow,
|
|
java.lang.String theTabName)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(processing.core.PApplet)">moveTo</a></strong>(processing.core.PApplet theApplet)</code>
|
|
<div class="block">moves the controller to the default tab inside the main window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(processing.core.PApplet, java.lang.String)">moveTo</a></strong>(processing.core.PApplet theApplet,
|
|
java.lang.String theTabName)</code>
|
|
<div class="block">moves the controller to a tab inside the main window.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(java.lang.String)">moveTo</a></strong>(java.lang.String theTabName)</code>
|
|
<div class="block">moves the controller to another tab.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#moveTo(controlP5.Tab)">moveTo</a></strong>(<a href="../controlP5/Tab.html" title="class in controlP5">Tab</a> theTab)</code>
|
|
<div class="block">moves the controller to another tab.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#plugTo(java.lang.Object)">plugTo</a></strong>(java.lang.Object theObject)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#plugTo(java.lang.Object[])">plugTo</a></strong>(java.lang.Object[] theObjects)</code>
|
|
<div class="block">plugs the controller to a list of objects</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#plugTo(java.lang.Object[], java.lang.String)">plugTo</a></strong>(java.lang.Object[] theObjects,
|
|
java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#plugTo(java.lang.Object, java.lang.String)">plugTo</a></strong>(java.lang.Object theObject,
|
|
java.lang.String theName)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#registerProperty(java.lang.String)">registerProperty</a></strong>(java.lang.String thePropertyName)</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#registerProperty(java.lang.String, java.lang.String)">registerProperty</a></strong>(java.lang.String theSetter,
|
|
java.lang.String theGetter)</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#registerTooltip(java.lang.String)">registerTooltip</a></strong>(java.lang.String theText)</code>
|
|
<div class="block">adds a tooltip to a controller, by default the tooltip is disabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#remove()">remove</a></strong>()</code>
|
|
<div class="block">removes a controller from controlP5.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#remove(controlP5.ControllerInterface)">remove</a></strong>(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theElement)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#removeBehavior()">removeBehavior</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#removeCallback()">removeCallback</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#removeCallback(controlP5.CallbackListener)">removeCallback</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/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.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><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#removeProperty(java.lang.String)">removeProperty</a></strong>(java.lang.String thePropertyName)</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#removeProperty(java.lang.String, java.lang.String)">removeProperty</a></strong>(java.lang.String theSetter,
|
|
java.lang.String theGetter)</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setAbsolutePosition(processing.core.PVector)">setAbsolutePosition</a></strong>(processing.core.PVector thePVector)</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setAddress(java.lang.String)">setAddress</a></strong>(java.lang.String theAddress)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setArrayValue(float[])">setArrayValue</a></strong>(float[] theArray)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setArrayValue(int, float)">setArrayValue</a></strong>(int theIndex,
|
|
float theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setBehavior(controlP5.ControlBehavior)">setBehavior</a></strong>(<a href="../controlP5/ControlBehavior.html" title="class in controlP5">ControlBehavior</a> theBehavior)</code>
|
|
<div class="block">with setBehavior you can add a ControlBehavior to a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setBroadcast(boolean)">setBroadcast</a></strong>(boolean theFlag)</code>
|
|
<div class="block">Use setBroadcast to enable and disable the broadcasting of changes in a controller's value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setCaptionLabel(java.lang.String)">setCaptionLabel</a></strong>(java.lang.String theLabel)</code>
|
|
<div class="block">sets the content of the caption label of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.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/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setColorActive(int)">setColorActive</a></strong>(int theColor)</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setColorBackground(int)">setColorBackground</a></strong>(int theColor)</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setColorCaptionLabel(int)">setColorCaptionLabel</a></strong>(int theColor)</code></td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setColorForeground(int)">setColorForeground</a></strong>(int theColor)</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setColorValueLabel(int)">setColorValueLabel</a></strong>(int theColor)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setDecimalPrecision(int)">setDecimalPrecision</a></strong>(int theValue)</code>
|
|
<div class="block">sets the decimal precision of a controller's float value displayed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setDefaultValue(float)">setDefaultValue</a></strong>(float theValue)</code>
|
|
<div class="block">set the default value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setGroup(controlP5.ControllerGroup)">setGroup</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/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setGroup(java.lang.String)">setGroup</a></strong>(java.lang.String theName)</code>
|
|
<div class="block">sets the group of the controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setHeight(int)">setHeight</a></strong>(int theHeight)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setId(int)">setId</a></strong>(int theId)</code>
|
|
<div class="block">set the id of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setImage(processing.core.PImage)">setImage</a></strong>(processing.core.PImage theImage)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setImage(processing.core.PImage, int)">setImage</a></strong>(processing.core.PImage theImage,
|
|
int theState)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setImages(processing.core.PImage...)">setImages</a></strong>(processing.core.PImage... imgs)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setImages(processing.core.PImage, processing.core.PImage, processing.core.PImage)">setImages</a></strong>(processing.core.PImage theImageDefault,
|
|
processing.core.PImage theImageOver,
|
|
processing.core.PImage theImageActive)</code>
|
|
<div class="block">by default controllers use simple shapes, to replace these shapes with images, use
|
|
setImages().</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setImages(processing.core.PImage, processing.core.PImage, processing.core.PImage, processing.core.PImage)">setImages</a></strong>(processing.core.PImage theImageDefault,
|
|
processing.core.PImage theImageOver,
|
|
processing.core.PImage theImageActive,
|
|
processing.core.PImage theImageHighlight)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setLabelVisible(boolean)">setLabelVisible</a></strong>(boolean theValue)</code>
|
|
<div class="block">show or hide the labels of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setLock(boolean)">setLock</a></strong>(boolean theValue)</code>
|
|
<div class="block">sets the lock status of the controller</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setMax(float)">setMax</a></strong>(float theValue)</code>
|
|
<div class="block">sets the maximum value of the Controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setMin(float)">setMin</a></strong>(float theValue)</code>
|
|
<div class="block">sets the minimum value of the Controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setMouseOver(boolean)">setMouseOver</a></strong>(boolean theFlag)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setMousePressed(boolean)">setMousePressed</a></strong>(boolean theStatus)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setMoveable(boolean)">setMoveable</a></strong>(boolean theValue)</code>
|
|
<div class="block">enable or prevent the controller to be moveable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setParent(controlP5.ControllerInterface)">setParent</a></strong>(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theParent)</code>
|
|
<div class="block">set the parent of a parent of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setPosition(float, float)">setPosition</a></strong>(float theX,
|
|
float theY)</code>
|
|
<div class="block">set the position of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setPosition(processing.core.PVector)">setPosition</a></strong>(processing.core.PVector thePVector)</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setSize(int, int)">setSize</a></strong>(int theWidth,
|
|
int theHeight)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setSize(processing.core.PImage)">setSize</a></strong>(processing.core.PImage theImage)</code>
|
|
<div class="block">auto-updates the size of a controller according to the dimensions of the PImage.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setStringValue(java.lang.String)">setStringValue</a></strong>(java.lang.String theValue)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setTab(controlP5.ControlWindow, java.lang.String)">setTab</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/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setTab(java.lang.String)">setTab</a></strong>(java.lang.String theName)</code>
|
|
<div class="block">sets the tab of the controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setUpdate(boolean)">setUpdate</a></strong>(boolean theFlag)</code>
|
|
<div class="block">disables the update function for a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setUserInteraction(boolean)">setUserInteraction</a></strong>(boolean theValue)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setValue(float)">setValue</a></strong>(float theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setValueLabel(java.lang.String)">setValueLabel</a></strong>(java.lang.String theLabel)</code>
|
|
<div class="block">set or change the value of the value label of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setValueSelf(float)">setValueSelf</a></strong>(float theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setView(controlP5.ControllerView)">setView</a></strong>(<a href="../controlP5/ControllerView.html" title="interface in controlP5">ControllerView</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>> theDisplay)</code>
|
|
<div class="block">use setDisplay to customize your controller look.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setView(controlP5.ControllerView, int)">setView</a></strong>(<a href="../controlP5/ControllerView.html" title="interface in controlP5">ControllerView</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>> theDisplay,
|
|
int theMode)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setVisible(boolean)">setVisible</a></strong>(boolean theFlag)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#setWidth(int)">setWidth</a></strong>(int theWidth)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#show()">show</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#toString()">toString</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#unlock()">unlock</a></strong>()</code>
|
|
<div class="block">enables the controller to be moved, changed and controlled by the user.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#unplugFrom(java.lang.Object)">unplugFrom</a></strong>(java.lang.Object theObject)</code>
|
|
<div class="block">unplugs the Controller for a single object</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#unplugFrom(java.lang.Object[])">unplugFrom</a></strong>(java.lang.Object[] theObjects)</code>
|
|
<div class="block">unplugs the controller from a list of objects</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#unregisterTooltip()">unregisterTooltip</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#update()">update</a></strong>()</code>
|
|
<div class="block">updates the value of the controller without having to set the value explicitly.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#updateAbsolutePosition()">updateAbsolutePosition</a></strong>()</code></td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#updateEvents()">updateEvents</a></strong>()</code>
|
|
<div class="block">updateEvents is used for internal updates of a controller.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#updateInternalEvents(processing.core.PApplet)">updateInternalEvents</a></strong>(processing.core.PApplet theApplet)</code>
|
|
<div class="block">a method for putting input events like e.g.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/Controller.html" title="type parameter in Controller">T</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/Controller.html#updateSize()">updateSize</a></strong>()</code> </td>
|
|
</tr>
|
|
</table>
|
|
<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, wait, wait, wait</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_controlP5.ControllerInterface">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface controlP5.<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a></h3>
|
|
<code><a href="../controlP5/ControllerInterface.html#parent()">parent</a>, <a href="../controlP5/ControllerInterface.html#setColorLabel(int)">setColorLabel</a>, <a href="../controlP5/ControllerInterface.html#setColorValue(int)">setColorValue</a>, <a href="../controlP5/ControllerInterface.html#setLabel(java.lang.String)">setLabel</a></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="autoHeight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoHeight</h4>
|
|
<pre>public static int autoHeight</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="autoSpacing">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoSpacing</h4>
|
|
<pre>public static processing.core.PVector autoSpacing</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="autoWidth">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>autoWidth</h4>
|
|
<pre>public static int autoWidth</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="Controller(controlP5.ControlP5, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Controller</h4>
|
|
<pre>public Controller(<a href="../controlP5/ControlP5.html" title="class in controlP5">ControlP5</a> theControlP5,
|
|
java.lang.String theName)</pre>
|
|
<div class="block">Convenience constructor to extend Controller.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theControlP5</code> - </dd><dd><code>theName</code> - </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 extending Controllers
|
|
*
|
|
* the following example shows how to extend the Controller class to
|
|
* create customizable Controllers. You can either extend the Controller class itself,
|
|
* or any class that extends Controller itself like the Slider, Button, DropdownList, etc.
|
|
*
|
|
* How to:
|
|
*
|
|
* 1) do a super call to the convenience constructor requiring
|
|
* 2 parameter (ControlP5 instance, name)
|
|
*
|
|
* 2) the Controller class has a set of empty methods that allow you to capture
|
|
* inputs from the mouse including
|
|
* onEnter(), onLeave(), onPress(), onRelease(), onClick(), onScroll(int), onDrag()
|
|
* These you can override and include functionality as needed.
|
|
*
|
|
* 3) use method getPointer() to return the local (relative)
|
|
* xy-coordinates of the controller
|
|
*
|
|
* 4) after instantiation custom controllers are treated the same
|
|
* as default controlP5 controllers.
|
|
*
|
|
* by Andreas Schlegel, 2012
|
|
* www.sojamo.de/libraries/controlp5
|
|
*
|
|
*/
|
|
|
|
import controlP5.*;
|
|
|
|
ControlP5 cp5;
|
|
PApplet p;
|
|
|
|
void setup() {
|
|
size(400, 400);
|
|
cp5 = new ControlP5(this);
|
|
|
|
// create 2 groups to show nesting of custom controllers and
|
|
//
|
|
Group g1 = cp5.addGroup("a").setPosition(0,100).setWidth(180);
|
|
Group g2 = cp5.addGroup("b").setPosition(0,10).setWidth(180);
|
|
g2.moveTo(g1);
|
|
|
|
// create 2 custom Controllers from class MyButton
|
|
// MyButton extends Controller and inherits all methods accordingly.
|
|
new MyButton(cp5, "b1").setPosition(0, 0).setSize(180, 200).moveTo(g2);
|
|
new MyButton(cp5, "b2").setPosition(205, 15).setSize(180, 200);
|
|
|
|
}
|
|
|
|
|
|
void draw() {
|
|
background(0);
|
|
}
|
|
|
|
// b1 will be called from Controller b1
|
|
public void b1(float theValue) {
|
|
println("yay button "+theValue);
|
|
}
|
|
|
|
public void controlEvent(ControlEvent theEvent) {
|
|
println("controlEvent : "+theEvent);
|
|
}
|
|
|
|
|
|
// Create a custom Controller, please not that
|
|
// MyButton extends Controller<MyButton>, <MyButton>
|
|
// is an indicator for the super class about the type of
|
|
// custom controller to be created.
|
|
|
|
class MyButton extends Controller<MyButton> {
|
|
|
|
int current = 0xffff0000;
|
|
|
|
float a = 128;
|
|
|
|
float na;
|
|
|
|
int y;
|
|
|
|
// use the convenience constructor of super class Controller
|
|
// MyButton will automatically registered and move to the
|
|
// default controlP5 tab.
|
|
|
|
MyButton(ControlP5 cp5, String theName) {
|
|
super(cp5, theName);
|
|
|
|
// replace the default view with a custom view.
|
|
setView(new ControllerView() {
|
|
public void display(PApplet p, Object b) {
|
|
// draw button background
|
|
na += (a-na) * 0.1;
|
|
p.fill(current,na);
|
|
p.rect(0, 0, getWidth(), getHeight());
|
|
|
|
// draw horizontal line which can be moved on the x-axis
|
|
// using the scroll wheel.
|
|
p.fill(0,255,0);
|
|
p.rect(0,y,width,10);
|
|
|
|
// draw the custom label
|
|
p.fill(128);
|
|
translate(0,getHeight()+14);
|
|
p.text(getName(),0,0);
|
|
p.text(getName(),0,0);
|
|
|
|
}
|
|
}
|
|
);
|
|
}
|
|
|
|
// override various input methods for mouse input control
|
|
void onEnter() {
|
|
cursor(HAND);
|
|
println("enter");
|
|
a = 255;
|
|
}
|
|
|
|
void onScroll(int n) {
|
|
println("scrolling");
|
|
y -= n;
|
|
y = constrain(y,0,getHeight()-10);
|
|
}
|
|
|
|
void onPress() {
|
|
println("press");
|
|
current = 0xffffff00;
|
|
}
|
|
|
|
void onClick() {
|
|
Pointer p1 = getPointer();
|
|
println("clicked at "+p1.x()+", "+p1.y());
|
|
current = 0xffffff00;
|
|
setValue(y);
|
|
}
|
|
|
|
void onRelease() {
|
|
println("release");
|
|
current = 0xffffffff;
|
|
}
|
|
|
|
void onMove() {
|
|
println("moving "+this+" "+_myControlWindow.getMouseOverList());
|
|
}
|
|
|
|
void onDrag() {
|
|
current = 0xff0000ff;
|
|
Pointer p1 = getPointer();
|
|
float dif = dist(p1.px(),p1.py(),p1.x(),p1.y());
|
|
println("dragging at "+p1.x()+", "+p1.y()+" "+dif);
|
|
}
|
|
|
|
void onReleaseOutside() {
|
|
onLeave();
|
|
}
|
|
|
|
void onLeave() {
|
|
println("leave");
|
|
cursor(ARROW);
|
|
a = 128;
|
|
}
|
|
}
|
|
|
|
</pre></code></dd></dl></div></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="add(controlP5.ControllerInterface)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>add</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> add(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theElement)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#add(controlP5.ControllerInterface)">add</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theElement</code> - ControllerInterface</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCallback(controlP5.CallbackListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCallback</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> addCallback(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a> theListener)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theListener</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addListener(controlP5.ControlListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addListener</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> addListener(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a> theListener)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#addListener(controlP5.ControlListener)">addListener</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theListener</code> - ControlListener</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd><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="align(int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>align</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> align(int theCaptionX,
|
|
int theCaptionY,
|
|
int theValueX,
|
|
int theValueY)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="bringToFront()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bringToFront</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> bringToFront()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#bringToFront()">bringToFront</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="bringToFront(controlP5.ControllerInterface)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bringToFront</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> bringToFront(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theController)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#bringToFront(controlP5.ControllerInterface)">bringToFront</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="changeValue(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>changeValue</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> changeValue(float theValue)</pre>
|
|
<div class="block">sets the value of the controller without sending the broadcast event. this function is final.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - float</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="continuousUpdateEvents()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>continuousUpdateEvents</h4>
|
|
<pre>public final void continuousUpdateEvents()</pre>
|
|
<div class="block">continuousUpdateEvents is used for internal updates of a controller. this method is final and
|
|
can't be overridden.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#continuousUpdateEvents()">continuousUpdateEvents</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="draw(processing.core.PGraphics)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>draw</h4>
|
|
<pre>public void draw(processing.core.PGraphics theGraphics)</pre>
|
|
<div class="block">the default draw function for each controller extending superclass Controller. This draw
|
|
function will take care of default matrix operations and will call the display function of
|
|
the current ControllerView object active for this particular controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/CDrawable.html#draw(processing.core.PGraphics)">draw</a></code> in interface <code><a href="../controlP5/CDrawable.html" title="interface in controlP5">CDrawable</a></code></dd>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#draw(processing.core.PGraphics)">draw</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theApplet</code> - PApplet</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControllerView.html" title="interface in controlP5"><code>ControllerView</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAbsolutePosition()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAbsolutePosition</h4>
|
|
<pre>public processing.core.PVector getAbsolutePosition()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getAbsolutePosition()">getAbsolutePosition</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd><code>PVector</code></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAddress()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAddress</h4>
|
|
<pre>public java.lang.String getAddress()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getAddress()">getAddress</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getArrayValue()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getArrayValue</h4>
|
|
<pre>public float[] getArrayValue()</pre>
|
|
<div class="block">returns the current float array value of a controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getArrayValue()">getArrayValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>float[]</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#getValue()"><code>getValue()</code></a>,
|
|
<a href="../controlP5/Controller.html#getStringValue()"><code>getStringValue()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getArrayValue(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getArrayValue</h4>
|
|
<pre>public float getArrayValue(int theIndex)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getArrayValue(int)">getArrayValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theIndex</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>float</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBehavior()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBehavior</h4>
|
|
<pre>public <a href="../controlP5/ControlBehavior.html" title="class in controlP5">ControlBehavior</a> getBehavior()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>ControlBehavior</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCaptionLabel()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCaptionLabel</h4>
|
|
<pre>public <a href="../controlP5/Label.html" title="class in controlP5">Label</a> getCaptionLabel()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Label</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Label.html" title="class in controlP5"><code>Label</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getColor()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getColor</h4>
|
|
<pre>public <a href="../controlP5/CColor.html" title="class in controlP5">CColor</a> getColor()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getColor()">getColor</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getControllerPlugList()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getControllerPlugList</h4>
|
|
<pre>public java.util.List<<a href="../controlP5/ControllerPlug.html" title="class in controlP5">ControllerPlug</a>> getControllerPlugList()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>List<ControllerPlug></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getControlWindow()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getControlWindow</h4>
|
|
<pre>public <a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> getControlWindow()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>ControlWindow</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDecimalPrecision()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDecimalPrecision</h4>
|
|
<pre>public int getDecimalPrecision()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>int</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDefaultValue()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDefaultValue</h4>
|
|
<pre>public float getDefaultValue()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>float</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getHeight()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHeight</h4>
|
|
<pre>public int getHeight()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getHeight()">getHeight</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>int</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getId()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getId</h4>
|
|
<pre>public int getId()</pre>
|
|
<div class="block">returns the id of a controller, by default the id is -1. Any int can be given to a controller
|
|
as its ID, controlP5 does not recognize duplicates, this has to be managed on the user site.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getId()">getId</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>int</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getInfo()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getInfo</h4>
|
|
<pre>public java.lang.String getInfo()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>String</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLabel()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLabel</h4>
|
|
<pre>public java.lang.String getLabel()</pre>
|
|
<div class="block">returns the controller's caption label text.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>String</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMax()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMax</h4>
|
|
<pre>public float getMax()</pre>
|
|
<div class="block">returns the maximum value of the controller.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>float</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMin()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMin</h4>
|
|
<pre>public float getMin()</pre>
|
|
<div class="block">returns the minimum value of the controller.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>float</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getName()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getName</h4>
|
|
<pre>public java.lang.String getName()</pre>
|
|
<div class="block">returns the index name of the controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getName()">getName</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>String</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getParent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getParent</h4>
|
|
<pre>public <a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> getParent()</pre>
|
|
<div class="block">returns the parent of a controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getParent()">getParent</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>ControllerInterface</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPickingColor()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPickingColor</h4>
|
|
<pre>public int getPickingColor()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getPickingColor()">getPickingColor</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPointer()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPointer</h4>
|
|
<pre>public <a href="../controlP5/Pointer.html" title="interface in controlP5">Pointer</a> getPointer()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getPosition()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPosition</h4>
|
|
<pre>public processing.core.PVector getPosition()</pre>
|
|
<div class="block">get the position of a controller. e.g. Controller.getPosition().x; </div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getPosition()">getPosition</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getProperty(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getProperty</h4>
|
|
<pre>public <a href="../controlP5/ControllerProperty.html" title="class in controlP5">ControllerProperty</a> getProperty(java.lang.String thePropertyName)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getProperty(java.lang.String)">getProperty</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getProperty(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getProperty</h4>
|
|
<pre>public <a href="../controlP5/ControllerProperty.html" title="class in controlP5">ControllerProperty</a> getProperty(java.lang.String theSetter,
|
|
java.lang.String theGetter)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getProperty(java.lang.String, java.lang.String)">getProperty</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getStringValue()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStringValue</h4>
|
|
<pre>public java.lang.String getStringValue()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getStringValue()">getStringValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>String</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#getValue()"><code>getValue()</code></a>,
|
|
<a href="../controlP5/Controller.html#getArrayValue()"><code>getArrayValue()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTab()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTab</h4>
|
|
<pre>public <a href="../controlP5/Tab.html" title="class in controlP5">Tab</a> getTab()</pre>
|
|
<div class="block">get the instance of the tab the controller belongs to.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getTab()">getTab</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Tab</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getValue()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getValue</h4>
|
|
<pre>public float getValue()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getValue()">getValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>float</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#getStringValue()"><code>getStringValue()</code></a>,
|
|
<a href="../controlP5/Controller.html#getArrayValue()"><code>getArrayValue()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getValueLabel()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getValueLabel</h4>
|
|
<pre>public <a href="../controlP5/Label.html" title="class in controlP5">Label</a> getValueLabel()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Label</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getView()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getView</h4>
|
|
<pre>public <a href="../controlP5/ControllerView.html" title="interface in controlP5">ControllerView</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>> getView()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getWidth()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWidth</h4>
|
|
<pre>public int getWidth()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getWidth()">getWidth</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>int</dd></dl>
|
|
</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">returns the control window of the controller</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#getWindow()">getWindow</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>ControlWindow</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hide()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hide</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> hide()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#hide()">hide</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="init()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>init</h4>
|
|
<pre>public void init()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#init()">init</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isActive()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isActive</h4>
|
|
<pre>public boolean isActive()</pre>
|
|
<div class="block">checks if a controller is active.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isBroadcast()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isBroadcast</h4>
|
|
<pre>public boolean isBroadcast()</pre>
|
|
<div class="block">check if broadcasting is enabled or disabled for a controller. Every event relevant for a
|
|
value change will be broadcasted to any of the value-listeners. By default broadcasting for a
|
|
controller is enabled.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isInside()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isInside</h4>
|
|
<pre>public boolean isInside()</pre>
|
|
<div class="block">returns true or false and indicates if the mouse is inside the area of a controller.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isLabelVisible()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLabelVisible</h4>
|
|
<pre>public boolean isLabelVisible()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isListening()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isListening</h4>
|
|
<pre>public boolean isListening()</pre>
|
|
<div class="block">returns true or false for the current listening status. by default it is set to false</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#listen(boolean)"><code>listen(boolean)</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isLock()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLock</h4>
|
|
<pre>public boolean isLock()</pre>
|
|
<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">check if the mouse is within this particular controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#isMouseOver()">isMouseOver</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isMousePressed()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMousePressed</h4>
|
|
<pre>public boolean isMousePressed()</pre>
|
|
<div class="block">returns true or false if the mouse has is pressed.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</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 a controller is moveable.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isUpdate()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isUpdate</h4>
|
|
<pre>public boolean isUpdate()</pre>
|
|
<div class="block">enables the update function for a controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#isUpdate()">isUpdate</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>boolean</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#update()"><code>update()</code></a>,
|
|
<a href="../controlP5/Controller.html#setUpdate(boolean)"><code>setUpdate(boolean)</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isUserInteraction()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isUserInteraction</h4>
|
|
<pre>public boolean isUserInteraction()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isVisible()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isVisible</h4>
|
|
<pre>public boolean isVisible()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#isVisible()">isVisible</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>boolean</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 theEvent)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#keyEvent(processing.event.KeyEvent)">keyEvent</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>KeyEvent</code> - theEvent</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="linebreak()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>linebreak</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> linebreak()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listen(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listen</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> listen(boolean theValue)</pre>
|
|
<div class="block">enables a controller to listen to changes made to the variable linked to the controller. Use
|
|
true to enable and false to disable a controller from listening to changes.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="listenerSize()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listenerSize</h4>
|
|
<pre>public int listenerSize()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>int</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="lock()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>lock</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> lock()</pre>
|
|
<div class="block">disables the controller to be moved, or changed or controlled by the user.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(controlP5.ControlGroup)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(<a href="../controlP5/ControlGroup.html" title="class in controlP5">ControlGroup</a><?> theGroup)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theGroup</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(controlP5.ControllerGroup)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#moveTo(controlP5.ControllerGroup)">moveTo</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(controlP5.ControllerGroup, controlP5.Tab, controlP5.ControlWindow)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup,
|
|
<a href="../controlP5/Tab.html" title="class in controlP5">Tab</a> theTab,
|
|
<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theControlWindow)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#moveTo(controlP5.ControllerGroup, controlP5.Tab, controlP5.ControlWindow)">moveTo</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(controlP5.ControlWindow)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theControlWindow)</pre>
|
|
<div class="block">moves the controller to the default tab of a control window - other than the main window.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theControlWindow</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(controlP5.ControlWindow, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theControlWindow,
|
|
java.lang.String theTabName)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theControlWindow</code> - </dd><dd><code>theTabName</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(processing.core.PApplet)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(processing.core.PApplet theApplet)</pre>
|
|
<div class="block">moves the controller to the default tab inside the main window.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theApplet</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(processing.core.PApplet, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(processing.core.PApplet theApplet,
|
|
java.lang.String theTabName)</pre>
|
|
<div class="block">moves the controller to a tab inside the main window.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theApplet</code> - </dd><dd><code>theTabName</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(java.lang.String theTabName)</pre>
|
|
<div class="block">moves the controller to another tab. The tab is defined by parameter theTabName. if controlP5
|
|
can't find a tab with given name, controlP5 will create this tab and add it to the main
|
|
window.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTabName</code> - String</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveTo(controlP5.Tab)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveTo</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> moveTo(<a href="../controlP5/Tab.html" title="class in controlP5">Tab</a> theTab)</pre>
|
|
<div class="block">moves the controller to another tab.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTab</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="plugTo(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>plugTo</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> plugTo(java.lang.Object theObject)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theObject</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="plugTo(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>plugTo</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> plugTo(java.lang.Object[] theObjects)</pre>
|
|
<div class="block">plugs the controller to a list of objects</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theObject</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="plugTo(java.lang.Object[], java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>plugTo</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> plugTo(java.lang.Object[] theObjects,
|
|
java.lang.String theName)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theObjects</code> - </dd><dd><code>theName</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="plugTo(java.lang.Object, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>plugTo</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> plugTo(java.lang.Object theObject,
|
|
java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="registerProperty(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>registerProperty</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> registerProperty(java.lang.String thePropertyName)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#registerProperty(java.lang.String)">registerProperty</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="registerProperty(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>registerProperty</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> registerProperty(java.lang.String theSetter,
|
|
java.lang.String theGetter)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#registerProperty(java.lang.String, java.lang.String)">registerProperty</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="registerTooltip(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>registerTooltip</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> registerTooltip(java.lang.String theText)</pre>
|
|
<div class="block">adds a tooltip to a controller, by default the tooltip is disabled. A Tooltip is made visible
|
|
when entering a controller with the mouse, when the mouse is moved inside the controller, the
|
|
tooltip will hide.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theText</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="remove()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>remove</h4>
|
|
<pre>public void remove()</pre>
|
|
<div class="block">removes a controller from controlP5.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#remove()">remove</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="remove(controlP5.ControllerInterface)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>remove</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> remove(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theElement)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#remove(controlP5.ControllerInterface)">remove</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theElement</code> - ControllerInterface</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeBehavior()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeBehavior</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> removeBehavior()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCallback()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCallback</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> removeCallback()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCallback(controlP5.CallbackListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCallback</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> removeCallback(<a href="../controlP5/CallbackListener.html" title="interface in controlP5">CallbackListener</a> theListener)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theListener</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/CallbackListener.html" title="interface in controlP5"><code>CallbackListener</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/Controller.html" title="type parameter in Controller">T</a> removeListener(<a href="../controlP5/ControlListener.html" title="interface in controlP5">ControlListener</a> theListener)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theListener</code> - ControlListener</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd><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="removeProperty(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeProperty</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> removeProperty(java.lang.String thePropertyName)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#removeProperty(java.lang.String)">removeProperty</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeProperty(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeProperty</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> removeProperty(java.lang.String theSetter,
|
|
java.lang.String theGetter)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#removeProperty(java.lang.String, java.lang.String)">removeProperty</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAbsolutePosition(processing.core.PVector)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAbsolutePosition</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setAbsolutePosition(processing.core.PVector thePVector)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setAbsolutePosition(processing.core.PVector)">setAbsolutePosition</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAddress(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAddress</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setAddress(java.lang.String theAddress)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setAddress(java.lang.String)">setAddress</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setArrayValue(float[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setArrayValue</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setArrayValue(float[] theArray)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setArrayValue(float[])">setArrayValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theArray</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setArrayValue(int, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setArrayValue</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setArrayValue(int theIndex,
|
|
float theValue)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setArrayValue(int, float)">setArrayValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theIndex</code> - </dd><dd><code>theValue</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setBehavior(controlP5.ControlBehavior)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBehavior</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setBehavior(<a href="../controlP5/ControlBehavior.html" title="class in controlP5">ControlBehavior</a> theBehavior)</pre>
|
|
<div class="block">with setBehavior you can add a ControlBehavior to a controller. A ControlBehavior can be used
|
|
to e.g. automatically change state, function, position, etc.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theBehavior</code> - ControlBehavior</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setBroadcast(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBroadcast</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setBroadcast(boolean theFlag)</pre>
|
|
<div class="block">Use setBroadcast to enable and disable the broadcasting of changes in a controller's value.
|
|
By default any value changes are forwarded to function controlEvent inside your program. use
|
|
setBroadcast(false) to disable forwarding.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - boolean</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCaptionLabel(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCaptionLabel</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setCaptionLabel(java.lang.String theLabel)</pre>
|
|
<div class="block">sets the content of the caption label of a controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setCaptionLabel(java.lang.String)">setCaptionLabel</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theLabel</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setColor(controlP5.CColor)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColor</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setColor(<a href="../controlP5/CColor.html" title="class in controlP5">CColor</a> theColor)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setColor(controlP5.CColor)">setColor</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorActive(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorActive</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setColorActive(int theColor)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setColorActive(int)">setColorActive</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorBackground(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorBackground</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setColorBackground(int theColor)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setColorBackground(int)">setColorBackground</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorCaptionLabel(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorCaptionLabel</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setColorCaptionLabel(int theColor)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theColor</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorForeground(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorForeground</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setColorForeground(int theColor)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setColorForeground(int)">setColorForeground</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setColorValueLabel(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setColorValueLabel</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setColorValueLabel(int theColor)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theColor</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDecimalPrecision(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDecimalPrecision</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setDecimalPrecision(int theValue)</pre>
|
|
<div class="block">sets the decimal precision of a controller's float value displayed. the precision does not
|
|
apply to the returned float value.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDefaultValue(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDefaultValue</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setDefaultValue(float theValue)</pre>
|
|
<div class="block">set the default value.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - float</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGroup(controlP5.ControllerGroup)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGroup</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setGroup(<a href="../controlP5/ControllerGroup.html" title="class in controlP5">ControllerGroup</a><?> theGroup)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setGroup(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGroup</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setGroup(java.lang.String theName)</pre>
|
|
<div class="block">sets the group of the controller.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theName</code> - String</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setHeight(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setHeight</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setHeight(int theHeight)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theHeight</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setId(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setId</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setId(int theId)</pre>
|
|
<div class="block">set the id of a controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setId(int)">setId</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>int</code> - theId</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setImage(processing.core.PImage)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setImage</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setImage(processing.core.PImage theImage)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setImage(processing.core.PImage, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setImage</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setImage(processing.core.PImage theImage,
|
|
int theState)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theImage</code> - </dd><dd><code>theState</code> - use Controller.DEFAULT (background) Controller.OVER (foreground)
|
|
Controller.ACTIVE (active)</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setImages(processing.core.PImage...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setImages</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setImages(processing.core.PImage... imgs)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setImages(processing.core.PImage, processing.core.PImage, processing.core.PImage)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setImages</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setImages(processing.core.PImage theImageDefault,
|
|
processing.core.PImage theImageOver,
|
|
processing.core.PImage theImageActive)</pre>
|
|
<div class="block">by default controllers use simple shapes, to replace these shapes with images, use
|
|
setImages(). This can be handy for buttons, toggles, bangs, for more complex controllers such
|
|
as sliders, range, dropdownlist this is not advisable.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theImageDefault</code> - </dd><dd><code>theImageOver</code> - </dd><dd><code>theImageActive</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setImages(processing.core.PImage, processing.core.PImage, processing.core.PImage, processing.core.PImage)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setImages</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setImages(processing.core.PImage theImageDefault,
|
|
processing.core.PImage theImageOver,
|
|
processing.core.PImage theImageActive,
|
|
processing.core.PImage theImageHighlight)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setLabelVisible(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLabelVisible</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setLabelVisible(boolean theValue)</pre>
|
|
<div class="block">show or hide the labels of a controller.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - boolean</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setLock(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLock</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setLock(boolean theValue)</pre>
|
|
<div class="block">sets the lock status of the controller</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMax(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMax</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setMax(float theValue)</pre>
|
|
<div class="block">sets the maximum value of the Controller.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - float</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMin(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMin</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setMin(float theValue)</pre>
|
|
<div class="block">sets the minimum value of the Controller.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - float</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMouseOver(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMouseOver</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setMouseOver(boolean theFlag)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setMouseOver(boolean)">setMouseOver</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMousePressed(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMousePressed</h4>
|
|
<pre>public final boolean setMousePressed(boolean theStatus)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setMousePressed(boolean)">setMousePressed</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theStatus</code> - boolean</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>boolean</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMoveable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMoveable</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setMoveable(boolean theValue)</pre>
|
|
<div class="block">enable or prevent the controller to be moveable. By default a controller is moveable.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - boolean</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setParent(controlP5.ControllerInterface)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setParent</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setParent(<a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><?> theParent)</pre>
|
|
<div class="block">set the parent of a parent of a controller. this method is only meant for internal use. this
|
|
method is final and can't be overwritten.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theParent</code> - ControllerInterface</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPosition(float, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPosition</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setPosition(float theX,
|
|
float theY)</pre>
|
|
<div class="block">set the position of a controller. The position of a controller is relative.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setPosition(float, float)">setPosition</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theX</code> - float</dd><dd><code>theY</code> - float</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPosition(processing.core.PVector)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPosition</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setPosition(processing.core.PVector thePVector)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setPosition(processing.core.PVector)">setPosition</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setSize(int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSize</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setSize(int theWidth,
|
|
int theHeight)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theWidth</code> - </dd><dd><code>theHeight</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setSize(processing.core.PImage)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSize</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setSize(processing.core.PImage theImage)</pre>
|
|
<div class="block">auto-updates the size of a controller according to the dimensions of the PImage.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theImage</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setStringValue(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setStringValue</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setStringValue(java.lang.String theValue)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setStringValue(java.lang.String)">setStringValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTab(controlP5.ControlWindow, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTab</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setTab(<a href="../controlP5/ControlWindow.html" title="class in controlP5">ControlWindow</a> theWindow,
|
|
java.lang.String theName)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setTab(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTab</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setTab(java.lang.String theName)</pre>
|
|
<div class="block">sets the tab of the controller.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theName</code> - String</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setUpdate(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setUpdate</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setUpdate(boolean theFlag)</pre>
|
|
<div class="block">disables the update function for a controller.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setUpdate(boolean)">setUpdate</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - boolean</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#update()"><code>update()</code></a>,
|
|
<a href="../controlP5/Controller.html#isUpdate()"><code>isUpdate()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setUserInteraction(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setUserInteraction</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setUserInteraction(boolean theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setValue(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setValue</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setValue(float theValue)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#setValue(float)">setValue</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>theValue</code> - float</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setValueLabel(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setValueLabel</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setValueLabel(java.lang.String theLabel)</pre>
|
|
<div class="block">set or change the value of the value label of a controller. (this is cheating, but maybe
|
|
useful for some cases.)</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theLabel</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setValueSelf(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setValueSelf</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setValueSelf(float theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setView(controlP5.ControllerView)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setView</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setView(<a href="../controlP5/ControllerView.html" title="interface in controlP5">ControllerView</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>> theDisplay)</pre>
|
|
<div class="block">use setDisplay to customize your controller look. A new controller-display class required to
|
|
implement interface ControllerView. By default the display mode will be set to CUSTOM when
|
|
setting a new display.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theDisplay</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/ControllerView.html" title="interface in controlP5"><code>ControllerView</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setView(controlP5.ControllerView, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setView</h4>
|
|
<pre>public void setView(<a href="../controlP5/ControllerView.html" title="interface in controlP5">ControllerView</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>> theDisplay,
|
|
int theMode)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setVisible(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setVisible</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setVisible(boolean theFlag)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFlag</code> - boolean</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setWidth(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setWidth</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> setWidth(int theWidth)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theWidth</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="show()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>show</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> show()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#show()">show</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toString()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre>public java.lang.String toString()</pre>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="unlock()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>unlock</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> unlock()</pre>
|
|
<div class="block">enables the controller to be moved, changed and controlled by the user.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="unplugFrom(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>unplugFrom</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> unplugFrom(java.lang.Object theObject)</pre>
|
|
<div class="block">unplugs the Controller for a single object</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theObject</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="unplugFrom(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>unplugFrom</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> unplugFrom(java.lang.Object[] theObjects)</pre>
|
|
<div class="block">unplugs the controller from a list of objects</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theObjects</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="unregisterTooltip()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>unregisterTooltip</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> unregisterTooltip()</pre>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>Controller</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#registerTooltip(java.lang.String)"><code>registerTooltip(String)</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="update()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>update</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> update()</pre>
|
|
<div class="block">updates the value of the controller without having to set the value explicitly. update does
|
|
not visually update the controller. the updating status can be set with setUpdate(true/false)
|
|
and checked with isUpdate().</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#update()">update</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Controller</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Controller.html#setUpdate(boolean)"><code>setUpdate(boolean)</code></a>,
|
|
<a href="../controlP5/Controller.html#isUpdate()"><code>isUpdate()</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateAbsolutePosition()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateAbsolutePosition</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> updateAbsolutePosition()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#updateAbsolutePosition()">updateAbsolutePosition</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateEvents()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateEvents</h4>
|
|
<pre>public final <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> updateEvents()</pre>
|
|
<div class="block">updateEvents is used for internal updates of a controller. this method is final and can't be
|
|
overwritten.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#updateEvents()">updateEvents</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateInternalEvents(processing.core.PApplet)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateInternalEvents</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> updateInternalEvents(processing.core.PApplet theApplet)</pre>
|
|
<div class="block"><strong>Description copied from interface: <code><a href="../controlP5/ControllerInterface.html#updateInternalEvents(processing.core.PApplet)">ControllerInterface</a></code></strong></div>
|
|
<div class="block">a method for putting input events like e.g. mouse or keyboard events and queries. this has
|
|
been taken out of the draw method for better overwriting capability.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../controlP5/ControllerInterface.html#updateInternalEvents(processing.core.PApplet)">updateInternalEvents</a></code> in interface <code><a href="../controlP5/ControllerInterface.html" title="interface in controlP5">ControllerInterface</a><<a href="../controlP5/Controller.html" title="type parameter in Controller">T</a>></code></dd>
|
|
<dt><span class="strong">See Also:</span></dt><dd><code>ControllerInterface.updateInternalEvents</code></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateSize()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>updateSize</h4>
|
|
<pre>public <a href="../controlP5/Controller.html" title="type parameter in Controller">T</a> updateSize()</pre>
|
|
</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/ControlKey.html" title="interface in controlP5"><span class="strong">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?controlP5/Controller.html" target="_top">Frames</a></li>
|
|
<li><a href="Controller.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>
|