blob: 527a34160da78c26c56b66f125341185d4af4805 [file] [log] [blame]
<!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 (1.8.0_201) on Thu Jul 23 15:58:57 CEST 2020 -->
<title>Oscilloscope</title>
<meta name="date" content="2020-07-23">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Oscilloscope";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Oscilloscope.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.IntegerFiFoCircularStack.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html" target="_top">Frames</a></li>
<li><a href="Oscilloscope.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">org.eclipse.nebula.widgets.oscilloscope.multichannel</div>
<h2 title="Class Oscilloscope" class="title">Class Oscilloscope</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Widget</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Control</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Scrollable</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Composite</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Canvas</li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>org.eclipse.swt.graphics.Drawable</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/Oscilloscope.html" title="class in org.eclipse.nebula.widgets.oscilloscope">Oscilloscope</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">Oscilloscope</span>
extends org.eclipse.swt.widgets.Canvas</pre>
<div class="block">Animated widget that tries to mimic an Oscilloscope.
<i>An oscilloscope (also known as a scope, CRO or, an O-scope) is a type of
electronic test instrument that allows observation of constantly varying
signal voltages, usually as a two-dimensional graph of one or more electrical
potential differences using the vertical or 'Y' axis, plotted as a function
of time, (horizontal or 'x' axis).</i>
<p/>
<a href="http://en.wikipedia.org/wiki/Oscilloscope">http://en.wikipedia.org/
wiki/Oscilloscope<a/></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.IntegerFiFoCircularStack.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">Oscilloscope.IntegerFiFoCircularStack</a></span></code>
<div class="block">The stack can hold a limited number of values but will never overflow.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</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><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#BASE_CENTER">BASE_CENTER</a></span></code>
<div class="block">The base of the line is positioned at the center of the widget.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#CURSOR_START_DEFAULT">CURSOR_START_DEFAULT</a></span></code>
<div class="block">The default cursor starting position.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#DEFAULT_HEIGHT">DEFAULT_HEIGHT</a></span></code>
<div class="block">The default comfortable widget height.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#DEFAULT_WIDTH">DEFAULT_WIDTH</a></span></code>
<div class="block">The default comfortable widget width.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#HEARTBEAT">HEARTBEAT</a></span></code>
<div class="block">This set of values will draw a figure that is similar to the heart beat
that you see on hospital monitors.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#LINE_WIDTH_DEFAULT">LINE_WIDTH_DEFAULT</a></span></code>
<div class="block">The default line width.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#PROGRESSION_DEFAULT">PROGRESSION_DEFAULT</a></span></code>
<div class="block">The default tail fade percentage</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#STEADYPOSITION_75PERCENT">STEADYPOSITION_75PERCENT</a></span></code>
<div class="block">Steady position @ 75% of graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILFADE_DEFAULT">TAILFADE_DEFAULT</a></span></code>
<div class="block">The default amount of tail fading in percentages (25).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILFADE_NONE">TAILFADE_NONE</a></span></code>
<div class="block">No tailfade.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILFADE_PERCENTAGE">TAILFADE_PERCENTAGE</a></span></code>
<div class="block">The default tail fade percentage</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_DEFAULT">TAILSIZE_DEFAULT</a></span></code>
<div class="block">The default tail size is 75% of the width.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_FILL">TAILSIZE_FILL</a></span></code>
<div class="block">Will draw a tail from the left border but is only valid if the boolean in
<code>#setSteady(boolean, int)</code> was set to true, will default to
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX"><code>TAILSIZE_MAX</code></a> otherwise.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX">TAILSIZE_MAX</a></span></code>
<div class="block">Will draw a maximum tail.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.swt.widgets.Control">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.swt.widgets.Control</h3>
<code>handle</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#Oscilloscope-org.eclipse.swt.widgets.Composite-int-">Oscilloscope</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</code>
<div class="block">Creates a scope with one channel.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#Oscilloscope-int-org.eclipse.swt.widgets.Composite-int-">Oscilloscope</a></span>(int&nbsp;channels,
org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</code>
<div class="block">Creates a scope with <code>channels</code> channels.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#Oscilloscope-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeDispatcher-org.eclipse.swt.widgets.Composite-int-">Oscilloscope</a></span>(int&nbsp;channels,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeDispatcher.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeDispatcher</a>&nbsp;dispatcher,
org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</code>
<div class="block">Creates a new scope with <code>channels</code> channels and adds attaches
it to the supplied <code>dispatcher</code>.</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#addStackListener-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeStackAdapter-">addStackListener</a></span>(int&nbsp;channel,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeStackAdapter.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeStackAdapter</a>&nbsp;listener)</code>
<div class="block">Adds a new stack listener to the collection of stack listeners.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Point</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#computeSize-int-int-boolean-">computeSize</a></span>(int&nbsp;wHint,
int&nbsp;hHint,
boolean&nbsp;changed)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#controlMoved-org.eclipse.swt.widgets.Event-">controlMoved</a></span>(org.eclipse.swt.widgets.Event&nbsp;e)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#controlResized-org.eclipse.swt.widgets.Event-">controlResized</a></span>(org.eclipse.swt.widgets.Event&nbsp;e)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getBase-int-">getBase</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getBaseOffset-int-">getBaseOffset</a></span>(int&nbsp;channel)</code>
<div class="block">Gets the relative location where the line is drawn in the widget.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getChannels--">getChannels</a></span>()</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeDispatcher.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeDispatcher</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getDispatcher-int-">getDispatcher</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getForeground-int-">getForeground</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getGridBackground--">getGridBackground</a></span>()</code>
<div class="block">Returns the background color of the oscilloscope.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getGridForeground--">getGridForeground</a></span>()</code>
<div class="block">Returns the color of the grid.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getGridLineWidth--">getGridLineWidth</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getGridSquareSize--">getGridSquareSize</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getLineWidth-int-">getLineWidth</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getProgression-int-">getProgression</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getTailFade-int-">getTailFade</a></span>(int&nbsp;channel)</code>
<div class="block">Gets the percentage of tail that must be faded out.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#getTailSize-int-">getTailSize</a></span>(int&nbsp;channel)</code>
<div class="block">Returns the size of the tail.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#isAntiAlias-int-">isAntiAlias</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#isConnect-int-">isConnect</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#isFade-int-">isFade</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#isPercentage-int-">isPercentage</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#isSteady-int-">isSteady</a></span>(int&nbsp;channel)</code>
<div class="block">This method can be called outside of the UI thread.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#needsRedraw--">needsRedraw</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#paintControl-org.eclipse.swt.widgets.Event-">paintControl</a></span>(org.eclipse.swt.widgets.Event&nbsp;e)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#removeStackListener-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeStackAdapter-">removeStackListener</a></span>(int&nbsp;channel,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeStackAdapter.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeStackAdapter</a>&nbsp;listener)</code>
<div class="block">Removes a stack listener from the collection of stack listeners.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setAntialias-int-boolean-">setAntialias</a></span>(int&nbsp;channel,
boolean&nbsp;antialias)</code>
<div class="block">Sets if the line must be anti-aliased which uses more processing power in
return of a smoother image.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setBaseOffset-int-int-">setBaseOffset</a></span>(int&nbsp;channel,
int&nbsp;baseOffset)</code>
<div class="block">Gets the relative location where the line is drawn in the widget, the
default is <code>BASE_CENTER</code> which is in the middle of the scope.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setConnect-int-boolean-">setConnect</a></span>(int&nbsp;channel,
boolean&nbsp;connectHeadAndTail)</code>
<div class="block">Connects head and tail only if tail size is <a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX"><code>TAILSIZE_MAX</code></a> and no
fading.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setDispatcher-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeDispatcher-">setDispatcher</a></span>(int&nbsp;channel,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeDispatcher.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeDispatcher</a>&nbsp;dispatcher)</code>
<div class="block">Sets the dispatcher that is associated with the supplied channel.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setFade-int-boolean-">setFade</a></span>(int&nbsp;channel,
boolean&nbsp;fade)</code>
<div class="block">Sets fade mode so that a percentage of the tail will be faded out at the
costs of extra CPU utilization (no beauty without pain or as the Dutch
say: "Wie mooi wil gaan moet pijn doorstaan").</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setForeground-int-org.eclipse.swt.graphics.Color-">setForeground</a></span>(int&nbsp;channel,
org.eclipse.swt.graphics.Color&nbsp;color)</code>
<div class="block">Sets the foreground color for the supplied channel.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setGridBackground-org.eclipse.swt.graphics.Color-">setGridBackground</a></span>(org.eclipse.swt.graphics.Color&nbsp;gridBackground)</code>
<div class="block">Sets the oscilloscope's background color to the color specified
by the argument, or to the default system color for the control
if the argument is null.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setGridForeground-org.eclipse.swt.graphics.Color-">setGridForeground</a></span>(org.eclipse.swt.graphics.Color&nbsp;gridForeground)</code>
<div class="block">Sets the color of the grid to the color specified by the argument, or to the default system color for the control
if the argument is null.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setGridLineWidth-int-">setGridLineWidth</a></span>(int&nbsp;gridLineWidth)</code>
<div class="block">Set the with of the lines size of the square displayed in the grid</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setGridSquareSize-int-">setGridSquareSize</a></span>(int&nbsp;size)</code>
<div class="block">Set the size of the square displayed in the grid</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setLineWidth-int-int-">setLineWidth</a></span>(int&nbsp;channel,
int&nbsp;lineWidth)</code>
<div class="block">Sets the line width.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setPercentage-int-boolean-">setPercentage</a></span>(int&nbsp;channel,
boolean&nbsp;percentage)</code>
<div class="block">If set to true then the values are treated as percentages of the
available space rather than absolute values.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setProgression-int-int-">setProgression</a></span>(int&nbsp;channel,
int&nbsp;progression)</code>
<div class="block">The number of internal steps that must be made before drawing.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setSteady-int-boolean-int-">setSteady</a></span>(int&nbsp;channel,
boolean&nbsp;steady,
int&nbsp;steadyPosition)</code>
<div class="block">If steady is true the graph will draw on a steady position instead of
advancing.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setTailFade-int-int-">setTailFade</a></span>(int&nbsp;channel,
int&nbsp;tailFade)</code>
<div class="block">Sets the percentage of tail that must be faded out.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setTailSize-int-int-">setTailSize</a></span>(int&nbsp;channel,
int&nbsp;size)</code>
<div class="block">The tail size defaults to TAILSIZE_DEFAULT which is 75% of the width.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setValue-int-int-">setValue</a></span>(int&nbsp;channel,
int&nbsp;value)</code>
<div class="block">Sets a value to be drawn relative to the center of the channel.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setValues-int-int:A-">setValues</a></span>(int&nbsp;channel,
int[]&nbsp;values)</code>
<div class="block">Sets a bunch of values that will be drawn.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#widgetDisposed-org.eclipse.swt.widgets.Event-">widgetDisposed</a></span>(org.eclipse.swt.widgets.Event&nbsp;e)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Canvas">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Canvas</h3>
<code>drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Composite">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Composite</h3>
<code>changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Scrollable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Scrollable</h3>
<code>computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Control">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Control</h3>
<code>addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Widget">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Widget</h3>
<code>addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.graphics.Drawable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.swt.graphics.Drawable</h3>
<code>isAutoScalable</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="BASE_CENTER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BASE_CENTER</h4>
<pre>public static final&nbsp;int BASE_CENTER</pre>
<div class="block">The base of the line is positioned at the center of the widget.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setBaseOffset(int)</code>,
<a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.BASE_CENTER">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CURSOR_START_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CURSOR_START_DEFAULT</h4>
<pre>public static final&nbsp;int CURSOR_START_DEFAULT</pre>
<div class="block">The default cursor starting position.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.CURSOR_START_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_HEIGHT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_HEIGHT</h4>
<pre>public static final&nbsp;int DEFAULT_HEIGHT</pre>
<div class="block">The default comfortable widget height.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.DEFAULT_HEIGHT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_WIDTH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_WIDTH</h4>
<pre>public static final&nbsp;int DEFAULT_WIDTH</pre>
<div class="block">The default comfortable widget width.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.DEFAULT_WIDTH">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HEARTBEAT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HEARTBEAT</h4>
<pre>public static final&nbsp;int[] HEARTBEAT</pre>
<div class="block">This set of values will draw a figure that is similar to the heart beat
that you see on hospital monitors.</div>
</li>
</ul>
<a name="LINE_WIDTH_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LINE_WIDTH_DEFAULT</h4>
<pre>public static final&nbsp;int LINE_WIDTH_DEFAULT</pre>
<div class="block">The default line width.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.LINE_WIDTH_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PROGRESSION_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROGRESSION_DEFAULT</h4>
<pre>public static final&nbsp;int PROGRESSION_DEFAULT</pre>
<div class="block">The default tail fade percentage</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.PROGRESSION_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="STEADYPOSITION_75PERCENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STEADYPOSITION_75PERCENT</h4>
<pre>public static final&nbsp;int STEADYPOSITION_75PERCENT</pre>
<div class="block">Steady position @ 75% of graph.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.STEADYPOSITION_75PERCENT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TAILFADE_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TAILFADE_DEFAULT</h4>
<pre>public static final&nbsp;int TAILFADE_DEFAULT</pre>
<div class="block">The default amount of tail fading in percentages (25).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.TAILFADE_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TAILFADE_NONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TAILFADE_NONE</h4>
<pre>public static final&nbsp;int TAILFADE_NONE</pre>
<div class="block">No tailfade.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.TAILFADE_NONE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TAILFADE_PERCENTAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TAILFADE_PERCENTAGE</h4>
<pre>public static final&nbsp;int TAILFADE_PERCENTAGE</pre>
<div class="block">The default tail fade percentage</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.TAILFADE_PERCENTAGE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TAILSIZE_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TAILSIZE_DEFAULT</h4>
<pre>public static final&nbsp;int TAILSIZE_DEFAULT</pre>
<div class="block">The default tail size is 75% of the width.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.TAILSIZE_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TAILSIZE_FILL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TAILSIZE_FILL</h4>
<pre>public static final&nbsp;int TAILSIZE_FILL</pre>
<div class="block">Will draw a tail from the left border but is only valid if the boolean in
<code>#setSteady(boolean, int)</code> was set to true, will default to
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX"><code>TAILSIZE_MAX</code></a> otherwise.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.TAILSIZE_FILL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TAILSIZE_MAX">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TAILSIZE_MAX</h4>
<pre>public static final&nbsp;int TAILSIZE_MAX</pre>
<div class="block">Will draw a maximum tail.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope.TAILSIZE_MAX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Oscilloscope-org.eclipse.swt.widgets.Composite-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Oscilloscope</h4>
<pre>public&nbsp;Oscilloscope(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</pre>
<div class="block">Creates a scope with one channel.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - </dd>
<dd><code>style</code> - </dd>
</dl>
</li>
</ul>
<a name="Oscilloscope-int-org.eclipse.swt.widgets.Composite-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Oscilloscope</h4>
<pre>public&nbsp;Oscilloscope(int&nbsp;channels,
org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</pre>
<div class="block">Creates a scope with <code>channels</code> channels.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channels</code> - </dd>
<dd><code>parent</code> - </dd>
<dd><code>style</code> - </dd>
</dl>
</li>
</ul>
<a name="Oscilloscope-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeDispatcher-org.eclipse.swt.widgets.Composite-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Oscilloscope</h4>
<pre>public&nbsp;Oscilloscope(int&nbsp;channels,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeDispatcher.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeDispatcher</a>&nbsp;dispatcher,
org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</pre>
<div class="block">Creates a new scope with <code>channels</code> channels and adds attaches
it to the supplied <code>dispatcher</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channels</code> - </dd>
<dd><code>dispatcher</code> - may be null</dd>
<dd><code>parent</code> - </dd>
<dd><code>style</code> - </dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addStackListener-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeStackAdapter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addStackListener</h4>
<pre>public&nbsp;void&nbsp;addStackListener(int&nbsp;channel,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeStackAdapter.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeStackAdapter</a>&nbsp;listener)</pre>
<div class="block">Adds a new stack listener to the collection of stack listeners. Adding
the same listener twice will have no effect.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - </dd>
</dl>
</li>
</ul>
<a name="computeSize-int-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeSize</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Point&nbsp;computeSize(int&nbsp;wHint,
int&nbsp;hHint,
boolean&nbsp;changed)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>computeSize</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Control</code></dd>
</dl>
</li>
</ul>
<a name="controlMoved-org.eclipse.swt.widgets.Event-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>controlMoved</h4>
<pre>protected&nbsp;void&nbsp;controlMoved(org.eclipse.swt.widgets.Event&nbsp;e)</pre>
</li>
</ul>
<a name="controlResized-org.eclipse.swt.widgets.Event-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>controlResized</h4>
<pre>protected&nbsp;void&nbsp;controlResized(org.eclipse.swt.widgets.Event&nbsp;e)</pre>
</li>
</ul>
<a name="getBase-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBase</h4>
<pre>public&nbsp;int&nbsp;getBase(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the base of the line.</dd>
</dl>
</li>
</ul>
<a name="getBaseOffset-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBaseOffset</h4>
<pre>public&nbsp;int&nbsp;getBaseOffset(int&nbsp;channel)</pre>
<div class="block">Gets the relative location where the line is drawn in the widget. This
method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>baseOffset</dd>
</dl>
</li>
</ul>
<a name="getChannels--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChannels</h4>
<pre>public&nbsp;int&nbsp;getChannels()</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>int, number of channels.</dd>
</dl>
</li>
</ul>
<a name="getDispatcher-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDispatcher</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeDispatcher.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeDispatcher</a>&nbsp;getDispatcher(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channel</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the dispatcher associated with this channel.</dd>
</dl>
</li>
</ul>
<a name="getForeground-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForeground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getForeground(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channel</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the foreground color associated with the supplied channel.</dd>
</dl>
</li>
</ul>
<a name="getLineWidth-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLineWidth</h4>
<pre>public&nbsp;int&nbsp;getLineWidth(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>int, the width of the line.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setLineWidth(int)</code></dd>
</dl>
</li>
</ul>
<a name="getProgression-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProgression</h4>
<pre>public&nbsp;int&nbsp;getProgression(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of internal calculation steps at each draw request.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setProgression(int)</code></dd>
</dl>
</li>
</ul>
<a name="getTailFade-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTailFade</h4>
<pre>public&nbsp;int&nbsp;getTailFade(int&nbsp;channel)</pre>
<div class="block">Gets the percentage of tail that must be faded out. This method can be
called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>int percentage</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setFade(boolean)</code></dd>
</dl>
</li>
</ul>
<a name="getTailSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTailSize</h4>
<pre>public&nbsp;int&nbsp;getTailSize(int&nbsp;channel)</pre>
<div class="block">Returns the size of the tail. This method can be called outside of the UI
thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>int</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setTailSize(int)</code>,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_DEFAULT"><code>TAILSIZE_DEFAULT</code></a>,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_FILL"><code>TAILSIZE_FILL</code></a>,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX"><code>TAILSIZE_MAX</code></a></dd>
</dl>
</li>
</ul>
<a name="isConnect-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnect</h4>
<pre>public&nbsp;boolean&nbsp;isConnect(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean, true if the tail and the head of the graph must be
connected if tail size is <a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX"><code>TAILSIZE_MAX</code></a> no fading graph.</dd>
</dl>
</li>
</ul>
<a name="isFade-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFade</h4>
<pre>public&nbsp;boolean&nbsp;isFade(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean fade</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setFade(boolean)</code></dd>
</dl>
</li>
</ul>
<a name="isPercentage-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPercentage</h4>
<pre>public&nbsp;boolean&nbsp;isPercentage(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setPercentage(boolean)</code></dd>
</dl>
</li>
</ul>
<a name="isSteady-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSteady</h4>
<pre>public&nbsp;boolean&nbsp;isSteady(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean steady indicator</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Oscilloscope#setSteady(boolean, int)</code></dd>
</dl>
</li>
</ul>
<a name="isAntiAlias-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAntiAlias</h4>
<pre>public&nbsp;boolean&nbsp;isAntiAlias(int&nbsp;channel)</pre>
<div class="block">This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>boolean anti-alias indicator</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setAntialias-int-boolean-"><code>setAntialias(int, boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="needsRedraw--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>needsRedraw</h4>
<pre>public&nbsp;boolean&nbsp;needsRedraw()</pre>
</li>
</ul>
<a name="paintControl-org.eclipse.swt.widgets.Event-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>paintControl</h4>
<pre>protected&nbsp;void&nbsp;paintControl(org.eclipse.swt.widgets.Event&nbsp;e)</pre>
</li>
</ul>
<a name="removeStackListener-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeStackAdapter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeStackListener</h4>
<pre>public&nbsp;void&nbsp;removeStackListener(int&nbsp;channel,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeStackAdapter.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeStackAdapter</a>&nbsp;listener)</pre>
<div class="block">Removes a stack listener from the collection of stack listeners. This
method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - </dd>
</dl>
</li>
</ul>
<a name="setBaseOffset-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBaseOffset</h4>
<pre>public&nbsp;void&nbsp;setBaseOffset(int&nbsp;channel,
int&nbsp;baseOffset)</pre>
<div class="block">Gets the relative location where the line is drawn in the widget, the
default is <code>BASE_CENTER</code> which is in the middle of the scope.
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>baseOffset</code> - must be between 100 and -100, exceeding values are rounded to
the closest allowable value.</dd>
</dl>
</li>
</ul>
<a name="setConnect-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnect</h4>
<pre>public&nbsp;void&nbsp;setConnect(int&nbsp;channel,
boolean&nbsp;connectHeadAndTail)</pre>
<div class="block">Connects head and tail only if tail size is <a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX"><code>TAILSIZE_MAX</code></a> and no
fading. This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>connectHeadAndTail</code> - </dd>
</dl>
</li>
</ul>
<a name="setAntialias-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAntialias</h4>
<pre>public&nbsp;void&nbsp;setAntialias(int&nbsp;channel,
boolean&nbsp;antialias)</pre>
<div class="block">Sets if the line must be anti-aliased which uses more processing power in
return of a smoother image. The default value is false. This method can
be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channel</code> - </dd>
<dd><code>antialias</code> - </dd>
</dl>
</li>
</ul>
<a name="setDispatcher-int-org.eclipse.nebula.widgets.oscilloscope.multichannel.OscilloscopeDispatcher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDispatcher</h4>
<pre>public&nbsp;void&nbsp;setDispatcher(int&nbsp;channel,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/OscilloscopeDispatcher.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel">OscilloscopeDispatcher</a>&nbsp;dispatcher)</pre>
<div class="block">Sets the dispatcher that is associated with the supplied channel. This
method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channel</code> - </dd>
<dd><code>dispatcher</code> - </dd>
</dl>
</li>
</ul>
<a name="setFade-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFade</h4>
<pre>public&nbsp;void&nbsp;setFade(int&nbsp;channel,
boolean&nbsp;fade)</pre>
<div class="block">Sets fade mode so that a percentage of the tail will be faded out at the
costs of extra CPU utilization (no beauty without pain or as the Dutch
say: "Wie mooi wil gaan moet pijn doorstaan"). The reason for this is
that each pixel must be drawn separately with alpha faded in instead of
the elegant <code>GC.drawPolygon(int[])</code> routine which does not support
alpha blending.
<p>
In addition to this, set the percentage of tail that must be faded out
<code>#setTailFade(int)</code>.
<p>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fade</code> - true or false</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#setTailFade(int)</code></dd>
</dl>
</li>
</ul>
<a name="setForeground-int-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setForeground</h4>
<pre>public&nbsp;void&nbsp;setForeground(int&nbsp;channel,
org.eclipse.swt.graphics.Color&nbsp;color)</pre>
<div class="block">Sets the foreground color for the supplied channel.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channel</code> - </dd>
<dd><code>color</code> - </dd>
</dl>
</li>
</ul>
<a name="setLineWidth-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLineWidth</h4>
<pre>public&nbsp;void&nbsp;setLineWidth(int&nbsp;channel,
int&nbsp;lineWidth)</pre>
<div class="block">Sets the line width. A value equal or below zero is ignored. The default
width is 1. This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lineWidth</code> - </dd>
</dl>
</li>
</ul>
<a name="setPercentage-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPercentage</h4>
<pre>public&nbsp;void&nbsp;setPercentage(int&nbsp;channel,
boolean&nbsp;percentage)</pre>
<div class="block">If set to true then the values are treated as percentages of the
available space rather than absolute values. This will scale the
amplitudes if the control is resized. Default is false.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>percentage</code> - true if percentages</dd>
</dl>
</li>
</ul>
<a name="setProgression-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProgression</h4>
<pre>public&nbsp;void&nbsp;setProgression(int&nbsp;channel,
int&nbsp;progression)</pre>
<div class="block">The number of internal steps that must be made before drawing. Normally
this will slide the graph one pixel. Setting this to a higher value will
speed up the animation at the cost of a more jerky motion.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>progression</code> - </dd>
</dl>
</li>
</ul>
<a name="setSteady-int-boolean-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSteady</h4>
<pre>public&nbsp;void&nbsp;setSteady(int&nbsp;channel,
boolean&nbsp;steady,
int&nbsp;steadyPosition)</pre>
<div class="block">If steady is true the graph will draw on a steady position instead of
advancing.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>steady</code> - </dd>
<dd><code>steadyPosition</code> - </dd>
</dl>
</li>
</ul>
<a name="setTailFade-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTailFade</h4>
<pre>public&nbsp;void&nbsp;setTailFade(int&nbsp;channel,
int&nbsp;tailFade)</pre>
<div class="block">Sets the percentage of tail that must be faded out. If you supply 100
then the tail is faded out all the way to the top. The effect will become
increasingly less obvious.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tailFade</code> - </dd>
</dl>
</li>
</ul>
<a name="setTailSize-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTailSize</h4>
<pre>public&nbsp;void&nbsp;setTailSize(int&nbsp;channel,
int&nbsp;size)</pre>
<div class="block">The tail size defaults to TAILSIZE_DEFAULT which is 75% of the width.
Setting it with TAILSIZE_MAX will leave one pixel between the tail and
the head. All values are absolute except TAILSIZE*. If the width is
smaller then the tail size then the tail size will behave like
TAILSIZE_MAX.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - the size of the tail</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>#getTailSize()</code>,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_DEFAULT"><code>TAILSIZE_DEFAULT</code></a>,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_FILL"><code>TAILSIZE_FILL</code></a>,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#TAILSIZE_MAX"><code>TAILSIZE_MAX</code></a></dd>
</dl>
</li>
</ul>
<a name="setValue-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;void&nbsp;setValue(int&nbsp;channel,
int&nbsp;value)</pre>
<div class="block">Sets a value to be drawn relative to the center of the channel. Supply a
positive or negative value. This method will only accept values if the
width of the scope > 0. The values will be stored in a stack and popped
once a value is needed. The size of the stack is the width of the widget.
If you resize the widget, the old stack will be copied into a new stack
with the new capacity.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channel</code> - </dd>
<dd><code>value</code> - which is an absolute value or a percentage</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#isPercentage-int-"><code>isPercentage(int)</code></a>,
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setBaseOffset-int-int-"><code>setBaseOffset(int, int)</code></a></dd>
</dl>
</li>
</ul>
<a name="setValues-int-int:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValues</h4>
<pre>public&nbsp;void&nbsp;setValues(int&nbsp;channel,
int[]&nbsp;values)</pre>
<div class="block">Sets a bunch of values that will be drawn. See
<a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setValue-int-int-"><code>setValue(int, int)</code></a> for details.
<p/>
This method can be called outside of the UI thread.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>channel</code> - </dd>
<dd><code>values</code> - </dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html#setValue-int-int-"><code>setValue(int, int)</code></a></dd>
</dl>
</li>
</ul>
<a name="widgetDisposed-org.eclipse.swt.widgets.Event-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>widgetDisposed</h4>
<pre>protected&nbsp;void&nbsp;widgetDisposed(org.eclipse.swt.widgets.Event&nbsp;e)</pre>
</li>
</ul>
<a name="getGridSquareSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGridSquareSize</h4>
<pre>public&nbsp;int&nbsp;getGridSquareSize()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the width of the square displayed in the grid</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setGridSquareSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGridSquareSize</h4>
<pre>public&nbsp;void&nbsp;setGridSquareSize(int&nbsp;size)</pre>
<div class="block">Set the size of the square displayed in the grid</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - the new size</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
<li>ERROR_INVALID_ARGUMENT - if size is lower than 1</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getGridLineWidth--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGridLineWidth</h4>
<pre>public&nbsp;int&nbsp;getGridLineWidth()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the width of the lines of the grid</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setGridLineWidth-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGridLineWidth</h4>
<pre>public&nbsp;void&nbsp;setGridLineWidth(int&nbsp;gridLineWidth)</pre>
<div class="block">Set the with of the lines size of the square displayed in the grid</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>gridLineWidth</code> - the new size</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
<li>ERROR_INVALID_ARGUMENT - if gridLineWidth is lower than 1</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getGridBackground--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGridBackground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getGridBackground()</pre>
<div class="block">Returns the background color of the oscilloscope.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the oscilloscope background color</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setGridBackground-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGridBackground</h4>
<pre>public&nbsp;void&nbsp;setGridBackground(org.eclipse.swt.graphics.Color&nbsp;gridBackground)</pre>
<div class="block">Sets the oscilloscope's background color to the color specified
by the argument, or to the default system color for the control
if the argument is null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>color</code> - the new color (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getGridForeground--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGridForeground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getGridForeground()</pre>
<div class="block">Returns the color of the grid.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the color or the grid</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setGridForeground-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setGridForeground</h4>
<pre>public&nbsp;void&nbsp;setGridForeground(org.eclipse.swt.graphics.Color&nbsp;gridForeground)</pre>
<div class="block">Sets the color of the grid to the color specified by the argument, or to the default system color for the control
if the argument is null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>color</code> - the new color (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Oscilloscope.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../../../../org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.IntegerFiFoCircularStack.html" title="class in org.eclipse.nebula.widgets.oscilloscope.multichannel"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/oscilloscope/multichannel/Oscilloscope.html" target="_top">Frames</a></li>
<li><a href="Oscilloscope.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>