mirror of
https://github.com/sojamo/controlp5
synced 2024-12-23 03:33:49 +01:00
785 lines
27 KiB
HTML
785 lines
27 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>ControllerStyle (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="ControllerStyle (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/ControllerProperty.html" title="class in controlP5"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../controlP5/ControllerView.html" title="interface in controlP5"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?controlP5/ControllerStyle.html" target="_top">Frames</a></li>
|
|
<li><a href="ControllerStyle.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 ControllerStyle" class="title">Class ControllerStyle</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>controlP5.ControllerStyle</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd>java.io.Serializable</dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">ControllerStyle</span>
|
|
extends java.lang.Object
|
|
implements java.io.Serializable</pre>
|
|
<div class="block">Labels use the ControllerStyle class to store margin and padding information.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../controlP5/Label.html#getStyle()"><code>Label.getStyle()</code></a>,
|
|
<a href="../serialized-form.html#controlP5.ControllerStyle">Serialized Form</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 ControllerStyle
|
|
*
|
|
*
|
|
* find a list of public methods available for the ControllerStyle Controller
|
|
* at the bottom of this sketch.
|
|
*
|
|
* by Andreas Schlegel, 2011
|
|
* www.sojamo.de/libraries/controlp5
|
|
*
|
|
*/
|
|
|
|
import controlP5.*;
|
|
|
|
ControlP5 cp5;
|
|
|
|
float v1 = 50, v2 = 100, v3 = 100, v4 = 100;
|
|
|
|
void setup() {
|
|
size(400,600);
|
|
smooth();
|
|
noStroke();
|
|
cp5 = new ControlP5(this);
|
|
|
|
cp5.begin(100,100);
|
|
cp5.addSlider("v1",0,255).linebreak();
|
|
cp5.addSlider("v2",0,200).linebreak();
|
|
cp5.addSlider("v3",0,300).linebreak();
|
|
cp5.addSlider("v4",0,400);
|
|
cp5.end();
|
|
|
|
// change the caption label for controller v1 and apply styles
|
|
cp5.getController("v1").setCaptionLabel("Background");
|
|
style("v1");
|
|
|
|
// change the caption label for controller v2 and apply styles
|
|
cp5.getController("v2").setCaptionLabel("Ellipse A");
|
|
style("v2");
|
|
|
|
// change the caption label for controller v3 and apply styles
|
|
cp5.getController("v3").setCaptionLabel("Ellipse B");
|
|
style("v3");
|
|
|
|
// change the caption label for controller v3 and apply styles
|
|
cp5.getController("v4").setCaptionLabel("Ellipse C");
|
|
style("v4");
|
|
|
|
|
|
}
|
|
|
|
void style(String theControllerName) {
|
|
Controller c = cp5.getController(theControllerName);
|
|
// adjust the height of the controller
|
|
c.setHeight(15);
|
|
|
|
// add some padding to the caption label background
|
|
c.getCaptionLabel().getStyle().setPadding(4,4,3,4);
|
|
|
|
// shift the caption label up by 4px
|
|
c.getCaptionLabel().getStyle().setMargin(-4,0,0,0);
|
|
|
|
// set the background color of the caption label
|
|
c.getCaptionLabel().setColorBackground(color(10,20,30,140));
|
|
}
|
|
|
|
void draw() {
|
|
background(v1);
|
|
fill(255,255,220,100);
|
|
ellipse(width/2-100, height/2-100,v2 + 50,v2 + 50);
|
|
ellipse(width/2+100, height/2,v3,v3);
|
|
ellipse(width/2, height/2+100,v4,v4);
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
a list of all methods available for the ControllerStyle Controller
|
|
use ControlP5.printPublicMethodsFor(ControllerStyle.class);
|
|
to print the following list into the console.
|
|
|
|
You can find further details about class ControllerStyle in the javadoc.
|
|
|
|
Format:
|
|
ClassName : returnType methodName(parameter type)
|
|
|
|
|
|
|
|
|
|
controlP5.ControllerStyle : ControllerStyle margin(int)
|
|
controlP5.ControllerStyle : ControllerStyle margin(int, int, int, int)
|
|
controlP5.ControllerStyle : ControllerStyle moveMargin(int, int, int, int)
|
|
controlP5.ControllerStyle : ControllerStyle movePadding(int, int, int, int)
|
|
controlP5.ControllerStyle : ControllerStyle padding(int)
|
|
controlP5.ControllerStyle : ControllerStyle padding(int, int, int, int)
|
|
controlP5.ControllerStyle : ControllerStyle setMargin(int, int, int, int)
|
|
controlP5.ControllerStyle : ControllerStyle setMarginBottom(int)
|
|
controlP5.ControllerStyle : ControllerStyle setMarginLeft(int)
|
|
controlP5.ControllerStyle : ControllerStyle setMarginRight(int)
|
|
controlP5.ControllerStyle : ControllerStyle setMarginTop(int)
|
|
controlP5.ControllerStyle : ControllerStyle setPadding(int, int, int, int)
|
|
controlP5.ControllerStyle : ControllerStyle setPaddingBottom(int)
|
|
controlP5.ControllerStyle : ControllerStyle setPaddingLeft(int)
|
|
controlP5.ControllerStyle : ControllerStyle setPaddingRight(int)
|
|
controlP5.ControllerStyle : ControllerStyle setPaddingTop(int)
|
|
java.lang.Object : String toString()
|
|
java.lang.Object : boolean equals(Object)
|
|
|
|
|
|
*/
|
|
|
|
</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>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#background">background</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#backgroundHeight">backgroundHeight</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#backgroundWidth">backgroundWidth</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#color">color</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#marginBottom">marginBottom</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#marginLeft">marginLeft</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#marginRight">marginRight</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#marginTop">marginTop</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#paddingBottom">paddingBottom</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#paddingLeft">paddingLeft</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#paddingRight">paddingRight</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#paddingTop">paddingTop</a></strong></code> </td>
|
|
</tr>
|
|
</table>
|
|
</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/ControllerStyle.html#ControllerStyle()">ControllerStyle</a></strong>()</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#margin(int)">margin</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#margin(int, int, int, int)">margin</a></strong>(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#moveMargin(int, int, int, int)">moveMargin</a></strong>(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#movePadding(int, int, int, int)">movePadding</a></strong>(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#padding(int)">padding</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#padding(int, int, int, int)">padding</a></strong>(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setMargin(int, int, int, int)">setMargin</a></strong>(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setMarginBottom(int)">setMarginBottom</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setMarginLeft(int)">setMarginLeft</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setMarginRight(int)">setMarginRight</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setMarginTop(int)">setMarginTop</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setPadding(int, int, int, int)">setPadding</a></strong>(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setPaddingBottom(int)">setPaddingBottom</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setPaddingLeft(int)">setPaddingLeft</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setPaddingRight(int)">setPaddingRight</a></strong>(int theValue)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../controlP5/ControllerStyle.html#setPaddingTop(int)">setPaddingTop</a></strong>(int theValue)</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, toString, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="background">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>background</h4>
|
|
<pre>public int background</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="backgroundHeight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>backgroundHeight</h4>
|
|
<pre>public int backgroundHeight</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="backgroundWidth">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>backgroundWidth</h4>
|
|
<pre>public int backgroundWidth</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="color">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>color</h4>
|
|
<pre>public int color</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="marginBottom">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>marginBottom</h4>
|
|
<pre>public int marginBottom</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="marginLeft">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>marginLeft</h4>
|
|
<pre>public int marginLeft</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="marginRight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>marginRight</h4>
|
|
<pre>public int marginRight</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="marginTop">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>marginTop</h4>
|
|
<pre>public int marginTop</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="paddingBottom">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paddingBottom</h4>
|
|
<pre>public int paddingBottom</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="paddingLeft">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paddingLeft</h4>
|
|
<pre>public int paddingLeft</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="paddingRight">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paddingRight</h4>
|
|
<pre>public int paddingRight</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="paddingTop">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>paddingTop</h4>
|
|
<pre>public int paddingTop</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="ControllerStyle()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>ControllerStyle</h4>
|
|
<pre>public ControllerStyle()</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="margin(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>margin</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> margin(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="margin(int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>margin</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> margin(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="moveMargin(int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveMargin</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> moveMargin(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="movePadding(int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>movePadding</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> movePadding(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="padding(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>padding</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> padding(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="padding(int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>padding</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> padding(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMargin(int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMargin</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setMargin(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMarginBottom(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMarginBottom</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setMarginBottom(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMarginLeft(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMarginLeft</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setMarginLeft(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMarginRight(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMarginRight</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setMarginRight(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMarginTop(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMarginTop</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setMarginTop(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPadding(int, int, int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPadding</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setPadding(int theTop,
|
|
int theRight,
|
|
int theBottom,
|
|
int theLeft)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPaddingBottom(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPaddingBottom</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setPaddingBottom(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPaddingLeft(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPaddingLeft</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setPaddingLeft(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPaddingRight(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPaddingRight</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setPaddingRight(int theValue)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPaddingTop(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>setPaddingTop</h4>
|
|
<pre>public <a href="../controlP5/ControllerStyle.html" title="class in controlP5">ControllerStyle</a> setPaddingTop(int theValue)</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/ControllerProperty.html" title="class in controlP5"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../controlP5/ControllerView.html" title="interface in controlP5"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../index.html?controlP5/ControllerStyle.html" target="_top">Frames</a></li>
|
|
<li><a href="ControllerStyle.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>
|