| Package | net.guttershark.managers |
| Class | public class FormFieldManager |
| Implements | IDisposable |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor for FormFieldManager instances.
| FormFieldManager | ||
|
addTextField(tf:TextField):void
Add a TextField to the manager.
| FormFieldManager | ||
|
addTextFields(tfs:Array):void
Add multiple TextFields to the manager.
| FormFieldManager | ||
|
addToggleable(toggleable:IToggleable):void
Add an IToggleable instance to the manager.
| FormFieldManager | ||
|
addToggleables(toggleables:Array):void
Add multiple IToggleable clips to the manager.
| FormFieldManager | ||
|
disableTabsOnToggleables():void
Sets the tabEnabled property to false on all toggleable clips
in the manager.
| FormFieldManager | ||
|
displayBooleansAs(truSubstitute:String, falsSubstitute:String):void
Change what the output value is displayed as for a boolean.
| FormFieldManager | ||
|
dispose():void
Dispose of this FormFieldManager.
| FormFieldManager | ||
|
enableTabsOnToggleables():void
Sets the tabEnabled property to true on all toggleable clips
in the manager.
| FormFieldManager | ||
|
getOutputAsObject():Object
Get all data from the form as a generic Object.
| FormFieldManager | ||
|
getOutputAsQueryString():String
Get all data from the form as a URL encoded string.
| FormFieldManager | ||
|
getOutputAsURLVariables():URLVariables
Get all data from the form as a URLVariables instance.
| FormFieldManager | ||
|
setTabs(clips:Array = null):void
Set the tabs for all fields in the form.
| FormFieldManager | ||
| FormFieldManager | () | constructor |
public function FormFieldManager()Constructor for FormFieldManager instances.
| addTextField | () | method |
public function addTextField(tf:TextField):voidAdd a TextField to the manager.
Parameterstf:TextField — A TextField.
|
| addTextFields | () | method |
public function addTextFields(tfs:Array):voidAdd multiple TextFields to the manager.
Parameterstfs:Array — An array of TextFields.
|
| addToggleable | () | method |
public function addToggleable(toggleable:IToggleable):voidAdd an IToggleable instance to the manager.
Parameterstoggleable:IToggleable — An IToggleable instance.
|
| addToggleables | () | method |
public function addToggleables(toggleables:Array):voidAdd multiple IToggleable clips to the manager.
Parameterstoggleables:Array — An array of IToggleable clips.
|
| disableTabsOnToggleables | () | method |
public function disableTabsOnToggleables():voidSets the tabEnabled property to false on all toggleable clips in the manager.
| displayBooleansAs | () | method |
public function displayBooleansAs(truSubstitute:String, falsSubstitute:String):void
Change what the output value is displayed as for a boolean. You could
substitue true with "yes" or false with "no" etc. Values for booleans
are only substituded with the getOutputAsObject and
getOutputAsURLVariables methods.
truSubstitute:String |
|
falsSubstitute:String |
| dispose | () | method |
public function dispose():voidDispose of this FormFieldManager.
| enableTabsOnToggleables | () | method |
public function enableTabsOnToggleables():voidSets the tabEnabled property to true on all toggleable clips in the manager.
| getOutputAsObject | () | method |
public function getOutputAsObject():ObjectGet all data from the form as a generic Object.
ReturnsObject — Object
|
| getOutputAsQueryString | () | method |
public function getOutputAsQueryString():StringGet all data from the form as a URL encoded string.
ReturnsString — String
|
| getOutputAsURLVariables | () | method |
public function getOutputAsURLVariables():URLVariablesGet all data from the form as a URLVariables instance.
ReturnsURLVariables — URLVariables
|
| setTabs | () | method |
public function setTabs(clips:Array = null):voidSet the tabs for all fields in the form.
It will set tabs in this order:
Or if you provide an array of clips in the call to set tabs, it will use whatever order the array is in.
Parametersclips:Array (default = null) |