zoukankan      html  css  js  c++  java
  • Flex组件样式

    Application{
        backgroundColors:#000000,#3f3f3f;
        backgroundImage:Embed(source="/style/background.jpg");
        backgroundSize:"100%";
        fontSize:14;
    }
    
    Button{
        upSkin:Embed(source="");//弹起时
        overSkin:Embed(source="");
        downSkin:Embed(source="");
        disabledSkin:Embed(source="");//不可用时的效果
        color:#000000;//字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    ButtonBar{
        buttonStyleName:"buttonBarButton";//设置按钮样式
        firstButtonStyleName:"firstButtonBarButton"//设置第一个按钮样式
        lastButtonStyleName:""
    }
    
    ColorPicker{  //颜色选择器
        disabledSkin:Embed(source="");
        downSkin:Embed(source="");
        overSkin:Embed(source="");
        upSkin:Embed(source="");
    }
    
    ComboBox{  
        downSkin:Embed(source="");
        overSkin:Embed(source="");
        upSkin:Embed(source="");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
        dropDownStyleName:"dropDown";//设置下拉样式
        highlightAlphas:.5,.8;//设置高光透明度
        fontWeight:normal;//设置字体粗细
    }
    .dropDown{
        backgroundColor:
        backgroundAlpha:.9;
        borderStyle:solid;//设置边框样式
        borderThickness:0;//设置边框宽度
        borderColor:
        roundedCorners:5;//设置圆角度
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
        rollOverColor:#000000;//移至组件时的颜色
    }
    
    DataGrid{  //以表格形式显示数据
        headerStyleName:"dataGridHeader";//标题样式
        headerColors:#,#;  //标题文本颜色
        rollOverColor:
        selectionColor:
        disabledColor:
        selectiondDisabledColor:
        alternatingItemColors:#,#;//改变中的项的颜色
    }
    .dataGridHeader{
        color:
    }
    
    ProgressBar{  //进度条
        barSkin:Embed(source="");//进度条
        trackSkin:Embed(source="");//轨道
    }
    
    Image{
        brokenImageSkin:Embed("");//加载出错时的效果
    }
    
    MenuBar{
        fillColor:  //填充颜色
        backgroundColor:
        backgroundAlpha:
        alpha:  //组件透明度
        textSelectedColor:
    }
    
    RadioButton{  //单选
        disabledIcon:Embed("");
        downIcon:Embed("");
        overIcon:Embed("");
        upIcon:Embed("");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    CheckBox{  //多选
        disabledIcon:Embed("");
        downIcon:Embed("");
        overIcon:Embed("");
        upIcon:Embed("");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    HSlider{  //横向滚动条
        thumbDisabledSkin:Embed(source="");//指针不可用时
        thumbDownSkin:Embed(source="");
        thumbOverSkin:Embed(source="");
        thumbUpSkin:Embed(source="");
        trackHightlightSkin:Embed(source="");//轨道高光效果
        trackSkin:Embed(source="");//轨道效果
    }
    
    TitleWindow{
        closeButtonDisabledSkin:Embed("");
        closeButtonDownSkin:Embed("");
        closeButtonOverSkin:Embed("");
        closeButtonUpSkin:Embed("");
    
    
    }
    

  • 相关阅读:
    SpringMVC之五:自定义DispatcherServlet配置及配置额外的 servlets 和 filters
    DTP模型之一:(XA协议之三)MySQL数据库分布式事务XA优缺点与改进方案
    Spring Bean基本管理--bean注入方式汇总
    类装载器ClassLoader
    spring中的BeanFactory与ApplicationContext的作用和区别?
    Spring IoC,IoC原理
    mybatis实战教程(mybatis in action)之九:mybatis 代码生成工具的使用
    session.write类型引发的思考---Mina Session.write流程探索.doc--zhengli
    MyBatis的association示例——MyBatis学习笔记之三
    MyBatis一对多双向关联——MyBatis学习笔记之七
  • 原文地址:https://www.cnblogs.com/frostbelt/p/1800381.html
Copyright © 2011-2022 走看看