Members

(static, constant) defaultIconSize

Spinner rendered smaller than 64px icon frame — icons have transparent padding so this matches the visible icon area

Default Value
  • 64

(static, constant) focusBorderOffset

Used for positioning calculations only (matches 6px border in 9-patch image); does NOT control actual border rendering

Default Value
  • 6

(static, constant) spinnerSize

Text extends 6px on each side to prevent label wrapping

Default Value
  • 42

(static, constant) textExtension

Used for positioning calculations only (matches 6px border in 9-patch image); does NOT control actual border rendering

Default Value
  • 12

Methods

(static) OnImageLoadStatusChanged(event) → {void}

Parameters:
NameTypeDescription
eventobject
Returns:
Type: 
void

(static) applyTheme() → {void}

Returns:
Type: 
void

(static) init() → {void}

Returns:
Type: 
void

(static) onBackgroundChanged() → {void}

Returns:
Type: 
void

(static) onEnabledChanged() → {void}

Returns:
Type: 
void

(static) onFocusChanged() → {void}

Returns:
Type: 
void

(static) onIconBackgroundChanged() → {void}

Returns:
Type: 
void

(static) onIconChanged() → {void}

Returns:
Type: 
void

(static) onLoadingChanged() → {void}

onLoadingChanged: Swap icon for a spinner while loading. Does NOT set enabled=false — button stays focusable. OK blocking is handled by JRButtonGroup.

Returns:
Type: 
void

(static) onPaddingChanged() → {void}

Returns:
Type: 
void

(static) onSelectedChanged() → {void}

Returns:
Type: 
void

(static) onTextChanged() → {void}

Returns:
Type: 
void

(static) setFocusBorderSize() → {void}

Returns:
Type: 
void

(static) setIconSize() → {void}

Returns:
Type: 
void

(static) updateButtonPositioning() → {void}

Updates button and text positioning based on textExtension constant This centers button elements under the wider text label

Returns:
Type: 
void