Echo
TextComponent
Abstract
Class Hierarchy:
Direct Known Subclasses:
Echo.TextArea, Echo.TextField

Abstract base class for text-entry components.

Instance Method Summary
Public, Virtual doAction()
Programmatically performs a text component action.

Methods inherited from class Echo.Component
getFocusComponent, add, addListener, fireEvent, get, getComponent, getComponentCount, getIndex, getLayoutDirection, getLocale, getLocalStyleData, getRenderLayoutDirection, getRenderLocale, getStyle, getStyleName, indexOf, isActive, isAncestorOf, isEnabled, isRenderEnabled, register, render, renderIndex, remove, removeAll, removeListener, set, setEnabled, setIndex, setLayoutDirection, setLocale, setStyle, setStyleName, toString

Style Properties
actionCommand String the action command fired when the enter key is pressed within the text component
alignment Alignment (String or Object) an alignment setting describing the alignment of the text
backgroundImage FillImage (String or Object) the background image to display in the component
border Border (String or Object) the border to display around the component
disabledBackground Color (String) the disabled background color
disabledBackgroundImage Color (String) the disabled background image
disabledBorder Border (String or Object) the disabled border
disabledFont Font (Object) the disabled font
disabledForeground Color (String) the disabled foreground color
height Extent (Number or String) the height of the component
horizontalScroll Extent (Number or String) the horizontal scrollbar position
insets Insets (Number, String, or Object) the inset margin between the border and the text content
maximumLength Number the maximum number of characters which may be entered
toolTipText String the tool tip text
verticalScroll Extent (Number or String) the vertical scrollbar position
width Extent (Number or String) the width of the component

Events
action An event fired when the enter/return key is pressed while the field is focused.

Instance Method Detail
doAction
Programmatically performs a text component action.