Index

Classes

Class

Methods

Class Banana.Controls.Decorators.TimecodeFieldValidator


Extends Banana.Controls.Decorators.Validator.

Methods borrowed from class Banana.Controls.Decorators.Validator:
createComponents, getData, getHtml, getValidatedControl, getValidationGroup, hideIndicators, isValid, markInvalid, removeMarkInvalid, setData, setInfoText, setShowIndicator, setValidateOnEventType, setValidationGroup, showIndicators, unload, updateDisplay
Methods borrowed from class Banana.Controls.Decorators.Decorator:
getDecoratedControl
Methods borrowed from class Banana.Controls.Panel:
getTagName
Methods borrowed from class Banana.UiControl:
addControl, addCss, addCssClass, getAttribute, getAttributes, getClientId, getCss, getCssClass, getDimensions, getHtmlAttributes, getState, getStyle, getStyleProperty, hasCssClass, registerEvents, removeAttribute, removeCssClass, removeState, setAttribute, setClientId, setCss, setEnabled, setState, setStyle, setVisible, switchCssClass, triggerEvent, unregisterEvents
Methods borrowed from class Banana.Control:
applyToChildren, bind, clear, findControl, generateUniqueId, getControls, getDomEventTypes, getFirstUiControl, getId, getPage, getParent, getProxy, hasBind, invalidateDisplay, onPreInvalidateContents, onWindowResize, remove, render, setId, setPage, setParent, unbind

Defined in: TimecodeFieldValidator.js.

Class Detail
Banana.Controls.Decorators.TimecodeFieldValidator(controlToValidate)

Creates a timecode field validator

Matches date, time(code) or date and time(code) Matches DD-MM-YYYY where 00 < DD < 32, 00 < MM < 13, 1900 =< YYYY < 3000 Matches HH:MM:SS:FF or HH:MM:SS where 00 =< HH < 24, 00 =< MM/SS < 60, and 00 =< FF < 25

Parameters:
{Banana.Controls.InputControl} controlToValidate
Method Detail
{String} getInfoText()
Returns:
{String}
setRequired(r)
Parameters:
{boolean} r
if true we need to pass data in order to pass the validation. false means that we can exclude data in order to pass validation
validateData(data)
Parameters:
{String} data

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 05 2012 22:01:50 GMT+0100 (CET)