borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.view 

LabelView class

java.lang.Object
   +----java.awt.Component
           +----java.awt.Label
                   +----borland.jbcl.view.LabelView
                           +----borland.jbcl.control.LabelControl

About the LabelView class

Variables  Properties  Methods  Event Listeners

Implements SingletonModelListener, SingletonView, MenuContainer, ImageObserver, Serializable, EventListener

The LabelView component is a view element for developing new composite components. It requires a SingletonModel data model and a SingletonViewManager view manager.

See also: Writing model-view components


LabelView variables

Variables implemented in java.awt.Component

Variables implemented in java.awt.Label

LabelView properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.awt.Component

Properties implemented in java.awt.Label

Properties implemented in java.lang.Object

LabelView methods

Methods implemented in this class

Methods implemented in java.awt.Component

Methods implemented in java.awt.Label

Methods implemented in java.lang.Object

LabelView event listeners


LabelView properties

model

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

preferredSize

 public Dimension getPreferredSize()

readOnly

 public boolean isReadOnly()
 public void setReadOnly(boolean ro)

text

 public void setText(java.lang.String text)

viewManager

 public SingletonViewManager getViewManager()
 public void setViewManager(borland.jbcl.model.SingletonViewManager svm)

writeModel

 public WritableSingletonModel getWriteModel()

LabelView methods

postText()

  protected void postText()

updateText()

  protected void updateText()

LabelView event listeners

This class 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)