Module: JFButtons

Methods


<static> focusChanged()

Change opacity of the highlighted menu item based on focus

Source:
Returns:
Type
void

<static> highlightSelected(index [, animate])

Highlight selected menu option

Parameters:
Name Type Argument Default Description
index integer
animate dynamic <optional>
true
Source:
Returns:
Type
void

<static> init()

Source:
Returns:
Type
void

<static> onKeyEvent(key, press)

Parameters:
Name Type Description
key string
press boolean
Source:
Returns:
Type
boolean

<static> renderChanged()

When options are fully displayed, set focus and selected option

Source:
Returns:
Type
void

<static> selectedIndexChanged()

When Selected Index set, ensure it is the one Focused

Source:
Returns:
Type
void

<static> showButtons()

Source:
Returns:
Type
void

<static> updateButtons()

Source:
Returns:
Type
void