pokerogue/main/classes/ui_settings_keyboard_bindin...

59 lines
75 KiB
HTML

<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | pokemon-rogue-battle</title><meta name="description" content="Documentation for pokemon-rogue-battle"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">pokemon-rogue-battle</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">pokemon-rogue-battle</a></li><li><a href="../modules/ui_settings_keyboard_binding_ui_handler.html">ui/settings/keyboard-binding-ui-handler</a></li><li><a href="ui_settings_keyboard_binding_ui_handler.default.html">default</a></li></ul><h1>Class default</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Abstract class for handling UI elements related to button bindings.</p>
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#ui/settings/keyboard-binding-ui-handler.default">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="ui_settings_abstract_binding_ui_handler.default.html" class="tsd-signature-type tsd-kind-class">default</a><ul class="tsd-hierarchy"><li><span class="target">default</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/keyboard-binding-ui-handler.ts#L9">src/ui/settings/keyboard-binding-ui-handler.ts:9</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="ui_settings_keyboard_binding_ui_handler.default.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="ui_settings_keyboard_binding_ui_handler.default.html#actionBg" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action<wbr/>Bg</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#actionLabel" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action<wbr/>Label</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#actionsContainer" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>actions<wbr/>Container</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#active" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>active</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#buttonPressed" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>button<wbr/>Pressed</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#cancelFn" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancel<wbr/>Fn</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#cancelLabel" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancel<wbr/>Label</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#countdownTimer" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>countdown<wbr/>Timer</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#cursor" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cursor</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#listening" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>listening</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#mode" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mode</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#newButtonIcon" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>new<wbr/>Button<wbr/>Icon</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#optionSelectBg" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>option<wbr/>Select<wbr/>Bg</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#optionSelectContainer" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>option<wbr/>Select<wbr/>Container</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#scene" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#swapText" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>swap<wbr/>Text</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#target" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#targetButtonIcon" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target<wbr/>Button<wbr/>Icon</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#timeLeftAutoClose" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time<wbr/>Left<wbr/>Auto<wbr/>Close</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#timerText" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timer<wbr/>Text</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#titleBg" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>title<wbr/>Bg</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#unlockText" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>unlock<wbr/>Text</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="ui_settings_keyboard_binding_ui_handler.default.html#clear" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#getCursor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Cursor</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#getSelectedDevice" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Device</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#getTextColor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Text<wbr/>Color</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#getUi" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ui</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#getWindowHeight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Window<wbr/>Height</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#getWindowWidth" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Window<wbr/>Width</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#manageAutoCloseTimer" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>manage<wbr/>Auto<wbr/>Close<wbr/>Timer</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#onInputDown" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Input<wbr/>Down</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#onKeyDown" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Key<wbr/>Down</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#processInput" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>process<wbr/>Input</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#setCursor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Cursor</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#setup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setup</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#show" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show</span></a>
<a href="ui_settings_keyboard_binding_ui_handler.default.html#swapAction" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>swap<wbr/>Action</span></a>
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_default" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ui_settings_keyboard_binding_ui_handler.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#constructor.new_default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">mode</span>: <a href="../enums/ui_ui.Mode.html" class="tsd-signature-type tsd-kind-enum">Mode</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="ui_settings_keyboard_binding_ui_handler.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><p>Overrides <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/keyboard-binding-ui-handler.ts#L11">src/ui/settings/keyboard-binding-ui-handler.ts:11</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="actionBg" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>action<wbr/>Bg</span><a href="#actionBg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">action<wbr/>Bg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">NineSlice</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#actionBg">actionBg</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L19">src/ui/settings/abstract-binding-ui-handler.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="actionLabel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>action<wbr/>Label</span><a href="#actionLabel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">action<wbr/>Label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Text</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#actionLabel">actionLabel</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L26">src/ui/settings/abstract-binding-ui-handler.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="actionsContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>actions<wbr/>Container</span><a href="#actionsContainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">actions<wbr/>Container</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#actionsContainer">actionsContainer</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L15">src/ui/settings/abstract-binding-ui-handler.ts:15</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="active" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>active</span><a href="#active" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">active</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#active">active</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/ui-handler.ts#L13">src/ui/ui-handler.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="buttonPressed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>button<wbr/>Pressed</span><a href="#buttonPressed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">button<wbr/>Pressed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#buttonPressed">buttonPressed</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L30">src/ui/settings/abstract-binding-ui-handler.ts:30</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="cancelFn" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>cancel<wbr/>Fn</span><a href="#cancelFn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cancel<wbr/>Fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">boolean</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="cancelFn.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">boolean</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">boolean</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#cancelFn">cancelFn</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L37">src/ui/settings/abstract-binding-ui-handler.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="cancelLabel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>cancel<wbr/>Label</span><a href="#cancelLabel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cancel<wbr/>Label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Text</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#cancelLabel">cancelLabel</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L27">src/ui/settings/abstract-binding-ui-handler.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="countdownTimer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>countdown<wbr/>Timer</span><a href="#countdownTimer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">countdown<wbr/>Timer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#countdownTimer">countdownTimer</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L41">src/ui/settings/abstract-binding-ui-handler.ts:41</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="cursor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>cursor</span><a href="#cursor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cursor</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#cursor">cursor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/ui-handler.ts#L12">src/ui/ui-handler.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="listening" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>listening</span><a href="#listening" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">listening</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#listening">listening</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L29">src/ui/settings/abstract-binding-ui-handler.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="mode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>mode</span><a href="#mode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#mode">mode</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/ui-handler.ts#L11">src/ui/ui-handler.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="newButtonIcon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>new<wbr/>Button<wbr/>Icon</span><a href="#newButtonIcon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">new<wbr/>Button<wbr/>Icon</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#newButtonIcon">newButtonIcon</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L33">src/ui/settings/abstract-binding-ui-handler.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="optionSelectBg" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>option<wbr/>Select<wbr/>Bg</span><a href="#optionSelectBg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">option<wbr/>Select<wbr/>Bg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">NineSlice</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#optionSelectBg">optionSelectBg</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L20">src/ui/settings/abstract-binding-ui-handler.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="optionSelectContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>option<wbr/>Select<wbr/>Container</span><a href="#optionSelectContainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">option<wbr/>Select<wbr/>Container</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#optionSelectContainer">optionSelectContainer</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L14">src/ui/settings/abstract-binding-ui-handler.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>scene</span><a href="#scene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scene</span><span class="tsd-signature-symbol">:</span> <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#scene">scene</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/ui-handler.ts#L10">src/ui/ui-handler.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="swapText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>swap<wbr/>Text</span><a href="#swapText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">swap<wbr/>Text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Text</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#swapText">swapText</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L25">src/ui/settings/abstract-binding-ui-handler.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="target" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>target</span><a href="#target" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">target</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#target">target</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L44">src/ui/settings/abstract-binding-ui-handler.ts:44</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="targetButtonIcon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>target<wbr/>Button<wbr/>Icon</span><a href="#targetButtonIcon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">target<wbr/>Button<wbr/>Icon</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#targetButtonIcon">targetButtonIcon</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L34">src/ui/settings/abstract-binding-ui-handler.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="timeLeftAutoClose" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>time<wbr/>Left<wbr/>Auto<wbr/>Close</span><a href="#timeLeftAutoClose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time<wbr/>Left<wbr/>Auto<wbr/>Close</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 5</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#timeLeftAutoClose">timeLeftAutoClose</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L40">src/ui/settings/abstract-binding-ui-handler.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="timerText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>timer<wbr/>Text</span><a href="#timerText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">timer<wbr/>Text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Text</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#timerText">timerText</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L24">src/ui/settings/abstract-binding-ui-handler.ts:24</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="titleBg" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>title<wbr/>Bg</span><a href="#titleBg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">title<wbr/>Bg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">NineSlice</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#titleBg">titleBg</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L18">src/ui/settings/abstract-binding-ui-handler.ts:18</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="unlockText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>unlock<wbr/>Text</span><a href="#unlockText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">unlock<wbr/>Text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Text</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#unlockText">unlockText</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L23">src/ui/settings/abstract-binding-ui-handler.ts:23</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="clear.clear-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clear.clear-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Clear the UI elements and state.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#clear">clear</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L223">src/ui/settings/abstract-binding-ui-handler.ts:223</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getCursor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Cursor</span><a href="#getCursor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getCursor.getCursor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Cursor</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getCursor.getCursor-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#getCursor">getCursor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/ui-handler.ts#L42">src/ui/ui-handler.ts:42</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSelectedDevice" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Selected<wbr/>Device</span><a href="#getSelectedDevice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getSelectedDevice.getSelectedDevice-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Selected<wbr/>Device</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#getSelectedDevice.getSelectedDevice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/keyboard-binding-ui-handler.ts#L33">src/ui/settings/keyboard-binding-ui-handler.ts:33</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTextColor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Text<wbr/>Color</span><a href="#getTextColor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTextColor.getTextColor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Text<wbr/>Color</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">style</span>, <span class="tsd-kind-parameter">shadow</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getTextColor.getTextColor-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">style</span>: <a href="../enums/ui_text.TextStyle.html" class="tsd-signature-type tsd-kind-enum">TextStyle</a></span></li><li><span><span class="tsd-kind-parameter">shadow</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#getTextColor">getTextColor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/ui-handler.ts#L38">src/ui/ui-handler.ts:38</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getUi" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Ui</span><a href="#getUi" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getUi.getUi-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Ui</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ui_ui.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#getUi.getUi-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="ui_ui.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#getUi">getUi</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/ui-handler.ts#L34">src/ui/ui-handler.ts:34</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getWindowHeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Window<wbr/>Height</span><a href="#getWindowHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getWindowHeight.getWindowHeight-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Window<wbr/>Height</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getWindowHeight.getWindowHeight-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the height of the window.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The window height.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#getWindowHeight">getWindowHeight</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L153">src/ui/settings/abstract-binding-ui-handler.ts:153</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getWindowWidth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Window<wbr/>Width</span><a href="#getWindowWidth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getWindowWidth.getWindowWidth-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Window<wbr/>Width</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getWindowWidth.getWindowWidth-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the width of the window.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The window width.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#getWindowWidth">getWindowWidth</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L144">src/ui/settings/abstract-binding-ui-handler.ts:144</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="manageAutoCloseTimer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>manage<wbr/>Auto<wbr/>Close<wbr/>Timer</span><a href="#manageAutoCloseTimer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="manageAutoCloseTimer.manageAutoCloseTimer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">manage<wbr/>Auto<wbr/>Close<wbr/>Timer</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#manageAutoCloseTimer.manageAutoCloseTimer-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#manageAutoCloseTimer">manageAutoCloseTimer</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L101">src/ui/settings/abstract-binding-ui-handler.ts:101</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="onInputDown" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>on<wbr/>Input<wbr/>Down</span><a href="#onInputDown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="onInputDown.onInputDown-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">on<wbr/>Input<wbr/>Down</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">buttonIcon</span>, <span class="tsd-kind-parameter">assignedButtonIcon</span>, <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#onInputDown.onInputDown-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Handle input down events.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">buttonIcon</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The icon of the button that was pressed.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">assignedButtonIcon</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The icon of the button that is assigned.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The type of button press.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#onInputDown">onInputDown</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L244">src/ui/settings/abstract-binding-ui-handler.ts:244</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="onKeyDown" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>on<wbr/>Key<wbr/>Down</span><a href="#onKeyDown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="onKeyDown.onKeyDown-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">on<wbr/>Key<wbr/>Down</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#onKeyDown.onKeyDown-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/keyboard-binding-ui-handler.ts#L37">src/ui/settings/keyboard-binding-ui-handler.ts:37</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="processInput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>process<wbr/>Input</span><a href="#processInput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="processInput.processInput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">process<wbr/>Input</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">button</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#processInput.processInput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Process the input for the given button.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">button</span>: <a href="../enums/enums_buttons.Button.html" class="tsd-signature-type tsd-kind-enum">Button</a></span><div class="tsd-comment tsd-typography"><p>The button to process.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the input was processed successfully.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#processInput">processInput</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L163">src/ui/settings/abstract-binding-ui-handler.ts:163</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setCursor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Cursor</span><a href="#setCursor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setCursor.setCursor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Cursor</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cursor</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#setCursor.setCursor-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set the cursor to the specified position.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">cursor</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The cursor position to set.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the cursor was set successfully.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#setCursor">setCursor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L204">src/ui/settings/abstract-binding-ui-handler.ts:204</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setup" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setup</span><a href="#setup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setup.setup-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setup</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setup.setup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Setup UI elements.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#setup">setup</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/keyboard-binding-ui-handler.ts#L16">src/ui/settings/keyboard-binding-ui-handler.ts:16</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="show" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>show</span><a href="#show" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="show.show-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">show</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#show.show-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Show the UI with the provided arguments.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Arguments to be passed to the show method.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if successful.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#show">show</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/abstract-binding-ui-handler.ts#L120">src/ui/settings/abstract-binding-ui-handler.ts:120</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="swapAction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>swap<wbr/>Action</span><a href="#swapAction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="swapAction.swapAction-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">swap<wbr/>Action</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#swapAction.swapAction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Overrides <a href="ui_settings_abstract_binding_ui_handler.default.html">default</a>.<a href="ui_settings_abstract_binding_ui_handler.default.html#swapAction">swapAction</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0e794fe2fc2cc586e72ee10da8c64d25bd119f7c/src/ui/settings/keyboard-binding-ui-handler.ts#L64">src/ui/settings/keyboard-binding-ui-handler.ts:64</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#actionBg" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action<wbr/>Bg</span></a><a href="#actionLabel" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>action<wbr/>Label</span></a><a href="#actionsContainer" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>actions<wbr/>Container</span></a><a href="#active" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>active</span></a><a href="#buttonPressed" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>button<wbr/>Pressed</span></a><a href="#cancelFn" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancel<wbr/>Fn</span></a><a href="#cancelLabel" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancel<wbr/>Label</span></a><a href="#countdownTimer" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>countdown<wbr/>Timer</span></a><a href="#cursor" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cursor</span></a><a href="#listening" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>listening</span></a><a href="#mode" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mode</span></a><a href="#newButtonIcon" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>new<wbr/>Button<wbr/>Icon</span></a><a href="#optionSelectBg" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>option<wbr/>Select<wbr/>Bg</span></a><a href="#optionSelectContainer" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>option<wbr/>Select<wbr/>Container</span></a><a href="#scene" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a><a href="#swapText" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>swap<wbr/>Text</span></a><a href="#target" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target</span></a><a href="#targetButtonIcon" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target<wbr/>Button<wbr/>Icon</span></a><a href="#timeLeftAutoClose" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time<wbr/>Left<wbr/>Auto<wbr/>Close</span></a><a href="#timerText" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timer<wbr/>Text</span></a><a href="#titleBg" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>title<wbr/>Bg</span></a><a href="#unlockText" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>unlock<wbr/>Text</span></a><a href="#clear" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear</span></a><a href="#getCursor" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Cursor</span></a><a href="#getSelectedDevice" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Selected<wbr/>Device</span></a><a href="#getTextColor" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Text<wbr/>Color</span></a><a href="#getUi" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ui</span></a><a href="#getWindowHeight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Window<wbr/>Height</span></a><a href="#getWindowWidth" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Window<wbr/>Width</span></a><a href="#manageAutoCloseTimer" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>manage<wbr/>Auto<wbr/>Close<wbr/>Timer</span></a><a href="#onInputDown" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Input<wbr/>Down</span></a><a href="#onKeyDown" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Key<wbr/>Down</span></a><a href="#processInput" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>process<wbr/>Input</span></a><a href="#setCursor" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Cursor</span></a><a href="#setup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setup</span></a><a href="#show" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show</span></a><a href="#swapAction" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>swap<wbr/>Action</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>pokemon-rogue-battle</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>