Abstract implementation for FvForm fields.
New fields can be implemented using this abstract class.
_createValueComponent() method _validateField() methodTake a look at fvaswing.components.forms package to see concrete field implementations.
public function init(w:Number, scopeMethod, renderingMethod:Function):VoidInits fields
Don't use it in our development
triggered when field is added to form component.
public function setRenderStateHandler(scopeMethod, renderingMethod:Function):Void
Delegates field state rendering method to passed-in renderingMethod function.
scopeMethod | Context where function is call. |
renderingMethod | Function implementation to render field state |
public function isFieldValid():Boolean
Returns true is current field is valid.
Validation process is defined throw class instanciation
Take a look at constructor definition.
public function showValidState():VoidShows visual indication for a valid field state.
Usually the 'normal' state of field.