Class fvaswing.components.forms.FvCheckboxField

Description

Checkbox form field.

Example : License agreement

   var agree : FvCheckboxField = new FvCheckboxField( "I agree", true );
 

Method Index

new FvCheckboxField()
clear(), getValue(), setValue()

Inherited from FvFormField

Constructor Detail

FvCheckboxField

public function FvCheckboxField(label:String, required:Boolean)

Constructor.

Parameters

labelField's caption

Method Detail

setValue

public function setValue(b:Boolean):Void

Sets field value.

getValue

public function getValue():Boolean

Returns field value.

clear

public function clear():Void

Clears field value.