Class
caplin.control.basic

TextControl

This is a basic control that is used to display text and react to user gestures. Typically, the TextControl uses formatters and stylers to specify how the text appears to the user, and handlers to capture user interactions such as mouse movements and clicks.

Constructor Summary

Attributes Name and Description
caplin.control.basic.TextControl(caplin.control.factory.ControlType controlType)

Constructs a new TextControl with the specified arguments.

Methods inherited from class caplin.control.basic.BasicControl:
addClass, attachControlEventListener, bind, clear, clearState, detachControlEventListener, disable, enable, finalize, flash, focus, getAttributes, getElement, getFlashDuration, getId, getInitialClassName, getNumericFlashDirection, getValue, initialize, isBound, isEnabled, refresh, removeClass, removeFlash, replaceClass, select, setAttribute, setDomAttribute, setDomClass, setDomParentClass, setDomStyle, setDomValue, setId, setInitialClassName, setStyle, setTooltip, setValue, toString, unbind

Constructor Detail

caplin.control.basic.TextControl(caplin.control.factory.ControlType controlType)

Constructs a new TextControl with the specified arguments.

Parameters
caplin.control.factory.ControlType controlType The control type.