borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.control 

TextAreaControl component

java.lang.Object
   +----java.awt.Component
           +----java.awt.TextComponent
                   +----java.awt.TextArea
                           +----borland.jbcl.view.TextAreaView
                                   +----borland.jbcl.control.TextAreaControl

About the TextAreaControl component

Variables  Constructors  Properties  Methods  Event Listeners

Implements AccessListener, DataChangeListener, NavigationListener, SingletonModel, SingletonModelListener, WritableSingletonModel, BlackBox, SingletonView, MenuContainer, ImageObserver, Serializable, EventListener

TextAreaControl is a graphical user interface element for displaying and editing large amounts of text. While a TextFieldControl displays a single line of text, a TextAreaControl displays multiple lines of text and is scrollable. It is designed to function similarly to java.awt.TextArea but provides the greater flexibility of model-view composition.


TextAreaControl variables

Variables implemented in borland.jbcl.view.TextAreaView

Variables implemented in java.awt.Component

Variables implemented in java.awt.TextArea

Variables implemented in java.awt.TextComponent

TextAreaControl constructors

TextAreaControl properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in borland.jbcl.view.TextAreaView

Properties implemented in java.awt.Component

Properties implemented in java.awt.TextArea

Properties implemented in java.awt.TextComponent

Properties implemented in java.lang.Object

TextAreaControl methods

Methods implemented in this class

Methods implemented in borland.jbcl.view.TextAreaView

Methods implemented in java.awt.Component

Methods implemented in java.awt.TextArea

Methods implemented in java.awt.TextComponent

Methods implemented in java.lang.Object

TextAreaControl event listeners


TextAreaControl constructors

TextAreaControl()

  public TextAreaControl()
Constructs a TextAreaControl component with default properties.


TextAreaControl properties

columnName

 public String getColumnName()
 public void setColumnName(java.lang.String newColumnName)
Stores the name of the Column in the DataSet that contains the data to display in the TextAreaControl.

dataSet

 public DataSet getDataSet()
 public void setDataSet(borland.jbcl.dataset.DataSet newDataSet)
The dataSet property specifies a borland.jbcl.dataset.DataSet object that provides the data to display in the TextAreaControl.

model

 public void setModel(borland.jbcl.model.SingletonModel sm)

Specifies the model object that manages the component's data item.

This setter checks for recursive model creation, then calls this method in the superclass: jbcl.view.TextAreaView.setModel()


TextAreaControl methods

addNotify()

  public void addNotify()
Creates the peer control appropriate for the platform.

Overrides: java.awt.TextArea.addNotify()

processKeyEvent(java.awt.event.KeyEvent)

  protected void processKeyEvent(java.awt.event.KeyEvent e)

Calls super.processKeyEvent(), then checks for insert, pageDown, and pageUp keys, to turn off Insert mode, go to the next row, or go to the prior row of the DataSet that provides the text to display.

Overrides: borland.jbcl.view.TextAreaView.processKeyEvent(KeyEvent)


TextAreaControl event listeners

This component is a source for the following event sets. For information on the standard AWT event sets, see Standard Java events. For information on the JBCL event sets, see Events in JBCL.

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener l)
 public synchronized void removeComponentListener(java.awt.event.ComponentListener l)

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener l)
 public synchronized void removeFocusListener(java.awt.event.FocusListener l)

key

 public synchronized void addKeyListener(java.awt.event.KeyListener l)
 public synchronized void removeKeyListener(java.awt.event.KeyListener l)

model

 public void addModelListener(borland.jbcl.model.SingletonModelListener l)
 public void removeModelListener(borland.jbcl.model.SingletonModelListener l)

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener l)
 public synchronized void removeMouseListener(java.awt.event.MouseListener l)

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener l)
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener l)

text

 public synchronized void addTextListener(java.awt.event.TextListener l)
 public void removeTextListener(java.awt.event.TextListener l)