Members
(static, constant) BUTTON_TOP_MARGIN
- Default Value
- 20
(static, constant) DIALOG_HEIGHT
- Default Value
- 760
(static, constant) DIALOG_PADDING
- Default Value
- 40
(static, constant) DIALOG_WIDTH
Layout constants
- Default Value
- 1600
(static, constant) SCROLLBAR_MARGIN
- Default Value
- 8
(static, constant) SCROLLBAR_THUMB_WIDTH
- Default Value
- 12
(static, constant) SCROLLBAR_TRACK_WIDTH
- Default Value
- 3
(static, constant) SCROLL_STEP
- Default Value
- 150
(static, constant) SEPARATOR_Y
- Default Value
- 80
(static, constant) TEXT_TOP
- Default Value
- 115
(static, constant) TITLE_HEIGHT
- Default Value
- 50
Methods
(static) calculateScrollBounds() → {void}
Returns:
- Type:
- void
(static) init() → {void}
Returns:
- Type:
- void
(static) onFocusChanged() → {void}
Returns:
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
Parameters:
| Name | Type | Description |
|---|---|---|
key | string | |
press | boolean |
Returns:
- Type:
- boolean
(static) onOverviewChanged() → {void}
Returns:
- Type:
- void
(static) onTaglineChanged() → {void}
Dynamically creates or removes the tagline label based on tagline text
Returns:
- Type:
- void
(static) onTaglineRendered() → {void}
Tagline has rendered, recalculate scroll bounds to include tagline height
Returns:
- Type:
- void
(static) onTextRendered() → {void}
Once the text has rendered, calculate scroll bounds and scrollbar
Returns:
- Type:
- void
(static) onTitleChanged() → {void}
Returns:
- Type:
- void
(static) updateScrollThumb() → {void}
Updates the scroll thumb position to reflect the current scroll position
Returns:
- Type:
- void
(static) updateScrollbarFocus(isFocused) → {void}
Updates scrollbar thumb color based on focus state
Parameters:
| Name | Type | Description |
|---|---|---|
isFocused | boolean |
Returns:
- Type:
- void