[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[WI8] TextAreaWidget

TextAreaWidget represents a teextarea in a web page. It basically delegates everything to its handle, a HTMLTextarea handle. It is a first level wrapping of non-smalltalk objects. See [WI8] WI8Object for more detailed info on wrapping NativeObject

Hierarchy

TextAreaWidget inherits from [WI8] TextWidget and is the base class for [WI8] CodeAreaWidget.

Relevant Methods

Class

localEventsReturn the smalltalk events managed by instances of the receiver

Instance

addText:Add aString to the text after current selection
appendSelectedText:Append text to the current selection
collapseSelectionCollapse the current selection
collapseSelection:Collapse the current selection
replaceSelectedTextWith:Replace the current selection with aString
selectCurrentLineSelect the line where the cursor is over
selectedTextReturn the selected text

Events

TextAreaWidgetcan handle the following events (besides the ones inherited from its superclass):

Local Events

needsRows-
needsCols-
needsResize-
getContents-
getConfiguration-

References