mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 21:57:40 +00:00
579 lines
20 KiB
HTML
579 lines
20 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (11.0.20) on Thu May 29 16:24:46 EDT 2025 -->
|
|
<title>IButton</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="dc.created" content="2025-05-29">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../jquery/jquery-3.6.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="IButton";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</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" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api.gui</a></div>
|
|
<h2 title="Interface IButton" class="title">Interface IButton</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Superinterfaces:</dt>
|
|
<dd><code><a href="ICustomGuiComponent.html" title="interface in noppes.npcs.api.gui">ICustomGuiComponent</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public interface <span class="typeNameLabel">IButton</span>
|
|
extends <a href="ICustomGuiComponent.html" title="interface in noppes.npcs.api.gui">ICustomGuiComponent</a></pre>
|
|
<div class="block">Represents a clickable button component in a custom GUI.
|
|
Provides methods to control size, label, texture, and state.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHeight()">getHeight</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the button's height.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLabel()">getLabel</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the button's label text.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScale()">getScale</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the scale factor of the button.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTexture()">getTexture</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the texture resource location for this button.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTextureX()">getTextureX</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the X offset within the texture.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTextureY()">getTextureY</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the Y offset within the texture.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWidth()">getWidth</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the button's width.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasTexture()">hasTexture</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Checks if the button has an assigned texture.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEnabled()">isEnabled</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Checks if the button is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEnabled(boolean)">setEnabled</a></span>​(boolean enabled)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Enables or disables the button.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLabel(java.lang.String)">setLabel</a></span>​(java.lang.String text)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the button's label text.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setScale(float)">setScale</a></span>​(float scale)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the scale factor of the button.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSize(int,int)">setSize</a></span>​(int width,
|
|
int height)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the size of the button.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTexture(java.lang.String)">setTexture</a></span>​(java.lang.String texture)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the texture resource location for this button.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTextureOffset(int,int)">setTextureOffset</a></span>​(int textureX,
|
|
int textureY)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the texture offset (X and Y) for this button.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.noppes.npcs.api.gui.ICustomGuiComponent">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface noppes.npcs.api.gui.<a href="ICustomGuiComponent.html" title="interface in noppes.npcs.api.gui">ICustomGuiComponent</a></h3>
|
|
<code><a href="ICustomGuiComponent.html#fromNBT(net.minecraft.nbt.NBTTagCompound)">fromNBT</a>, <a href="ICustomGuiComponent.html#getAlpha()">getAlpha</a>, <a href="ICustomGuiComponent.html#getColor()">getColor</a>, <a href="ICustomGuiComponent.html#getHoverText()">getHoverText</a>, <a href="ICustomGuiComponent.html#getID()">getID</a>, <a href="ICustomGuiComponent.html#getPosX()">getPosX</a>, <a href="ICustomGuiComponent.html#getPosY()">getPosY</a>, <a href="ICustomGuiComponent.html#getRotation()">getRotation</a>, <a href="ICustomGuiComponent.html#hasHoverText()">hasHoverText</a>, <a href="ICustomGuiComponent.html#setAlpha(float)">setAlpha</a>, <a href="ICustomGuiComponent.html#setColor(int)">setColor</a>, <a href="ICustomGuiComponent.html#setHoverText(java.lang.String)">setHoverText</a>, <a href="ICustomGuiComponent.html#setHoverText(java.lang.String%5B%5D)">setHoverText</a>, <a href="ICustomGuiComponent.html#setID(int)">setID</a>, <a href="ICustomGuiComponent.html#setPos(int,int)">setPos</a>, <a href="ICustomGuiComponent.html#setRotation(float)">setRotation</a>, <a href="ICustomGuiComponent.html#toNBT(net.minecraft.nbt.NBTTagCompound)">toNBT</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="getWidth()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWidth</h4>
|
|
<pre class="methodSignature">int getWidth()</pre>
|
|
<div class="block">Returns the button's width.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the width in pixels.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getHeight()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHeight</h4>
|
|
<pre class="methodSignature">int getHeight()</pre>
|
|
<div class="block">Returns the button's height.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the height in pixels.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setSize(int,int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSize</h4>
|
|
<pre class="methodSignature"><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a> setSize​(int width,
|
|
int height)</pre>
|
|
<div class="block">Sets the size of the button.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>width</code> - the new width in pixels.</dd>
|
|
<dd><code>height</code> - the new height in pixels.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this button instance.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getLabel()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLabel</h4>
|
|
<pre class="methodSignature">java.lang.String getLabel()</pre>
|
|
<div class="block">Returns the button's label text.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the label.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setLabel(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLabel</h4>
|
|
<pre class="methodSignature"><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a> setLabel​(java.lang.String text)</pre>
|
|
<div class="block">Sets the button's label text.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>text</code> - the new label.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this button instance.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTexture()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTexture</h4>
|
|
<pre class="methodSignature">java.lang.String getTexture()</pre>
|
|
<div class="block">Returns the texture resource location for this button.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the texture location as a string.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="hasTexture()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasTexture</h4>
|
|
<pre class="methodSignature">boolean hasTexture()</pre>
|
|
<div class="block">Checks if the button has an assigned texture.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if a texture is set; false otherwise.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTexture(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTexture</h4>
|
|
<pre class="methodSignature"><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a> setTexture​(java.lang.String texture)</pre>
|
|
<div class="block">Sets the texture resource location for this button.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>texture</code> - the texture resource location.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this button instance.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTextureX()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTextureX</h4>
|
|
<pre class="methodSignature">int getTextureX()</pre>
|
|
<div class="block">Returns the X offset within the texture.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the texture X offset.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTextureY()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTextureY</h4>
|
|
<pre class="methodSignature">int getTextureY()</pre>
|
|
<div class="block">Returns the Y offset within the texture.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the texture Y offset.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTextureOffset(int,int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTextureOffset</h4>
|
|
<pre class="methodSignature"><a href="IButton.html" title="interface in noppes.npcs.api.gui">IButton</a> setTextureOffset​(int textureX,
|
|
int textureY)</pre>
|
|
<div class="block">Sets the texture offset (X and Y) for this button.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>textureX</code> - the new X offset.</dd>
|
|
<dd><code>textureY</code> - the new Y offset.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>this button instance.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setScale(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setScale</h4>
|
|
<pre class="methodSignature">void setScale​(float scale)</pre>
|
|
<div class="block">Sets the scale factor of the button.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>scale</code> - the scale factor.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getScale()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getScale</h4>
|
|
<pre class="methodSignature">float getScale()</pre>
|
|
<div class="block">Returns the scale factor of the button.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the scale.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEnabled</h4>
|
|
<pre class="methodSignature">void setEnabled​(boolean enabled)</pre>
|
|
<div class="block">Enables or disables the button.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>enabled</code> - true to enable; false to disable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>isEnabled</h4>
|
|
<pre class="methodSignature">boolean isEnabled()</pre>
|
|
<div class="block">Checks if the button is enabled.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if enabled; false otherwise.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</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" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|