Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
AddRemoveEffectTargetFilter

Package | mx.effects.effectClasses
Class | public class AddRemoveEffectTargetFilter
Inheritance | AddRemoveEffectTargetFilter EffectTargetFilter Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

AddRemoveEffectTargetFilter is a subclass of EffectTargetFilter that handles the logic for filtering targets that have been added or removed as children to a container. If you set the Effect.filter property to "add" or "remove", then one of these is used.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | add : Boolean = true Determines if this is an add or remove filter. | AddRemoveEffectTargetFilter
|  | filterFunction : Function A function that defines custom filter logic. | EffectTargetFilter
|  | filterProperties : Array An Array of Strings specifying component properties. | EffectTargetFilter
|  | filterStyles : Array An Array of Strings specifying style properties. | EffectTargetFilter
|  | requiredSemantics : Object = null A collection of properties and associated values which must be associated with a target for the effect to be played. | EffectTargetFilter

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | AddRemoveEffectTargetFilter() Constructor. | AddRemoveEffectTargetFilter
|  | filterInstance(propChanges:Array, semanticsProvider:IEffectTargetHost, target:Object):Boolean Determines whether a target should be filtered, returning true if it should be included in an effect. | EffectTargetFilter

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | defaultFilterFunction(propChanges:Array, instanceTarget:Object):Boolean The default filter function for the EffectTargetFilter class. | EffectTargetFilter

Property Detail

add | property

`public var add:Boolean = true`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Determines if this is an add or remove filter.

The default value is `true`.

Constructor Detail

AddRemoveEffectTargetFilter | () | Constructor

`public function AddRemoveEffectTargetFilter()`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor.

Sun Mar 5 2017, 03:42 PM +11:00