Class awtExt.TextArea
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class awtExt.TextArea

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.TextComponent
                   |
                   +----java.awt.TextArea
                           |
                           +----awtExt.TextArea

public class TextArea
extends TextArea
Extension of standard awt TextArea. Provides a callback mechanism for invoking user defined event handling methods. A callback method can be attached on each and every event 'hook' in the TextArea's eventDispatch object.
See Also:
EventDispatch, Callback, Event, TextArea

Variable Index

 o eventDispatch
Event dispatcher.

Constructor Index

 o TextArea()
Default Constructor.
 o TextArea(int, int)
Constructor, creates a textarea with nRows rows and nColumns colums.
 o TextArea(String)
Constructor, creates a textarea initialized to aValue string.
 o TextArea(String, int, int)
Constructor, creates a textarea initialized to aValue string with numColumns columns..

Method Index

 o handleEvent(Event)
Event handler.

Variables

 o eventDispatch
  public EventDispatch eventDispatch
Event dispatcher. Dispatches the event to the appropriate user defined event handling method.
See Also:
Event, EventDispatch, Callback

Constructors

 o TextArea
  public TextArea()
Default Constructor.
 o TextArea
  public TextArea(int nRows,
                  int nColumns)
Constructor, creates a textarea with nRows rows and nColumns colums.
Parameters:
nRows - Number of rows for this textfield
nColumns - Number of columns for this textfield
 o TextArea
  public TextArea(String aValue)
Constructor, creates a textarea initialized to aValue string.
Parameters:
aValue - String to initialize text area with.
 o TextArea
  public TextArea(String aValue,
                  int nRows,
                  int nColumns)
Constructor, creates a textarea initialized to aValue string with numColumns columns..
Parameters:
aValue - String to initialize area with.
nRows - Number of rows for this textarea
nColumns - Number of columns for this textarea

Methods

 o handleEvent
  public boolean handleEvent(Event evt)
Event handler. Dispatches the event to the appropriate attached methodRef. User defined method(s) can control the event propagation by setting the processed instance variable in the CallbackInfo object.
Parameters:
evt - The event.
Overrides:
handleEvent in class Component
See Also:
Event, handle, processed

All Packages  Class Hierarchy  This Package  Previous  Next  Index