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

大约有 44 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0115 秒)

1. laya.ui.CheckBox_API3.0 [ 100%]

...ckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; import laya.utils.Handler; public class CheckBox_Example { public function CheckBox_Example() { Laya.init(640, 800...

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

2. laya.ui.Radio_API3.0 [ 93%]

... Radio 控件。 see laya.ui.RadioGroup Hierarchy Button Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierar...

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

3. laya.ui.Button_API3.0 [ 90%]

...点击了!") } } Hierarchy UIComponent Button CheckBox Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierar...

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

4. laya.ui.RadioGroup_API3.0 [ 84%]

...radioGroup.space = 10;//设置 radioGroup 的项间隔距离。 radioGroup.selectHandler = new Handler(this, onSelect);//设置 radioGroup 的选择项发生改变时执行的处理器。 Laya.stage.addChild(radioGroup);//将 radioGroup 添加到显示列表。 } private function onSelect(index:int)...

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

5. laya.ui.Tab_API3.0 [ 84%]

.../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_Example() { Laya.init(640, ...

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

6. laya.ui.ViewStack_API3.0 [ 82%]

...hildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect selectedIndex selection setIndexHandler skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent a...

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

7. laya.ui.UIGroup_API3.0 [ 80%]

...nGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction d...

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

8. laya.ui.List_API3.0 [ 79%]

...t 的列表数据源。 list.pos(100, 100);//设置 list 的位置。 list.selectEnable = true;//设置 list 可选。 list.selectHandler = new Handler(this, onSelect);//设置 list 改变选择项执行的处理器。 Laya.stage.addChild(list);//将 list 添加到显示列表。 } private function ...

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

9. laya.ui.TextArea_API3.0 [ 72%]

...hildren removeSelf render repaint replaceChild runCallLater scale scrollTo select setChildIndex setGraphics setSelection setSelfBounds setVar set_anchorX set_anchorY set_bottom set_dataSource set_height set_scaleX set_scaleY set_top set_transform set_visible set_width size skew startDrag stopDrag ti...

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

10. laya.ui.TextInput_API3.0 [ 72%]

...e removeChildren removeSelf render repaint replaceChild runCallLater scale select setChildIndex setGraphics setSelection setSelfBounds setVar set_anchorX set_anchorY set_bottom set_dataSource set_height set_scaleX set_scaleY set_top set_transform set_visible set_width size skew startDrag stopDrag ti...

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