{ "type": "class", | |
"qname": "org.apache.royale.jewel.beads.validators.Validator", | |
"baseClassname": "org.apache.royale.core.Strand" | |
, | |
"description": "The Validator class is the base class for all validators. This class implements the ability for create/destroy error tips, user should set custom validateFunction or use sub class for validation.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"members": [ | |
{ "type": "field", | |
"qname": "locale", | |
"return": "String", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "locale", | |
"tags": [ | |
{ "tagName": "royalesuppresspublicvarwarning", | |
"values": []} ]}, | |
{ "type": "field", | |
"qname": "en_USvalidator", | |
"return": "String", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "", | |
"tags": [ | |
{ "tagName": "royalesuppresspublicvarwarning", | |
"values": []} ]}, | |
{ "type": "field", | |
"qname": "de_DEvalidator", | |
"return": "String", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "", | |
"tags": [ | |
{ "tagName": "royalesuppresspublicvarwarning", | |
"values": []} ]}, | |
{ "type": "field", | |
"qname": "es_ESvalidator", | |
"return": "String", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "", | |
"tags": [ | |
{ "tagName": "royalesuppresspublicvarwarning", | |
"values": []} ]}, | |
{ "type": "method", | |
"qname": "org.apache.royale.jewel.beads.validators.Validator", | |
"namespace": "", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "constructor.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "", | |
"params": []} | |
, | |
{ "type": "field", | |
"qname": "TOP", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}}, | |
{ "type": "field", | |
"qname": "BOTTOM", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}}, | |
{ "type": "field", | |
"qname": "LEFT", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}}, | |
{ "type": "field", | |
"qname": "RIGHT", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}}, | |
{ "type": "field", | |
"qname": "MIDDLE", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}}, | |
{ "type": "field", | |
"qname": "hostComponent", | |
"return": "org.apache.royale.core.UIBase", | |
"namespace": "protected", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "org.apache.royale.events.IEventDispatcher", | |
"qname": "trigger", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Specifies the component generating the event that triggers the validator.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "String", | |
"qname": "triggerEvent", | |
"namespace": "public", | |
"bindable": ["triggerEventChanged"], | |
"details": [], | |
"deprecated": {}, | |
"description": "Specifies the event that triggers the validation.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "field", | |
"qname": "hostClassList", | |
"return": "DOMTokenList", | |
"namespace": "protected", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}}, | |
{ "type": "accessor", | |
"access": "write-only", | |
"return": "org.apache.royale.core.IStrand", | |
"qname": "strand", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "copy", | |
"values": ["org.apache.royale.core.IBead#strand"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "royaleignorecoercion", | |
"values": ["org.apache.royale.events.IEventDispatcher"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "org.apache.royale.core.ILocalizedValuesImpl", | |
"qname": "resourceManager", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The Validator's resource manager to get translations from bundles", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.6"]}, | |
{ "tagName": "royaleignorecoercion", | |
"values": ["org.apache.royale.core.ILocalizedValuesImpl"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-only", | |
"return": "Boolean", | |
"qname": "isError", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Contains true if the field generated a validation failure.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "Function", | |
"qname": "validateFunction", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "set your custom validation logic", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "int", | |
"qname": "required", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "specifies that at least required quantity causes a validation error.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "read-write", | |
"return": "String", | |
"qname": "requiredFieldError", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The string to use as the errorTip.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "method", | |
"qname": "validate", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Performs validation and return the result. When result is false(invalid), errorTip appears on the control. And true(valid), the errorTip will disappear.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "Boolean", | |
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]} | |
, | |
{ "type": "accessor", | |
"access": "write-only", | |
"return": "int", | |
"qname": "xPos", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Sets the errortip y relative position to one of LEFT, MIDDLE or RIGHT.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "accessor", | |
"access": "write-only", | |
"return": "int", | |
"qname": "yPos", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Sets the errortip y relative position to one of TOP, MIDDLE or BOTTOM.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "method", | |
"qname": "createErrorTip", | |
"namespace": "protected", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Create an errorTip that floats a error text over a control", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "void", | |
"params": [{ "name": "errorText", "type": "String"}]} | |
, | |
{ "type": "method", | |
"qname": "repositionHandler", | |
"namespace": "protected", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"return": "void", | |
"params": [{ "name": "event", "type": "org.apache.royale.events.Event"}]} | |
, | |
{ "type": "method", | |
"qname": "determinePosition", | |
"namespace": "protected", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Determines the position of the errorTip.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "org.apache.royale.geom.Point", | |
"params": []} | |
, | |
{ "type": "method", | |
"qname": "destroyErrorTip", | |
"namespace": "internal", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Destroy the created errorTip", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10.2", "AIR 2.6"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "void", | |
"params": []} | |
] | |
} |