borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.control
java.lang.Object +----java.awt.Component +----java.awt.TextComponent +----java.awt.TextArea +----borland.jbcl.view.TextAreaView +----borland.jbcl.control.TextAreaControl
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.
public TextAreaControl()Constructs a TextAreaControl component with default properties.
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.
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.
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()
public void addNotify()Creates the peer control appropriate for the platform.
Overrides: java.awt.TextArea.addNotify()
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)
public synchronized void addComponentListener(java.awt.event.ComponentListener l) public synchronized void removeComponentListener(java.awt.event.ComponentListener l)
public synchronized void addFocusListener(java.awt.event.FocusListener l) public synchronized void removeFocusListener(java.awt.event.FocusListener l)
public synchronized void addKeyListener(java.awt.event.KeyListener l) public synchronized void removeKeyListener(java.awt.event.KeyListener l)
public void addModelListener(borland.jbcl.model.SingletonModelListener l) public void removeModelListener(borland.jbcl.model.SingletonModelListener l)
public synchronized void addMouseListener(java.awt.event.MouseListener l) public synchronized void removeMouseListener(java.awt.event.MouseListener l)
public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener l) public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener l)
public synchronized void addTextListener(java.awt.event.TextListener l) public void removeTextListener(java.awt.event.TextListener l)