MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS Manual de usuario Pagina 39

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 52
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 38
DescriptionTag
A combo box in the property sheet allows users
to pick true or false.
Inspectable: Boolean (true or false)
For example:
[Inspectable(type="Boolean")]
11.4 Naming component properties
For consistency with other Dashboards property sheets, use the following style conventions when
naming component properties:
Type
Use a plural ending to imply that you can have
more than one value.
For example (for an Array of labels to show on
a chart): chartLabels
Array
Include the word "color" at the end of your style
or property name.
For example (for a border color): borderColor
Color
11.5 Retain metadata required for the default property sheet (required)
Before you compile your project, you must add compiler arguments to ensure the Adobe Flex compiler
keeps the metadata required by the default property sheet:
From within your Adobe Flex project in Flex Builder:
1.
Click File > Properties.
2.
In the "Properties" dialog box, select Flex Compiler.
3.
Add the following additional compiler arguments to keep metadata for the Inspectable and Style
tags, as well as the CxInspectableList tag.
For example: -locale en_US -keep-as3-metadata+=Inspectable,Style,CxIn
spectableList
2013-05-0639
Appendix A: Dashboards Default Property Sheet API Reference
Vista de pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 51 52

Comentarios a estos manuales

Sin comentarios