JFButtons

Methods

(static) focusChanged() → {void}

Change opacity of the highlighted menu item based on focus

Source:

(static) highlightSelected(index, animateopt) → {void}

Highlight selected menu option

Parameters:
Name Type Attributes Default Description
index integer
animate dynamic <optional>
true
Source:

(static) init() → {void}

Source:

(static) onKeyEvent(key, press) → {boolean}

Parameters:
Name Type Description
key string
press boolean
Source:

(static) renderChanged() → {void}

When options are fully displayed, set focus and selected option

Source:

(static) selectedIndexChanged() → {void}

When Selected Index set, ensure it is the one Focused

Source:

(static) showButtons() → {void}

Source:

(static) updateButtons() → {void}

Source: