• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 89 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0072 秒)

21. laya.ui.RadioGroup_API3.0 [ 54%]

... } private function onSelect(index:int):void { trace("当前选择的单选按钮索引: index= ", index); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/radio.png"], laya.utils.H...

来源: Laya3.0_api 发布时间: 20231115

22. laya.ui.Tab_API3.0 [ 52%]

...ed Menu Globals "laya/ui/Tab" Tab Class Tab Tab 组件用来定义选项卡按钮组。 * 属性:selectedIndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Exa...

来源: Laya3.0_api 发布时间: 20231115

23. laya.ui.UIGroup_API3.0 [ 51%]

...et labelBold(value: boolean): void Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelColors(): string set labelCol...

来源: Laya3.0_api 发布时间: 20231115

24. laya.ui.Dialog [ 49%]

...会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 Dialog comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Spri...

来源: laya_api 发布时间: 20170929

25. laya.ui.Button [ 49%]

... ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properti...

来源: laya_api 发布时间: 20170929

26. laya.ui.Button [ 48%]

... ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properti...

来源: Laya2.0_api 发布时间: 20190513

27. laya.ui.Dialog [ 48%]

...会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 Dialog  closeType : String关闭类型,点击name为"close","cancel","sure","no","yes","no"的按钮时,会自动记录点击按钮的名称Dialog customRenderEnable : Boolean[write-o...

来源: Laya2.0_api 发布时间: 20190513

28. laya.ui.CheckBox [ 48%]

...conOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态...

来源: laya_api 发布时间: 20170929

29. laya.ui.CheckBox [ 48%]

...conOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态...

来源: Laya2.0_api 发布时间: 20190513

30. laya.ui.ComboBox_API3.0 [ 48%]

...t labelBold(value: boolean): void Defined in laya/ui/ComboBox.ts:686 表示按钮文本标签是否为粗体字。 see laya.display.Text#bold Returns boolean Defined in laya/ui/ComboBox.ts:690 表示按钮文本标签是否为粗体字。 see laya.display.Text#bold Parameters value: boolean Returns ...

来源: Laya3.0_api 发布时间: 20231115