MAF.element.TextField

new MAF.element.TextField()

Configs

editable : {Boolean}

True will make this component reachable by navigating. In this state when this component has focus text can be typed directly without a onscreen keyboard.

Methods

animate(config) inherited

Parameters:

NameTypeDescription
configObject

A config object

Fires:

freeze() → {Class} inherited

Freezes this component. Screen renders no longer trigger until thawed.

Returns:

This component.

getAbsolutePosition() → {Object} inherited

Give back the position relative to its first positioned ancestor element

Returns:

{hOffset:Number, vOffset: Number}

getText() inherited

Get which text is displayed on this component.

getView() → {Class} inherited

Returns:

Returns the view this class is appended on.

hide() → {Class} inherited

Hides this component.

Returns:

This component.

initialize() inherited

Initialize the class

setText(text) inherited

Set which text to display on this component.

Parameters:

NameTypeDescription
textString

The text

show() → {Class} inherited

Shows this component.

Returns:

This component.

thaw() → {Class} inherited

Thawes this component. Screen renders can trigger again.

Returns:

This component.

Events

onAnimationEnded

Fired when a animation on this component has ended.

onAppend

Fired when component has appended to a parent. Update visual appearances by applying a Theme style and rendering the skin.

onBlur

Fired when the component is blurred.

onChange

Fired when a change happened.

onFocus

Fired when the component recieves focus.

onLayoutChange

Fired when a the layout of the component has changed.

onNavigate

Fired when a navigation happens when the component has focus.