| Package | system.reflection |
| Class | public class FilterType |
| Inheritance | FilterType Enum Object |
Description :
0x000000
|||_ 0: both, 1: only prototype, 2: only trait
||__ 0: both declared and inherited, 1: declared only
|___ 0: ignore static, 1: include static
| Property | Defined By | ||
|---|---|---|---|
| showDeclared : Boolean [read-only]
Indicates if the declared class are showed. | FilterType | ||
| showInherited : Boolean [read-only]
Indicates if the inherited class are showed. | FilterType | ||
| showStatic : Boolean [read-only]
Indicates if the static members are showed. | FilterType | ||
| usePrototypeInfo : Boolean [read-only]
Indicates if use prototype information. | FilterType | ||
| useTraitInfo : Boolean [read-only]
Indicates if use trait information. | FilterType | ||
| Method | Defined By | ||
|---|---|---|---|
FilterType(value:int = 0, name:String)
Creates a new FilterType instance. | FilterType | ||
![]() | toSource(indent:int = 0):String
Returns the source code String representation of the object. | Enum | |
![]() | toString():String
Returns the String representation of the object. | Enum | |
![]() | valueOf():int
Returns the primitive value of the object. | Enum | |
| Constant | Defined By | ||
|---|---|---|---|
| declaredOnly : FilterType [static]
Inherited members will not be searched. | FilterType | ||
| includeStatic : FilterType [static]
Static members will be searched too. | FilterType | ||
| none : FilterType [static]
Default filter type value. | FilterType | ||
| prototypeOnly : FilterType [static]
Trait members will not be searched. | FilterType | ||
| traitOnly : FilterType [static]
Prototype members will not be searched. | FilterType | ||
| showDeclared | property |
showDeclared:Boolean [read-only] Indicates if the declared class are showed.
public function get showDeclared():Boolean| showInherited | property |
showInherited:Boolean [read-only] Indicates if the inherited class are showed.
public function get showInherited():Boolean| showStatic | property |
showStatic:Boolean [read-only] Indicates if the static members are showed.
public function get showStatic():Boolean| usePrototypeInfo | property |
usePrototypeInfo:Boolean [read-only] Indicates if use prototype information.
public function get usePrototypeInfo():Boolean| useTraitInfo | property |
useTraitInfo:Boolean [read-only] Indicates if use trait information.
public function get useTraitInfo():Boolean| FilterType | () | Constructor |
public function FilterType(value:int = 0, name:String)Creates a new FilterType instance.
Parametersvalue:int (default = 0) — The value of the enumeration.
| |
name:String — The name key of the enumeration.
|
| declaredOnly | Constant |
public static const declaredOnly:FilterTypeInherited members will not be searched.
Note:
For Trait this will apply only to methods and accessors not to variables and constants reason : variables and constants does not have a declaredBy attribute (from describeType), but that's normal because "inherited properties are copied down from superclasses into the traits object of subclasses" (cf: OOP in ActionScript/Advanced Topics/The Trait Object).
For prototype this will apply both to properties and methods.
| includeStatic | Constant |
public static const includeStatic:FilterTypeStatic members will be searched too.
| none | Constant |
public static const none:FilterTypeDefault filter type value.
| prototypeOnly | Constant |
public static const prototypeOnly:FilterTypeTrait members will not be searched.
| traitOnly | Constant |
public static const traitOnly:FilterTypePrototype members will not be searched.