大约有 36 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0203 秒)
...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
... 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
...点击了!") } } 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
...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
.../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
...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
...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
...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
...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
...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