| Package | org.springextensions.actionscript.stage.selectors |
| SVN browsing | PropertyValueBasedObjectSelector.as |
| Fisheye | PropertyValueBasedObjectSelector.as |
| Class | public class PropertyValueBasedObjectSelector |
| Implements | IObjectSelector |
IObjectSelector that only approves objects that have a specified
property whose value is not empty.
See also
| Property | Defined by | ||
|---|---|---|---|
| propertyName : String
The name of the property whose value will be evaluated by the current
LocalizationObjectSelector
| PropertyValueBasedObjectSelector | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new
LocalizationObjectSelector instance. | PropertyValueBasedObjectSelector | ||
|
approve(object:Object):Boolean
First checks if the specified | PropertyValueBasedObjectSelector | ||
| propertyName | property |
propertyName:String [read-write]
The name of the property whose value will be evaluated by the current LocalizationObjectSelector
The default value is id.
public function get propertyName():String
public function set propertyName(value:String):void
| PropertyValueBasedObjectSelector | () | constructor |
public function PropertyValueBasedObjectSelector()
Creates a new LocalizationObjectSelector instance.
| approve | () | method |
public function approve(object:Object):Boolean
First checks if the specified object has a property with the name specified by the propertyName property,
if so, it approves the object if the value of the specified property is non-empty.
object:Object — The object to be approved (or not) for selection.
|
Boolean — true if the object is selected, false
otherwise.
|