In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the changes in the Flex4beta effect. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Changes in the Flex4beta effect
The architecture of Flex4beta effect has been improved significantly. Although Halo effects can only be used for non-UIComponent-based controls, Spark effects can be used for any target, including new graphics primitives in the frame. All of these effect classes are included in spark.effects.*package. Because Spark effects are available for Halo components, Spark components, and graphics primitives, Adobe recommends that you use Spark effects classes in future applications.
I won't dwell on this issue, because you can learn more about the new features in the effects class from the effects article in ChetHaase's AdobeFlex4SDKbeta.
Changes in layout
Previous versions of Flex defined component and container layouts in individual controls. As a result, components such as List, TileList, and HorizontalList share the same functionality outside of the layout. Their layout logic is still defined in these component classes. In Flex4beta, the layout has been separated from the components. Spark components such as Application, List, ButtonBar, and Panel can now define the layout declaratively. Of all the components, the Group class is responsible for managing the inclusion, while the layout of the children of Group is delegated to the relevant layout objects. In addition to FXG graphic primitives, the layout also supports Spark and Halo components. You can even change the layout at run time.
As a developer, you can easily write custom layouts and cut them in or out of individual components. The following is an example of defining a vertical List, a horizontal List, and a tile List.
Vertical List (the default layout for SparkList is VerticalLayout):
Horizontal List:
Collage List:
As mentioned earlier, the Flex4beta architecture is designed to provide building blocks for developers to choose functionality according to their needs. By default, virtualization and scrolling are turned off. To add scroll bar options on Group and turn on virtualization, you need to:
1) set useVirtualLayout to true2 on the layout object) add a Scroller component to the Group.
The following is an example of using virtualization and scrolling with SparkPanel:
Thank you for reading! This is the end of the article on "what is the change in the Flex4beta effect". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.