Search
Preparing search index...
The search index is not available
@nativewrappers/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nativewrappers/client
UIMenuColorPanel
Class UIMenuColorPanel
Hierarchy
AbstractUIMenuPanel
UIMenuColorPanel
Index
Constructors
constructor
Properties
_bar
_colors
_index
_last
Color
_left
Arrow
_max
_min
_right
Arrow
_selected
Rectangle
_text
_title
_total
background
enabled
id
parent
Item
Accessors
Color
Colors
Enabled
Height
Index
Parent
Item
Parent
Menu
Title
Methods
_go
Left
_go
Right
_process
Controls
_refresh
Index
_update
Selection
_update
Text
draw
set
Vertical
Position
update
Parent
Item
Constructors
constructor
new UIMenu
Color
Panel
(
title
:
string
, colors
:
Color
[]
)
:
UIMenuColorPanel
Parameters
title:
string
colors:
Color
[]
Returns
UIMenuColorPanel
Properties
Private
_bar
_bar
:
Rectangle
[]
= []
Private
_colors
_colors
:
Color
[]
= []
Private
_index
_index
:
number
= 0
Private
_last
Color
_last
Color
:
Color
= Color.empty
Private
Readonly
_left
Arrow
_left
Arrow
:
Sprite
Private
_max
_max
:
number
= 8
Private
_min
_min
:
number
= 0
Private
Readonly
_right
Arrow
_right
Arrow
:
Sprite
Private
Readonly
_selected
Rectangle
_selected
Rectangle
:
Rectangle
Private
_text
_text
:
Text
Private
_title
_title
:
string
= ''
Private
_total
_total
:
number
= 9
Protected
Readonly
background
background
:
Sprite
Protected
enabled
enabled
:
boolean
= true
Readonly
id
id
:
string
= ...
Protected
parent
Item
parent
Item
:
undefined
|
UIMenuItem
Accessors
Color
get
Color
(
)
:
Color
set
Color
(
value
:
Color
)
:
void
Returns
Color
Parameters
value:
Color
Returns
void
Colors
get
Colors
(
)
:
Color
[]
set
Colors
(
value
:
Color
[]
)
:
void
Returns
Color
[]
Parameters
value:
Color
[]
Returns
void
Enabled
get
Enabled
(
)
:
boolean
set
Enabled
(
value
:
boolean
)
:
void
Returns
boolean
Parameters
value:
boolean
Returns
void
Height
get
Height
(
)
:
number
Returns
number
Index
get
Index
(
)
:
number
set
Index
(
value
:
number
)
:
void
Returns
number
Parameters
value:
number
Returns
void
Parent
Item
get
ParentItem
(
)
:
undefined
|
UIMenuItem
set
ParentItem
(
value
:
undefined
|
UIMenuItem
)
:
void
Returns
undefined
|
UIMenuItem
Parameters
value:
undefined
|
UIMenuItem
Returns
void
Parent
Menu
get
ParentMenu
(
)
:
undefined
|
Menu
Returns
undefined
|
Menu
Title
get
Title
(
)
:
string
set
Title
(
value
:
string
)
:
void
Returns
string
Parameters
value:
string
Returns
void
Methods
Private
_go
Left
_go
Left
(
)
:
void
Returns
void
Private
_go
Right
_go
Right
(
)
:
void
Returns
void
Private
_process
Controls
_process
Controls
(
)
:
void
Returns
void
Private
_refresh
Index
_refresh
Index
(
)
:
void
Returns
void
Private
_update
Selection
_update
Selection
(
preventUpdate
?:
boolean
)
:
void
Parameters
preventUpdate:
boolean
= false
Returns
void
Private
_update
Text
_update
Text
(
)
:
void
Returns
void
draw
draw
(
)
:
void
Returns
void
set
Vertical
Position
set
Vertical
Position
(
y
:
number
)
:
void
Parameters
y:
number
Returns
void
update
Parent
Item
update
Parent
Item
(
)
:
void
Returns
void
Exports
UIMenu
Color
Panel
constructor
_bar
_colors
_index
_last
Color
_left
Arrow
_max
_min
_right
Arrow
_selected
Rectangle
_text
_title
_total
background
enabled
id
parent
Item
Color
Colors
Enabled
Height
Index
Parent
Item
Parent
Menu
Title
_go
Left
_go
Right
_process
Controls
_refresh
Index
_update
Selection
_update
Text
draw
set
Vertical
Position
update
Parent
Item
Generated using
TypeDoc