export default class SingleLineTextBoxData extends InputTagData { constructor(displayObject: any, role: any, domIdPrefix: any); /** * Sets the currently active descendant of a composite widget * @access public * @param {createjs.DisplayObject} displayObject - DisplayObject that is the active descendant * of this one. undefined to unset the field. */ set active(arg: createjs.DisplayObject); /** * Retrieves which DisplayObject is the current active descendant * @access public * @returns {createjs.DisplayObject} DisplayObject that is the current active descendant */ get active(): createjs.DisplayObject; _active: createjs.DisplayObject; /** * Retrieves the DOM id for the tranlated DisplayObject that is the active descendant. * @access public * @returns {String} id for the translated DisplayObject that is the active descendant */ get activeId(): string; /** * Sets whether the form should have autocomplete enabled * @access public * @param {string | boolean} value - valid autocomplete attribute value to enable, false or off otherwise * @throws error if the specified value is invalid */ set autoComplete(arg: string | boolean); /** * Retrieves whether autocomplete is enabled * @access public * @returns {string | boolean} attribute value if autocomplete is enabled by default or explicitly (note: true if undefined because autocomplete is enabled by default) */ get autoComplete(): string | boolean; /** * Sets the maximum number of characters allowed in the text field * @access public * @param {Number} num - maximum number of characters allowed in the text field */ set maxLength(arg: number); /** * Retrieves the maximum number of characters allowed in the text field * @access public * @returns {Number} maximum number of characters allowed in the text field */ get maxLength(): number; /** * Sets the regex that the value of the text input field is checked against * @access public * @param {String} str - regex to validate the value */ set pattern(arg: string); /** * Retrieves the regex that the value of the text input field is checked against * @access public * @returns {String} regex to validate the value */ get pattern(): string; /** * Sets the string to use as the placeholder value * @access public * @param {String} str - placeholder value */ set placeholder(arg: string); /** * Retrieves the string to use as the placeholder value * @access public * @returns {String} placeholder value */ get placeholder(): string; /** * Sets the text input field is read only or also editable * @access public * @param {boolean} enable - true if the element should be read only, false for read and editable */ set readOnly(arg: boolean); /** * Retrieves whether the text input field is read only or also editable * @access public * @returns {boolean} true if the element should be read only, false for read and editable */ get readOnly(): boolean; /** * Sets whether the text input field needs a value before a form is submitted * @access public * @param {boolean} enable - true if the element is required, false otherwise */ set required(arg: boolean); /** * Retrieves whether the text input field needs a value before a form is submitted * @access public * @returns {boolean} true if the element is required, false otherwise */ get required(): boolean; /** * Sets the width of the text field based on the number of characters * @access public * @param {Number} numChars - width of the text field in number of characters */ set size(arg: number); /** * Retrieves the width of the text field based on the number of characters * @access public * @returns {Number} width of the text field in number of characters */ get size(): number; /** * Sets the value of the text input field * @access public * @param {String} str - string value for the text input field */ set value(arg: string); /** * Retrieves the value of the text input field * @access public * @returns {String} string value for the text input field */ get value(): string; /** * event handler for when the value of the input tag changes * @access private * @param {Event} evt - event */ _onChange(evt: Event): void; /** * event handler for when the selection changes * @access private * @param {Event} evt - event */ _onSelect(evt: Event): void; /** * event handler for when the element gets input * @param {Event} evt */ _onInput(evt: Event): void; /** * event handler for when keyboard key is lifted Up * @param {Event} evt */ _onKeyUp(evt: Event): void; } import InputTagData from "./InputTagData";