Access keys

LTValidator

Kind of class: class
Inherits from: ValidationRule
Implements:
Author: Martijn de Visser
Classpath: org.asapframework.util.forms.validate.LTValidator
File last modified: Thursday, 13 July 2006, 09:33:59
Validates if target's value is less than value specified in condition.

Summary

Constructor
Instance properties
Instance properties inherited from ValidationRule
Instance methods
Instance methods inherited from ValidationRule

Constructor

LTValidator

function LTValidator (
inTarget:Object, inCondition:Number)
Parameters:
inTarget :
Target object to validate, has to implement the IValidate interface. Except TextFields, these will be accessed through .text.
inCondition:
The value to test against.

Instance methods

toString

function toString (
) : String
Returns readable name of rule.

validate

function validate (
) : Boolean
Validates rule.