Flex UI组件

因公司自己研发了一套工作流程引擎,并且开发了基于Eclipse的可视化流程定制的plugin,但是客户抱怨说需要能在web页面上定制流程。没办法,只好选择Flex来开发啦。于是想把Flex的学习心得记录下来。

在网上搜索到了许多优美的Flex component,跟大伙儿分享一下啦

第一个是Google的flexlib

google提供的flexlib,这真是一个好东西,现在最新的版本是2.4版

里面封装了许多超cool的Flex component,先共享几个给大家(新手)看看啦

Flexlib-fire 火焰效果,是不是有点像八神的苍炎呢?

<flexlib:Fire delay="{dStep.value}"
      detail="{detail.value}"
      colors="{[color1.selectedColor, color2.selectedColor]}"
      width="{wStep.value}" height="{hStep.value}"   
      xSpeed="{xStep.value}" ySpeed="{yStep.value}" 
      wFactor="{wFStep.value}" hFactor="{hFStep.value}" 
      />

Flex UI组件_第1张图片


2.TreeGrid

<flexlib:TreeGrid 
    styleName="datagridStyle"
    headerStyleName="dataGridHeader"
    width="100%" height="100%" 
    dataProvider="{ dataProviderXMLList }"
    paddingLeft="25"
    verticalTrunks="none"
    disclosureClosedIcon="@Embed(source='../assets/tree_openNode.png')"
    disclosureOpenIcon="@Embed(source='../assets/tree_closeNode.png')">
  
    <flexlib:columns>
     <flexlib:TreeGridColumn dataField="@name" headerText="name" />
     <mx:DataGridColumn dataField="@desc" headerText="desc" />
    </flexlib:columns>
   </flexlib:TreeGrid>


Flex UI组件_第2张图片

3.HAccordion

<flexlib:HAccordion id="accordion" width="100%" height="100%">
<mx:VBox label="Accordion Button for Panel 1" horizontalScrollPolicy="off">
<mx:Label text="Accordion container panel 1"/>
</mx:VBox>
<mx:VBox label="Accordion Button for Panel 2" horizontalScrollPolicy="off">
<mx:Label text="Accordion container panel 2"/>
</mx:VBox>
<mx:VBox label="Accordion Button for Panel 3" horizontalScrollPolicy="off">
<mx:Label text="Accordion container panel 3"/>
</mx:VBox>
</flexlib:HAccordion>
<flexlib:VAccordion id="accordion2" ">
<mx:VBox label="Accordion Button for Panel 1">
<mx:Label text="Accordion container panel 1"/>
</mx:VBox>
<mx:VBox label="Accordion Button for Panel 2">
<mx:Label text="Accordion container panel 2"/>
</mx:VBox>
<mx:VBox label="Accordion Button for Panel 3">
<mx:Label text="Accordion container panel 3"/>
</mx:VBox>
</flexlib:VAccordion>

Flex UI组件_第3张图片


Google flexlib
2.就皮肤来说,推荐一下Yahoo的skin

Yahoo Flex Skin

Flex UI组件_第4张图片


3.特效

Macromedia提供的六款Flex特效

切换效果

仿Mac弹出窗口效果

仿Mac界面

鱼眼效果Fisheye(给一个鱼眼效果的Fisheye特效图片吧)

Flex UI组件_第5张图片


拓扑图显示SpringGraph(上传几个我自己项目中的截图吧)


MDIWindow,多窗口显示配合立方体旋转


好累,其他的暂时不写啦

你可能感兴趣的:(eclipse,UI,Flex,Google,Yahoo)