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
-
eventDispatch
- Event dispatcher.
-
TextArea()
- Default Constructor.
-
TextArea(int, int)
- Constructor, creates a textarea with nRows rows and nColumns colums.
-
TextArea(String)
- Constructor, creates a textarea initialized to aValue string.
-
TextArea(String, int, int)
- Constructor, creates a textarea initialized to aValue string
with numColumns columns..
-
handleEvent(Event)
- Event handler.
eventDispatch
public EventDispatch eventDispatch
- Event dispatcher. Dispatches the event to the appropriate
user defined event handling method.
- See Also:
- Event, EventDispatch, Callback
TextArea
public TextArea()
- Default Constructor.
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
TextArea
public TextArea(String aValue)
- Constructor, creates a textarea initialized to aValue string.
- Parameters:
- aValue - String to initialize text area with.
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
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