Pacchetto | mx.effects |
Interfaccia | public interface IEffectTargetHost |
Implementatori | AdvancedListBase, ListBase |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Elementi API correlati
Metodo | Definito da | ||
---|---|---|---|
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 | () | metodo |
public function addDataEffectItem(target:Object):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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.
Parametri
target:Object — The item renderer to add to the control's layout.
|
getRendererSemanticValue | () | metodo |
public function getRendererSemanticValue(target:Object, semanticProperty:String):Object
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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
.
Parametri
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 | () | metodo |
public function removeDataEffectItem(target:Object):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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.
Parametri
target:Object — The item renderer to remove from the control's layout.
|
unconstrainRenderer | () | metodo |
public function unconstrainRenderer(item:Object):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | 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.
Parametri
item:Object — The item renderer that is a target of the effect.
|
Tue Jun 12 2018, 02:44 PM Z