borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.control
java.lang.Object +----java.awt.Component +----java.awt.Container +----java.awt.Panel +----borland.jbcl.view.BeanPanel +----borland.jbcl.view.FieldView +----borland.jbcl.control.FieldControl +----borland.jbcl.control.ImageControl
Variables Constructors Properties Methods Event Listeners
Implements AccessListener, DataChangeListener, NavigationListener, ItemEditSite, ItemPaintSite, SingletonModel, SingletonModelListener, WritableSingletonModel, BlackBox, SingletonView, MenuContainer, FocusListener, KeyListener, ImageObserver, Serializable, EventListener
The FieldControl is a graphical user interface element that has a single value. Use a FieldControl when you want to display a single value in your application. This value can be any single value by itself, or a value stored in a DataSet.
The FieldControl is a composite component that follows the model-view architecture and uses a Singleton data model. Use the Singleton data model if you want to display a specified value.
The FieldControl can also derive its value from a DataSet. In such cases, the data source of this value is specified by its columnName and dataSet properties. The current row position of the DataSet determines the row from which the specified Column value is extracted.
public FieldControl()Constructs a FieldControl component with properties set to default values.
public String getColumnName() public void setColumnName(java.lang.String newColumnName)Stores the string name of the Column in the DataSet which contains the data to display in the FieldControl.
See also: dataSet
public DataSet getDataSet() public void setDataSet(borland.jbcl.dataset.DataSet newDataSet)Specifies the borland.jbcl.dataset.DataSet object that contains the data to display in the FieldControl. The value from the current row and column of the DataSet is used.
public void setModel(borland.jbcl.model.SingletonModel model)The Singleton model object for the FieldControl.
public synchronized String getText() public synchronized void setText(java.lang.String text)The string text to display in the FieldControl.
public void addNotify()
Overrides: java.awt.Panel.addNotify()
protected void processKeyPressed(java.awt.event.KeyEvent e)
Parameters:
Overrides: borland.jbcl.view.FieldView.processKeyPressed(KeyEvent)
public synchronized void addActionListener(java.awt.event.ActionListener l) public synchronized void removeActionListener(java.awt.event.ActionListener l)
public synchronized void addComponentListener(java.awt.event.ComponentListener l) public synchronized void removeComponentListener(java.awt.event.ComponentListener l)
public synchronized void addContainerListener(java.awt.event.ContainerListener l) public void removeContainerListener(java.awt.event.ContainerListener l)
public synchronized void addFocusListener(java.awt.event.FocusListener l) public synchronized void removeFocusListener(java.awt.event.FocusListener l)
public void addKeyListener(java.awt.event.KeyListener l) public 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)