About components

Flex includes a component-based development model that you use to develop your application and its user interface. You can use the prebuilt components included with Flex, you can extend components to add new properties and methods, and you can create new components as required by your application.

Components are extremely flexible and provide you with a great amount of control over the component's appearance, how the component reacts to user interactions, the font and font size of any text included in the component, the size of the component in the application, and many other characteristics.

This chapter contains an overview of many of the characteristics of components, including the following:

Styles Characteristics, such as font, font size, and text alignment. These are the same styles that you define and use with Cascading Style Sheets (CSS).

Behaviors Visible or audible changes to the component triggered by an application or user action. Examples of behaviors are moving or resizing a component based on a mouse click.

Events Application or user actions that require a component response. Events include component creation, mouse actions such as a mouse over, and button clicks.

Skins Symbols that control a component's appearance.

Size Height and width of a component. All components have a default size. You can use the default size, specify your own size, or let Flex resize a component as part of laying out your application.


Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000090.htm