Flex4.6 用Lable自定义LinkButton

简介:
package com.waylau.eagleos.components
{
    import spark.components.Label;

    public class LinkButton extends Label
    {
        public function LinkButton()
        {
            super();

            this.useHandCursor = true ;
            this.buttonMode = true ;
            this.mouseChildren = false ;

            this.setStyle("textDecoration","underline");
        }
    }
}

目录
相关文章
|
8天前
|
前端开发 JavaScript
Class 与 Style 绑定1
Class 与 Style 绑定1
|
8天前
|
前端开发 JavaScript
Class 与 Style 绑定2
Class 与 Style 绑定2
|
3月前
|
前端开发
|
6月前
|
人工智能 前端开发 算法
picker选择器出现object解决办法
picker选择器出现object解决办法
|
9月前
|
JavaScript 前端开发 索引
|
12月前
|
前端开发 JavaScript
class与style绑定
class与style绑定
77 0
|
容器
Center 中的 widthFactor 与 heightFactor 属性
Center 中的 widthFactor 与 heightFactor 属性
120 0
Center 中的 widthFactor 与 heightFactor 属性
|
Android开发 数据格式 XML
深入理解Android 自定义attr Style styleable以及其应用
相信每一位从事Android开发的猿都遇到过需要自己去自定义View的需求,如果想通过xml指定一些我们自己需要的参数,就需要自己声明一个styleable,并在里面自己定义一些attr属性,这个过程相信大家都比较了解。当然,属性其实也不一定需要和View配合使用,比如我想通过一个Theme中的style对一个库进行一些简单参数的配置,这应该怎么做呢?我今天在封装一个库时
2132 0
|
前端开发 Java 开发者
Display 属性 | 学习笔记
快速学习 Display 属性。
110 0