Class
caplin.control.basic

InputControl

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.InputControl(caplin.control.factory.ControlType oControlType)

Constructs a new InputControl with the specified arguments.

Method Summary

Attributes Name and Description
int getHeight()

Returns the height of the control.

int getWidth()

Returns the width of the control.

Methods inherited from class caplin.control.basic.BasicControl:
getElement, getFlashDuration, getId, getNumericFlashDirection, isBound, removeFlash, setAttribute, setDomAttribute, setDomClass, setDomParentClass, setDomStyle, setDomValue, setId, setTooltip

Constructor Detail

caplin.control.basic.InputControl(caplin.control.factory.ControlType oControlType)

Constructs a new InputControl with the specified arguments.

Parameters
caplin.control.factory.ControlType oControlType

Method Detail

int getHeight()

Returns the height of the control.

Returns
The height of the DOM element in pixels.

int getWidth()

Returns the width of the control.

Returns
The width of the DOM element in pixels.