Class fvaswing.components.forms.FvStringField

Description

Basic string form field.

Allow user to place a basic string field into form.
Email validation is done using StringValidator validator.
You can customize validation using FvStringField() constructor.

Example

   var field : FvStringField = new FvStringField( "Name", 1, 50 );
 

Method Index

new FvStringField()
clear(), getValue(), lock(), setValue()

Inherited from FvFormField

Constructor Detail

FvStringField

public function FvStringField(label:String, minLength:Number, maxLength:Number)

Constructor.

Parameters

labelField caption
minLengthMinimum length for password value
maxLengthMaximum length for password value

Method Detail

setValue

public function setValue(str:String):Void

Sets field value.

getValue

public function getValue():String

Returns field value.

lock

public function lock(b:Boolean):Void

Locks user interactions with current input component. //TODO Implements lock() method for all FvForm

clear

public function clear():Void

Clears field value.