Search
Preparing search index...
The search index is not available
@nativewrappers/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nativewrappers/client
UIMenuPercentagePanel
Class UIMenuPercentagePanel
Hierarchy
AbstractUIMenuPanel
UIMenuPercentagePanel
Index
Constructors
constructor
Properties
_active
Bar
_background
Bar
_last
Percentage
_max
Text
_min
Text
_pressed
_title
background
enabled
id
parent
Item
Accessors
Enabled
Height
Max
Text
Min
Text
Parent
Item
Parent
Menu
Percentage
Title
Methods
_get
Progress
_process
Controls
draw
set
Vertical
Position
update
Parent
Item
Constructors
constructor
new UIMenu
Percentage
Panel
(
title
?:
string
, percentage
?:
number
, minText
?:
string
, maxText
?:
string
)
:
UIMenuPercentagePanel
Parameters
title:
string
= ''
percentage:
number
= 0
Optional
minText:
string
Optional
maxText:
string
Returns
UIMenuPercentagePanel
Properties
Private
Readonly
_active
Bar
_active
Bar
:
Rectangle
Private
Readonly
_background
Bar
_background
Bar
:
Rectangle
Private
_last
Percentage
_last
Percentage
:
number
Private
Readonly
_max
Text
_max
Text
:
Text
Private
Readonly
_min
Text
_min
Text
:
Text
Private
_pressed
_pressed
:
boolean
= false
Private
Readonly
_title
_title
:
Text
Protected
Readonly
background
background
:
Sprite
Protected
enabled
enabled
:
boolean
= true
Readonly
id
id
:
string
= ...
Protected
parent
Item
parent
Item
:
undefined
|
UIMenuItem
Accessors
Enabled
get
Enabled
(
)
:
boolean
set
Enabled
(
value
:
boolean
)
:
void
Returns
boolean
Parameters
value:
boolean
Returns
void
Height
get
Height
(
)
:
number
Returns
number
Max
Text
get
MaxText
(
)
:
string
set
MaxText
(
value
:
string
)
:
void
Returns
string
Parameters
value:
string
Returns
void
Min
Text
get
MinText
(
)
:
string
set
MinText
(
value
:
string
)
:
void
Returns
string
Parameters
value:
string
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
Percentage
get
Percentage
(
)
:
number
set
Percentage
(
value
:
number
)
:
void
Returns
number
Parameters
value:
number
Returns
void
Title
get
Title
(
)
:
string
set
Title
(
value
:
string
)
:
void
Returns
string
Parameters
value:
string
Returns
void
Methods
Private
_get
Progress
_get
Progress
(
)
:
number
Returns
number
Private
_process
Controls
_process
Controls
(
)
:
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
Percentage
Panel
constructor
_active
Bar
_background
Bar
_last
Percentage
_max
Text
_min
Text
_pressed
_title
background
enabled
id
parent
Item
Enabled
Height
Max
Text
Min
Text
Parent
Item
Parent
Menu
Percentage
Title
_get
Progress
_process
Controls
draw
set
Vertical
Position
update
Parent
Item
Generated using
TypeDoc