MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS Instrukcja Użytkownika Strona 37

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 52
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 36
"value" property changes.
*/
public function notifyValueChanged():void
{
var event:Event = PropertyChangeEvent
.createUpdateEvent(this, "value", null,
value);
dispatchEvent(event);
}
Setter function only
When the spreadsheet range value changes the value is passed to the property setter function.
For example:
[Bindable]
public function set value(val:Number):void
{
...
}
Both Getter and Setter functions
When the spreadsheet range value changes the value is passed to the property setter function, and
when the property value changes the value is written to the spreadsheet range.
For example:
[Bindable]
public function get value():Number
{
...
}
public function set value(val:Number):void
{
...
}
11.3 Customizing styles and properties
To determine which properties and styles to make available to users, the default property sheet looks
for specific metadata tags defined in the SWF, including CxInspectableList, which hides properties.
You can also use the standard Adobe Flex Inspectable and Style tags to further customize the
default property sheet for certain types of properties or styles including Boolean and Color.
Customize the style or property value editor in the default property sheet with additional metadata (the
default editor type is String):
2013-05-0637
Appendix A: Dashboards Default Property Sheet API Reference
Przeglądanie stron 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 51 52

Komentarze do niniejszej Instrukcji

Brak uwag