Package | flexlib.containers |
Class | public class AdvancedForm |
Inheritance | AdvancedForm ![]() |
The Advanced Form component provides Reset, Undo and Redo functionality. Undo and Redo are accessed by pressing "ctrl-Z" and "ctrl-Y" repsectively.
MXML Syntax<flexlib:AdvancedForm Properties undoHistorySize="5" modelType="shared|memory" > ... child tags ... </flexlib:AdvancedForm>
Property | Defined by | ||
---|---|---|---|
isValid : Boolean = true
Property that allows for one place to know if the From is valid
Default to true, if any Validators are present then it will be set to false
| AdvancedForm | ||
isValid : Boolean = true | AdvancedForm | ||
modelType : String
The modelStack handles the data.
| AdvancedForm | ||
undoHistorySize : int
The undoHistorySize defaults the number of undos.
| AdvancedForm |
Method | Defined by | ||
---|---|---|---|
resetForm():void
Resets values of the form
| AdvancedForm |
Method | Defined by | ||
---|---|---|---|
childrenCreated():void
Creates snapshot of values for reseting
| AdvancedForm |
isValid | property |
public var isValid:Boolean = true
Property that allows for one place to know if the From is valid Default to true, if any Validators are present then it will be set to false
This property can be used as the source for data binding.
isValid | property |
public var isValid:Boolean = true
modelType | property |
modelType:String
[read-write]The modelStack handles the data.
The default value is true
.
public function get modelType():String
public function set modelType(value:String):void
undoHistorySize | property |
undoHistorySize:int
[read-write]The undoHistorySize defaults the number of undos.
The default value is true
.
public function get undoHistorySize():int
public function set undoHistorySize(value:int):void
childrenCreated | () | method |
protected override function childrenCreated():void
Creates snapshot of values for reseting
resetForm | () | method |
public function resetForm():void
Resets values of the form