Paket | mx.effects |
Gränssnitt | public interface IEffectTargetHost |
Implementorer | AdvancedListBase, ListBase |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Relaterade API-element
Metod | Definieras med | ||
---|---|---|---|
Adds an item renderer if a data change effect is running. | IEffectTargetHost | ||
Returns true or false
to indicates whether the effect should play on the target. | IEffectTargetHost | ||
Removes an item renderer if a data change effect is running. | IEffectTargetHost | ||
Called by an UnconstrainItemAction effect
as part of a data change effect if the item renderers corresponding
to certain data items need to move outside the normal positions
of item renderers in the control. | IEffectTargetHost |
addDataEffectItem | () | metod |
public function addDataEffectItem(target:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Adds an item renderer if a data change effect is running. The item renderer should correspond to a recently added data item in the data provider's collection that isn't yet being displayed.
This function will be called by an AddItemAction
effect as part of a data change effect to specify the point
at which a data item added to a collection begins to be displayed
by the control using an item renderer.
Parametrar
target:Object — The item renderer to add to the control's layout.
|
getRendererSemanticValue | () | metod |
public function getRendererSemanticValue(target:Object, semanticProperty:String):Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns true
or false
to indicates whether the effect should play on the target.
The EffectTargetFilter class calls this method when you set
the filter
property on a data effect.
For example, you set filter
property
to addItem
or removeItem
.
Parametrar
target:Object — An item renderer
| |
semanticProperty:String — The semantic property of the renderer
whose value will be returned.
|
Object — true or false
to indicates whether the effect should play on the target.
|
removeDataEffectItem | () | metod |
public function removeDataEffectItem(target:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Removes an item renderer if a data change effect is running.
The item renderer must correspond to data that has already
been removed from the data provider collection.
This function will be called by a RemoveItemAction
effect as part of a data change effect to specify the point
at which a data item ceases to displayed by the control using
an item renderer.
Parametrar
target:Object — The item renderer to remove from the control's layout.
|
unconstrainRenderer | () | metod |
public function unconstrainRenderer(item:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Called by an UnconstrainItemAction
effect
as part of a data change effect if the item renderers corresponding
to certain data items need to move outside the normal positions
of item renderers in the control.
The control does not attempt to position the item render for the
duration of the effect.
Parametrar
item:Object — The item renderer that is a target of the effect.
|
Tue Jun 12 2018, 01:40 PM Z