vipratech.beans.standardbeans
Class StatusBar

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--vipratech.awt.VPanel
                          |
                          +--vipratech.beans.standardbeans.StatusBar

public class StatusBar
extends VPanel

The StatusBar class is used to display messages to the user, for example, at the base of an applet. To initalise the Statusbar you must added the Statusbarmanager to the applet and vipratech.beans.standardbeans.StatusBarManager statusBarManager1.setStatusbar(vipratech.beans.standardbeans.StatusBar); statusBarManager1.loadStatusMessageStrings();

Version:
1.06, February 08, 2000
Author:
Warwick Bailey   warwick-bailey@bigfoot.com
See Also:
StatusBarManager, Serialized Form

Fields inherited from class vipratech.awt.VPanel
fm
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
StatusBar()
          Constructor
 
Method Summary
 java.awt.Insets getInsets()
          Sets a margin around this component.
 java.awt.Dimension getMinimumSize()
          Returns the minimum size of the progress bar.
 java.lang.String getText()
          Returns the text dislayed by the status bar.
 void paint(java.awt.Graphics g)
          Draws a border around this component.
 void setText(java.lang.String text)
          Sets the text to be dislayed by the status bar.
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, getMaximumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusBar

public StatusBar()
Constructor
Method Detail

getInsets

public java.awt.Insets getInsets()
Sets a margin around this component. The paint method can draw borders representing a 3D recessed panel in these margins.
Overrides:
getInsets in class java.awt.Container

paint

public final void paint(java.awt.Graphics g)
Draws a border around this component. The borders are drawn to represent a 3D recessed panel.
Overrides:
paint in class java.awt.Container

setText

public final void setText(java.lang.String text)
Sets the text to be dislayed by the status bar.

getText

public final java.lang.String getText()
Returns the text dislayed by the status bar.

getMinimumSize

public final java.awt.Dimension getMinimumSize()
Returns the minimum size of the progress bar. The minimum size is set to be a width of 30 pixels and a height of the font plus 1 pixel above and below the font used in the applet.
Overrides:
getMinimumSize in class java.awt.Container

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de