Class: label
Class: label
language.label
多语言文本
Hierarchy
mk_language_base
↳
label
Table of contents
Properties
Accessors
Methods
- _reset_data
- _update_content
- _update_mark
- _set_type
- _set_type_s
- _init_data
- _init_event
- _event_switch_language
Properties
direction_adaptation_b
• direction_adaptation_b: boolean
= false
label 适配
Defined in
assets/@framework/language/component/mk_language_label.ts:30
_type_s
• Protected
_type_s: string
= ""
Overrides
mk_language_base._type_s
Defined in
assets/@framework/language/component/mk_language_label.ts:55
Accessors
type
• get
type(): number
Returns
number
Overrides
mk_language_base.type
Defined in
assets/@framework/language/component/mk_language_label.ts:32
• set
type(value_
): void
Parameters
Name | Type |
---|---|
value_ | number |
Returns
void
Overrides
mk_language_base.type
Defined in
assets/@framework/language/component/mk_language_label.ts:36
args_ss
• get
args_ss(): string
[]
参数
Returns
string
[]
Defined in
assets/@framework/language/component/mk_language_label.ts:45
• set
args_ss(value_ss_
): void
Parameters
Name | Type |
---|---|
value_ss_ | string [] |
Returns
void
Defined in
assets/@framework/language/component/mk_language_label.ts:49
Methods
_reset_data
▸ Protected
_reset_data(): void
重置数据
Returns
void
Overrides
mk_language_base._reset_data
Defined in
assets/@framework/language/component/mk_language_label.ts:66
_update_content
▸ Protected
_update_content(): void
Returns
void
Overrides
mk_language_base._update_content
Defined in
assets/@framework/language/component/mk_language_label.ts:83
_update_mark
▸ Protected
_update_mark(): void
Returns
void
Overrides
mk_language_base._update_mark
Defined in
assets/@framework/language/component/mk_language_label.ts:89
_set_type
▸ Protected
_set_type(value_
): void
Parameters
Name | Type |
---|---|
value_ | number |
Returns
void
Overrides
mk_language_base._set_type
Defined in
assets/@framework/language/component/mk_language_label.ts:93
_set_type_s
▸ Protected
_set_type_s(value_s_
): void
Parameters
Name | Type |
---|---|
value_s_ | string |
Returns
void
Overrides
mk_language_base._set_type_s
Defined in
assets/@framework/language/component/mk_language_label.ts:98
_init_data
▸ Protected
_init_data(): void
Returns
void
Overrides
mk_language_base._init_data
Defined in
assets/@framework/language/component/mk_language_label.ts:111
_init_event
▸ Protected
_init_event(state_b_
): void
Parameters
Name | Type |
---|---|
state_b_ | boolean |
Returns
void
Overrides
mk_language_base._init_event
Defined in
assets/@framework/language/component/mk_language_label.ts:154
_event_switch_language
▸ Protected
_event_switch_language(): void
Returns
void
Overrides
mk_language_base._event_switch_language
Defined in
assets/@framework/language/component/mk_language_label.ts:227