Fixing a fall-out from the DefaultItemRenderer change. When labelDisplay comes on-board, we should check to see if the label property has been set, and push it down in there if it has. We need this because the labelDisplay isn't created until createChildren() time, which happens when the component is first validated, but for some scenarios, the component may not be on-screen at the time we set the label property. Also, itemIndex needs to be "cloned" in the drag'n drop scenario.
Adding better support for deferred instantiation and states. State overrides can now correctly override targets that are instantiated after a state change. Moving the commitment of the initial state to earlier (during commit properties), this should avoid the secondary layout pass that used to occur after applicationComplete. Removed creationComplete handler in UIComponent as it is no longer needed. Fixing an issue in Group that was causing blendMode to be stuck as 'layered' when setting alpha to 0 then resetting it to a non zero value.
Fixing a fall-out from the DefaultItemRenderer change. When labelDisplay comes on-board, we should check to see if the label property has been set, and push it down in there if it has. We need this because the labelDisplay isn't created until createChildren() time, which happens when the component is first validated, but for some scenarios, the component may not be on-screen at the time we set the label property. Also, itemIndex needs to be "cloned" in the drag'n drop scenario.
Adding better support for deferred instantiation and states. State overrides can now correctly override targets that are instantiated after a state change. Moving the commitment of the initial state to earlier (during commit properties), this should avoid the secondary layout pass that used to occur after applicationComplete. Removed creationComplete handler in UIComponent as it is no longer needed. Fixing an issue in Group that was causing blendMode to be stuck as 'layered' when setting alpha to 0 then resetting it to a non zero value.
Add STATECHANGE when selection change, seems reasonable since the list item gets a new state of SELECTED, and the ButtonBarAccImpl subclass could use it for the PRESSED state.
Some changes which ensure any states targetted declarations are bindable. Historically only those with id's were bindable. This new functionality provides the ability to tag any Model as bindable and is general purpose.
This has two changes: one is adding index to IItemRenderer and the other is adding handleHighlightBackground to ItemRenderer. Adding an index property should speed things up a little bit, and it'll help fix a bug with renderers that have index-dependent drawing, like when alternatingItemColors is set. handleHighlightBackground is a new shortcut property that will automatically handle drawing the background for selection/highlight in an item renderer. For now, handleHighlightBackground defaults to false, so it shouldn’t affect anything.
Check-in of runtime implementation of FXG 2.0 additional blendModes and luminosity mask. Additionally, cleaned up the code formatting and whitespace in the AS wrapper classes around the .pbj files.
AsyncList/removeItemAt() now handles an IPE thrown by the list delegate. AsyncListView/toArray() now queues requests for items that don't exist yet and reports pending items as expected. AsyncListView/setItem() returns the old actual or pending value; null if no value exists.
Removed TitleWindow "active" skinstate and added the "inactive" skinstate. The "normal" state now refers to the TitleWindow in focus and the "inactive" state refers to out of focus TitleWindows. Updated skins to reflect this change.
Adding support for compile-time optimized FXG 2.0 maskType="luminosity". We generate a symbol class for both the mask and maskee. The mask creates a LuminosityMaskShader and uses it as a filter on the mask display object. As with alpha masks, the maskee must programmatically set cacheAsBitmap to true and the mask at runtime must be set to an item on the display list.
Some changes which ensure any states targetted declarations are bindable. Historically only those with id's were bindable. This new functionality provides the ability to tag any Model as bindable and is general purpose.
This has two changes: one is adding index to IItemRenderer and the other is adding handleHighlightBackground to ItemRenderer. Adding an index property should speed things up a little bit, and it'll help fix a bug with renderers that have index-dependent drawing, like when alternatingItemColors is set. handleHighlightBackground is a new shortcut property that will automatically handle drawing the background for selection/highlight in an item renderer. For now, handleHighlightBackground defaults to false, so it shouldn’t affect anything.
Check-in of runtime implementation of FXG 2.0 additional blendModes and luminosity mask. Additionally, cleaned up the code formatting and whitespace in the AS wrapper classes around the .pbj files.
AsyncList/removeItemAt() now handles an IPE thrown by the list delegate. AsyncListView/toArray() now queues requests for items that don't exist yet and reports pending items as expected. AsyncListView/setItem() returns the old actual or pending value; null if no value exists.
Removed TitleWindow "active" skinstate and added the "inactive" skinstate. The "normal" state now refers to the TitleWindow in focus and the "inactive" state refers to out of focus TitleWindows. Updated skins to reflect this change.
Adding support for compile-time optimized FXG 2.0 maskType="luminosity". We generate a symbol class for both the mask and maskee. The mask creates a LuminosityMaskShader and uses it as a filter on the mask display object. As with alpha masks, the maskee must programmatically set cacheAsBitmap to true and the mask at runtime must be set to an item on the display list.