The code for the FXG component is similar to that of an MXML component.
FXG组件的代码与MXML 组件的代码类似。
Flex components that extend the Flex UIComponent base class allow you to set common styles as properties inline-in other words, within the MXML component declaration tag (see Listing 1).
扩展了FlexUIComponent基类的Flex组件允许作为内联属性设置常见样式—换言之,即在MXML组件声明标签内(参见清单1)。
MXML, a declarative XML-based language, is used to represent UI layout and behaviors, and each MXML file is a separate component.
MXML是一种基于XML的声明式语言,用来表示UI布局和行为,并且每个MXML文件都是一个单独的组件。
For each component, we must consider the users' needs, decide on the UI elements to meet those needs, and take advantage of MXML in Flex to easily create the layout.
对于每一个组成部分,我们必须考虑到用户的需要,来决定UI元素,以满足这些需要,并充分利用Flex中的MXML来轻松地创建布局。
The code sample in Listing 1 demonstrates MXML markup for a Flex DataGrid component.
列表1中的代码示例演示了FlexDataGrid组件的MXML标记。
Each MXML view component has a corresponding PM.
每个MXML视图组件都有对应的PM。
Each MXML view component has a corresponding PM.
每个MXML视图组件都有对应的PM。
应用推荐