1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00
arduinolibs/classIntField.html
Rhys Weatherley 9fb22bce90 Update docs
2015-12-18 05:39:25 +10:00

656 lines
53 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ArduinoLibs: IntField Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">ArduinoLibs
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classIntField-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IntField Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classField.html" title="Manages a single data input/output field within a Form. ">Field</a> that manages the input of an integer value.
<a href="classIntField.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="IntField_8h_source.html">IntField.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for IntField:</div>
<div class="dyncontent">
<div class="center">
<img src="classIntField.png" usemap="#IntField_map" alt=""/>
<map id="IntField_map" name="IntField_map">
<area href="classField.html" title="Manages a single data input/output field within a Form. " alt="Field" shape="rect" coords="0,0,53,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9df274c4100ed37d2d78738f09fc53b6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a9df274c4100ed37d2d78738f09fc53b6">IntField</a> (const String &amp;<a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe">label</a>)</td></tr>
<tr class="memdesc:a9df274c4100ed37d2d78738f09fc53b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new integer field with a specific <em>label</em>. <a href="#a9df274c4100ed37d2d78738f09fc53b6">More...</a><br/></td></tr>
<tr class="separator:a9df274c4100ed37d2d78738f09fc53b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10c9c958bcde276698f1f1f9bff949dd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a10c9c958bcde276698f1f1f9bff949dd">IntField</a> (<a class="el" href="classForm.html">Form</a> &amp;<a class="el" href="classField.html#a27427319be1cc92db3128637d8884ee5">form</a>, const String &amp;<a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe">label</a>, int <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb">minValue</a>, int <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad">maxValue</a>, int <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd">stepValue</a>, int <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52">value</a>)</td></tr>
<tr class="memdesc:a10c9c958bcde276698f1f1f9bff949dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new integer field with a specific <em>label</em>, <em>minValue</em>, <em>maxValue</em>, <em>stepValue</em>, and <em>value</em>, and attaches it to a <em>form</em>. <a href="#a10c9c958bcde276698f1f1f9bff949dd">More...</a><br/></td></tr>
<tr class="separator:a10c9c958bcde276698f1f1f9bff949dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b99fa19be6a0ed01ddc4939352b372e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b99fa19be6a0ed01ddc4939352b372e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a2b99fa19be6a0ed01ddc4939352b372e">IntField</a> (<a class="el" href="classForm.html">Form</a> &amp;<a class="el" href="classField.html#a27427319be1cc92db3128637d8884ee5">form</a>, const String &amp;<a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe">label</a>, int <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb">minValue</a>, int <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad">maxValue</a>, int <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd">stepValue</a>, int <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52">value</a>, const String &amp;<a class="el" href="classIntField.html#a1a1de6a1836dfdb820c92b7f188a1b05">suffix</a>)</td></tr>
<tr class="memdesc:a2b99fa19be6a0ed01ddc4939352b372e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new integer field with a specific <em>label</em>, <em>minValue</em>, <em>maxValue</em>, <em>stepValue</em>, <em>value</em>, and <em>suffix</em> and attaches it to a <em>form</em>. <br/></td></tr>
<tr class="separator:a2b99fa19be6a0ed01ddc4939352b372e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01a17d5a89c76c42c4f0516984ce653f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a01a17d5a89c76c42c4f0516984ce653f">dispatch</a> (int event)</td></tr>
<tr class="memdesc:a01a17d5a89c76c42c4f0516984ce653f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatches <em>event</em> via this field. <a href="#a01a17d5a89c76c42c4f0516984ce653f">More...</a><br/></td></tr>
<tr class="separator:a01a17d5a89c76c42c4f0516984ce653f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51d9127b660e8dd7f87718acd230202a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a51d9127b660e8dd7f87718acd230202a">enterField</a> (bool reverse)</td></tr>
<tr class="memdesc:a51d9127b660e8dd7f87718acd230202a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enters the field due to form navigation. <a href="#a51d9127b660e8dd7f87718acd230202a">More...</a><br/></td></tr>
<tr class="separator:a51d9127b660e8dd7f87718acd230202a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3dab3f2b46d29136d7a93ce46b0b8fb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb">minValue</a> () const </td></tr>
<tr class="memdesc:af3dab3f2b46d29136d7a93ce46b0b8fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum value for the input field. <a href="#af3dab3f2b46d29136d7a93ce46b0b8fb">More...</a><br/></td></tr>
<tr class="separator:af3dab3f2b46d29136d7a93ce46b0b8fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afffe7be6721a043cec7a5a85c19e0ada"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#afffe7be6721a043cec7a5a85c19e0ada">setMinValue</a> (int <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52">value</a>)</td></tr>
<tr class="memdesc:afffe7be6721a043cec7a5a85c19e0ada"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum <em>value</em> for the input field. <a href="#afffe7be6721a043cec7a5a85c19e0ada">More...</a><br/></td></tr>
<tr class="separator:afffe7be6721a043cec7a5a85c19e0ada"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0adcb0d16e822e5f176be5cb9ca8ad"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad">maxValue</a> () const </td></tr>
<tr class="memdesc:aaa0adcb0d16e822e5f176be5cb9ca8ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum value for the input field. <a href="#aaa0adcb0d16e822e5f176be5cb9ca8ad">More...</a><br/></td></tr>
<tr class="separator:aaa0adcb0d16e822e5f176be5cb9ca8ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36cbd7c24480cc3fcf0c7634d5e22bf1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a36cbd7c24480cc3fcf0c7634d5e22bf1">setMaxValue</a> (int <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52">value</a>)</td></tr>
<tr class="memdesc:a36cbd7c24480cc3fcf0c7634d5e22bf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the maximum <em>value</em> for the input field. <a href="#a36cbd7c24480cc3fcf0c7634d5e22bf1">More...</a><br/></td></tr>
<tr class="separator:a36cbd7c24480cc3fcf0c7634d5e22bf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49025ee3473fe066a6a6c546af98bfbd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd">stepValue</a> () const </td></tr>
<tr class="memdesc:a49025ee3473fe066a6a6c546af98bfbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the step value to use when increasing or decreasing the <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> due to Up and Down button presses. <a href="#a49025ee3473fe066a6a6c546af98bfbd">More...</a><br/></td></tr>
<tr class="separator:a49025ee3473fe066a6a6c546af98bfbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fb6e207bd906062bb788e19dbe58bcb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a8fb6e207bd906062bb788e19dbe58bcb">setStepValue</a> (int <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52">value</a>)</td></tr>
<tr class="memdesc:a8fb6e207bd906062bb788e19dbe58bcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the step value <em>value</em> to use when increasing or decreasing the <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> due to Up and Down button presses. <a href="#a8fb6e207bd906062bb788e19dbe58bcb">More...</a><br/></td></tr>
<tr class="separator:a8fb6e207bd906062bb788e19dbe58bcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fb650827ce8cb4662253bb6c32acb52"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52">value</a> () const </td></tr>
<tr class="memdesc:a2fb650827ce8cb4662253bb6c32acb52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current value of this field. <a href="#a2fb650827ce8cb4662253bb6c32acb52">More...</a><br/></td></tr>
<tr class="separator:a2fb650827ce8cb4662253bb6c32acb52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed421e2c52946f2c7643534b4f6f13f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#aed421e2c52946f2c7643534b4f6f13f7">setValue</a> (int <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52">value</a>)</td></tr>
<tr class="memdesc:aed421e2c52946f2c7643534b4f6f13f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current <em>value</em> of this field. <a href="#aed421e2c52946f2c7643534b4f6f13f7">More...</a><br/></td></tr>
<tr class="separator:aed421e2c52946f2c7643534b4f6f13f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a1de6a1836dfdb820c92b7f188a1b05"><td class="memItemLeft" align="right" valign="top">const String &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a1a1de6a1836dfdb820c92b7f188a1b05">suffix</a> () const </td></tr>
<tr class="memdesc:a1a1de6a1836dfdb820c92b7f188a1b05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the suffix string to be displayed after the field's value. <a href="#a1a1de6a1836dfdb820c92b7f188a1b05">More...</a><br/></td></tr>
<tr class="separator:a1a1de6a1836dfdb820c92b7f188a1b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9324bba994389f3a4563d9c18bd2f1cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIntField.html#a9324bba994389f3a4563d9c18bd2f1cd">setSuffix</a> (const String &amp;<a class="el" href="classIntField.html#a1a1de6a1836dfdb820c92b7f188a1b05">suffix</a>)</td></tr>
<tr class="memdesc:a9324bba994389f3a4563d9c18bd2f1cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <em>suffix</em> string to be displayed after the field's value. <a href="#a9324bba994389f3a4563d9c18bd2f1cd">More...</a><br/></td></tr>
<tr class="separator:a9324bba994389f3a4563d9c18bd2f1cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classField"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classField')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classField.html">Field</a></td></tr>
<tr class="memitem:ac4ea0d104376233c3f0bfc080ec8564e inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#ac4ea0d104376233c3f0bfc080ec8564e">Field</a> (const String &amp;<a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe">label</a>)</td></tr>
<tr class="memdesc:ac4ea0d104376233c3f0bfc080ec8564e inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new field with a specific <em>label</em>. <a href="#ac4ea0d104376233c3f0bfc080ec8564e">More...</a><br/></td></tr>
<tr class="separator:ac4ea0d104376233c3f0bfc080ec8564e inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e2bdb203ddfd9219696f263c1731fe7 inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e2bdb203ddfd9219696f263c1731fe7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#a7e2bdb203ddfd9219696f263c1731fe7">Field</a> (<a class="el" href="classForm.html">Form</a> &amp;<a class="el" href="classField.html#a27427319be1cc92db3128637d8884ee5">form</a>, const String &amp;<a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe">label</a>)</td></tr>
<tr class="memdesc:a7e2bdb203ddfd9219696f263c1731fe7 inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new field with a specific <em>label</em> and attaches it to a <em>form</em>. <br/></td></tr>
<tr class="separator:a7e2bdb203ddfd9219696f263c1731fe7 inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45d6e6d09b8f8e46de62b40119d62c60 inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#a45d6e6d09b8f8e46de62b40119d62c60">~Field</a> ()</td></tr>
<tr class="memdesc:a45d6e6d09b8f8e46de62b40119d62c60 inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys this field and removes it from its owning <a class="el" href="classForm.html" title="Manager for a form containing data input/output fields. ">Form</a>. <a href="#a45d6e6d09b8f8e46de62b40119d62c60">More...</a><br/></td></tr>
<tr class="separator:a45d6e6d09b8f8e46de62b40119d62c60 inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27427319be1cc92db3128637d8884ee5 inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27427319be1cc92db3128637d8884ee5"></a>
<a class="el" href="classForm.html">Form</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#a27427319be1cc92db3128637d8884ee5">form</a> () const </td></tr>
<tr class="memdesc:a27427319be1cc92db3128637d8884ee5 inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classForm.html" title="Manager for a form containing data input/output fields. ">Form</a> that owns this field; null if not associated with a <a class="el" href="classForm.html" title="Manager for a form containing data input/output fields. ">Form</a>. <br/></td></tr>
<tr class="separator:a27427319be1cc92db3128637d8884ee5 inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6805c75ee1e62f8cd8bd550c4530c07 inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#ad6805c75ee1e62f8cd8bd550c4530c07">exitField</a> ()</td></tr>
<tr class="memdesc:ad6805c75ee1e62f8cd8bd550c4530c07 inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exits the field due to form navigation. <a href="#ad6805c75ee1e62f8cd8bd550c4530c07">More...</a><br/></td></tr>
<tr class="separator:ad6805c75ee1e62f8cd8bd550c4530c07 inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa861ef917130c989a955bc75c683afe inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top">const String &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe">label</a> () const </td></tr>
<tr class="memdesc:aaa861ef917130c989a955bc75c683afe inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the label to display in the first line of this field. <a href="#aaa861ef917130c989a955bc75c683afe">More...</a><br/></td></tr>
<tr class="separator:aaa861ef917130c989a955bc75c683afe inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ea63599d780c35b296cf2840b69f7b inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#ad4ea63599d780c35b296cf2840b69f7b">setLabel</a> (const String &amp;<a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe">label</a>)</td></tr>
<tr class="memdesc:ad4ea63599d780c35b296cf2840b69f7b inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <em>label</em> to display in the first line of this field. <a href="#ad4ea63599d780c35b296cf2840b69f7b">More...</a><br/></td></tr>
<tr class="separator:ad4ea63599d780c35b296cf2840b69f7b inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25d86a67b321e8c642edf75a10a35f72 inherit pub_methods_classField"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#a25d86a67b321e8c642edf75a10a35f72">isCurrent</a> () const </td></tr>
<tr class="memdesc:a25d86a67b321e8c642edf75a10a35f72 inherit pub_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this field is the currently-displayed field in its owning form; false otherwise. <a href="#a25d86a67b321e8c642edf75a10a35f72">More...</a><br/></td></tr>
<tr class="separator:a25d86a67b321e8c642edf75a10a35f72 inherit pub_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classField"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classField')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classField.html">Field</a></td></tr>
<tr class="memitem:a5cf21bf958a71e51feac9e1bf9f599d1 inherit pro_methods_classField"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cf21bf958a71e51feac9e1bf9f599d1"></a>
LiquidCrystal *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#a5cf21bf958a71e51feac9e1bf9f599d1">lcd</a> () const </td></tr>
<tr class="memdesc:a5cf21bf958a71e51feac9e1bf9f599d1 inherit pro_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields. ">LCD</a> that this field is being drawn on. <br/></td></tr>
<tr class="separator:a5cf21bf958a71e51feac9e1bf9f599d1 inherit pro_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc612378167be0e7f8a6f8395b3537bd inherit pro_methods_classField"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classField.html#afc612378167be0e7f8a6f8395b3537bd">updateCursor</a> ()</td></tr>
<tr class="memdesc:afc612378167be0e7f8a6f8395b3537bd inherit pro_methods_classField"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the cursor position after the label has been drawn by <a class="el" href="classField.html#ad4ea63599d780c35b296cf2840b69f7b" title="Sets the label to display in the first line of this field. ">setLabel()</a>. <a href="#afc612378167be0e7f8a6f8395b3537bd">More...</a><br/></td></tr>
<tr class="separator:afc612378167be0e7f8a6f8395b3537bd inherit pro_methods_classField"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classField.html" title="Manages a single data input/output field within a Form. ">Field</a> that manages the input of an integer value. </p>
<p><a class="el" href="classIntField.html" title="Field that manages the input of an integer value. ">IntField</a> is intended for field values that are modifiable by the user. Pressing Up adds <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a> to the current value and pressing Down subtracts <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a> from the current value. The value is clamped to the range <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb" title="Returns the minimum value for the input field. ">minValue()</a> to <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad" title="Returns the maximum value for the input field. ">maxValue()</a>.</p>
<p>The following example creates an integer field with the label "Iterations", that ranges between 1 and 5, with a <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a> of 1, and an initial default <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> of 2:</p>
<div class="fragment"><div class="line"><a class="code" href="classForm.html">Form</a> mainForm(lcd);</div>
<div class="line"><a class="code" href="classIntField.html">IntField</a> iterField(mainForm, <span class="stringliteral">&quot;Iterations&quot;</span>, 1, 5, 1, 2);</div>
</div><!-- fragment --><p><a class="el" href="classIntField.html" title="Field that manages the input of an integer value. ">IntField</a> can be configured to show a <a class="el" href="classIntField.html#a1a1de6a1836dfdb820c92b7f188a1b05" title="Returns the suffix string to be displayed after the field&#39;s value. ">suffix()</a> on the screen after the integer <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a>. This is intended for communicating the units in which the value is expressed. For example:</p>
<div class="fragment"><div class="line"><a class="code" href="classIntField.html">IntField</a> volumeField(mainForm, <span class="stringliteral">&quot;Volume&quot;</span>, 0, 100, 5, 85, <span class="stringliteral">&quot;%&quot;</span>);</div>
<div class="line"><a class="code" href="classIntField.html">IntField</a> speedField(mainForm, <span class="stringliteral">&quot;Speed&quot;</span>, 0, 2000, 15, 450, <span class="stringliteral">&quot; rpm&quot;</span>);</div>
</div><!-- fragment --><div class="image">
<img src="FormInt.png" alt="FormInt.png"/>
</div>
<p>Use <a class="el" href="classTextField.html" title="Field that displays a read-only text value. ">TextField</a> for read-only fields that report integer values but which are not modifiable by the user.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classField.html" title="Manages a single data input/output field within a Form. ">Field</a>, <a class="el" href="classTextField.html" title="Field that displays a read-only text value. ">TextField</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00028">28</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9df274c4100ed37d2d78738f09fc53b6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IntField::IntField </td>
<td>(</td>
<td class="paramtype">const String &amp;&#160;</td>
<td class="paramname"><em>label</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a new integer field with a specific <em>label</em>. </p>
<p>The field is initially not associated with a <a class="el" href="classForm.html" title="Manager for a form containing data input/output fields. ">Form</a>. The field can be added to a form later using <a class="el" href="classForm.html#a5cb056ace428e75e321610555bfecac7" title="Adds field to this form. ">Form::addField()</a>.</p>
<p>Initially, <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> is 0, <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb" title="Returns the minimum value for the input field. ">minValue()</a> is 0, <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad" title="Returns the maximum value for the input field. ">maxValue()</a> is 100, <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a> is 1, and <a class="el" href="classIntField.html#a1a1de6a1836dfdb820c92b7f188a1b05" title="Returns the suffix string to be displayed after the field&#39;s value. ">suffix()</a> is an empty string.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classForm.html#a5cb056ace428e75e321610555bfecac7" title="Adds field to this form. ">Form::addField()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8cpp_source.html#l00071">71</a> of file <a class="el" href="IntField_8cpp_source.html">IntField.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a10c9c958bcde276698f1f1f9bff949dd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IntField::IntField </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classForm.html">Form</a> &amp;&#160;</td>
<td class="paramname"><em>form</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const String &amp;&#160;</td>
<td class="paramname"><em>label</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>minValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>maxValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>stepValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a new integer field with a specific <em>label</em>, <em>minValue</em>, <em>maxValue</em>, <em>stepValue</em>, and <em>value</em>, and attaches it to a <em>form</em>. </p>
<p>The <a class="el" href="classIntField.html#a1a1de6a1836dfdb820c92b7f188a1b05" title="Returns the suffix string to be displayed after the field&#39;s value. ">suffix()</a> is initially set to an empty string. </p>
<p>Definition at line <a class="el" href="IntField_8cpp_source.html#l00088">88</a> of file <a class="el" href="IntField_8cpp_source.html">IntField.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a01a17d5a89c76c42c4f0516984ce653f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int IntField::dispatch </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Dispatches <em>event</em> via this field. </p>
<p>The <em>event</em> is usually obtained from <a class="el" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event. ">LCD::getButton()</a>.</p>
<p>Returns zero if the <em>event</em> has been handled and no further action is required.</p>
<p>Returns FORM_CHANGED if the <em>event</em> has changed the value of this field in a manner that may require the application to take further action based on the new field value.</p>
<p>Returns -1 if the <em>event</em> is not handled by this field, and should be handled by the <a class="el" href="classForm.html" title="Manager for a form containing data input/output fields. ">Form</a> itself (particularly for Left and Right buttons). The default implementation returns -1 for all events.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classForm.html#a89bd3850e87caa2ca7b2e946f923d0ee" title="Dispatches event to the currently active field using Field::dispatch(). ">Form::dispatch()</a>, <a class="el" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event. ">LCD::getButton()</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classField.html#a061bd1ed4d8b079df86465df8facd3b3">Field</a>.</p>
<p>Definition at line <a class="el" href="IntField_8cpp_source.html#l00114">114</a> of file <a class="el" href="IntField_8cpp_source.html">IntField.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a51d9127b660e8dd7f87718acd230202a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntField::enterField </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>reverse</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Enters the field due to form navigation. </p>
<p>This function is typically called when the user presses Left and Right buttons to navigate to the field. If <em>reverse</em> is true, then navigation was due to the Left button being pressed.</p>
<p>This function can assume that the display has been cleared and the cursor is positioned at (0, 0).</p>
<p>The default implementation prints the <a class="el" href="classField.html#aaa861ef917130c989a955bc75c683afe" title="Returns the label to display in the first line of this field. ">label()</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classField.html#ad6805c75ee1e62f8cd8bd550c4530c07" title="Exits the field due to form navigation. ">exitField()</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classField.html#aa032bbeacb405c56546cb56fbbee94f5">Field</a>.</p>
<p>Definition at line <a class="el" href="IntField_8cpp_source.html#l00126">126</a> of file <a class="el" href="IntField_8cpp_source.html">IntField.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="aaa0adcb0d16e822e5f176be5cb9ca8ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int IntField::maxValue </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the maximum value for the input field. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#a36cbd7c24480cc3fcf0c7634d5e22bf1" title="Sets the maximum value for the input field. ">setMaxValue()</a>, <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb" title="Returns the minimum value for the input field. ">minValue()</a>, <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a>, <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00041">41</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<a class="anchor" id="af3dab3f2b46d29136d7a93ce46b0b8fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int IntField::minValue </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the minimum value for the input field. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#afffe7be6721a043cec7a5a85c19e0ada" title="Sets the minimum value for the input field. ">setMinValue()</a>, <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad" title="Returns the maximum value for the input field. ">maxValue()</a>, <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a>, <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00038">38</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<a class="anchor" id="a36cbd7c24480cc3fcf0c7634d5e22bf1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntField::setMaxValue </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the maximum <em>value</em> for the input field. </p>
<p>The new maximum <em>value</em> will be used to clamp the field's value the next time <a class="el" href="classIntField.html#aed421e2c52946f2c7643534b4f6f13f7" title="Sets the current value of this field. ">setValue()</a> is called.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad" title="Returns the maximum value for the input field. ">maxValue()</a>, <a class="el" href="classIntField.html#afffe7be6721a043cec7a5a85c19e0ada" title="Sets the minimum value for the input field. ">setMinValue()</a>, <a class="el" href="classIntField.html#a8fb6e207bd906062bb788e19dbe58bcb" title="Sets the step value value to use when increasing or decreasing the value() due to Up and Down button ...">setStepValue()</a>, <a class="el" href="classIntField.html#aed421e2c52946f2c7643534b4f6f13f7" title="Sets the current value of this field. ">setValue()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00042">42</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<a class="anchor" id="afffe7be6721a043cec7a5a85c19e0ada"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntField::setMinValue </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the minimum <em>value</em> for the input field. </p>
<p>The new minimum <em>value</em> will be used to clamp the field's value the next time <a class="el" href="classIntField.html#aed421e2c52946f2c7643534b4f6f13f7" title="Sets the current value of this field. ">setValue()</a> is called.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb" title="Returns the minimum value for the input field. ">minValue()</a>, <a class="el" href="classIntField.html#a36cbd7c24480cc3fcf0c7634d5e22bf1" title="Sets the maximum value for the input field. ">setMaxValue()</a>, <a class="el" href="classIntField.html#a8fb6e207bd906062bb788e19dbe58bcb" title="Sets the step value value to use when increasing or decreasing the value() due to Up and Down button ...">setStepValue()</a>, <a class="el" href="classIntField.html#aed421e2c52946f2c7643534b4f6f13f7" title="Sets the current value of this field. ">setValue()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00039">39</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8fb6e207bd906062bb788e19dbe58bcb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IntField::setStepValue </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the step value <em>value</em> to use when increasing or decreasing the <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> due to Up and Down button presses. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a>, <a class="el" href="classIntField.html#afffe7be6721a043cec7a5a85c19e0ada" title="Sets the minimum value for the input field. ">setMinValue()</a>, <a class="el" href="classIntField.html#a36cbd7c24480cc3fcf0c7634d5e22bf1" title="Sets the maximum value for the input field. ">setMaxValue()</a>, <a class="el" href="classIntField.html#aed421e2c52946f2c7643534b4f6f13f7" title="Sets the current value of this field. ">setValue()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00045">45</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9324bba994389f3a4563d9c18bd2f1cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IntField::setSuffix </td>
<td>(</td>
<td class="paramtype">const String &amp;&#160;</td>
<td class="paramname"><em>suffix</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the <em>suffix</em> string to be displayed after the field's value. </p>
<p>Suffixes are typically used to indicate the units that the <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> is expressed in. For example:</p>
<div class="fragment"><div class="line">field.setSuffix(<span class="stringliteral">&quot;%&quot;</span>);</div>
<div class="line">field.setSuffix(<span class="stringliteral">&quot; rpm&quot;</span>);</div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#a1a1de6a1836dfdb820c92b7f188a1b05" title="Returns the suffix string to be displayed after the field&#39;s value. ">suffix()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8cpp_source.html#l00231">231</a> of file <a class="el" href="IntField_8cpp_source.html">IntField.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="aed421e2c52946f2c7643534b4f6f13f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IntField::setValue </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the current <em>value</em> of this field. </p>
<p>The <em>value</em> will be clamped to the range defined by <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb" title="Returns the minimum value for the input field. ">minValue()</a> and <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad" title="Returns the maximum value for the input field. ">maxValue()</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a>, <a class="el" href="classIntField.html#afffe7be6721a043cec7a5a85c19e0ada" title="Sets the minimum value for the input field. ">setMinValue()</a>, <a class="el" href="classIntField.html#a36cbd7c24480cc3fcf0c7634d5e22bf1" title="Sets the maximum value for the input field. ">setMaxValue()</a>, <a class="el" href="classIntField.html#a8fb6e207bd906062bb788e19dbe58bcb" title="Sets the step value value to use when increasing or decreasing the value() due to Up and Down button ...">setStepValue()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8cpp_source.html#l00198">198</a> of file <a class="el" href="IntField_8cpp_source.html">IntField.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a49025ee3473fe066a6a6c546af98bfbd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int IntField::stepValue </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the step value to use when increasing or decreasing the <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> due to Up and Down button presses. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#a8fb6e207bd906062bb788e19dbe58bcb" title="Sets the step value value to use when increasing or decreasing the value() due to Up and Down button ...">setStepValue()</a>, <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb" title="Returns the minimum value for the input field. ">minValue()</a>, <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad" title="Returns the maximum value for the input field. ">maxValue()</a>, <a class="el" href="classIntField.html#a2fb650827ce8cb4662253bb6c32acb52" title="Returns the current value of this field. ">value()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00044">44</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1a1de6a1836dfdb820c92b7f188a1b05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const String &amp; IntField::suffix </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the suffix string to be displayed after the field's value. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#a9324bba994389f3a4563d9c18bd2f1cd" title="Sets the suffix string to be displayed after the field&#39;s value. ">setSuffix()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00050">50</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2fb650827ce8cb4662253bb6c32acb52"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int IntField::value </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current value of this field. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classIntField.html#aed421e2c52946f2c7643534b4f6f13f7" title="Sets the current value of this field. ">setValue()</a>, <a class="el" href="classIntField.html#af3dab3f2b46d29136d7a93ce46b0b8fb" title="Returns the minimum value for the input field. ">minValue()</a>, <a class="el" href="classIntField.html#aaa0adcb0d16e822e5f176be5cb9ca8ad" title="Returns the maximum value for the input field. ">maxValue()</a>, <a class="el" href="classIntField.html#a49025ee3473fe066a6a6c546af98bfbd" title="Returns the step value to use when increasing or decreasing the value() due to Up and Down button pre...">stepValue()</a> </dd></dl>
<p>Definition at line <a class="el" href="IntField_8h_source.html#l00047">47</a> of file <a class="el" href="IntField_8h_source.html">IntField.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="IntField_8h_source.html">IntField.h</a></li>
<li><a class="el" href="IntField_8cpp_source.html">IntField.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 18 2015 05:39:07 for ArduinoLibs by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>