vipratech.awt
Class VLabel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Label
              |
              +--vipratech.awt.VLabel

public class VLabel
extends java.awt.Label
implements InterfaceProperties

The VLabel is a base class that can be extended to build component based beans and GUI components. If VLabel is extended, rather than java.awt.Label, then the resulting sub-class implements all the colors, fonts and language variables and internationalisation features set up in vipratech.awt.InterfaceProperties interface.

VLabel is also available as a bean.

Version:
1.00, March 07, 2001
Author:
Warwick Bailey   warwick-bailey@bigfoot.com
See Also:
InterfaceProperties, Serialized Form

Field Summary
 java.awt.FontMetrics fm
           
 
Fields inherited from class java.awt.Label
CENTER, LEFT, RIGHT
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
VLabel()
           
 
Method Summary
 java.lang.String getKey()
          Returns the key for the component.
 void propertyChange(java.beans.PropertyChangeEvent event)
          Allows this component to be wired up to vipratech.beans.LanguageChoice at design time.
 void setKey(java.lang.String key)
          Sets a key for the component.
 void setLocale(java.util.Locale locale)
           
 
Methods inherited from class java.awt.Label
addNotify, getAlignment, getText, setAlignment, setText
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fm

public java.awt.FontMetrics fm
Constructor Detail

VLabel

public VLabel()
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
Allows this component to be wired up to vipratech.beans.LanguageChoice at design time.

setKey

public void setKey(java.lang.String key)
Sets a key for the component. The key is used to extract a locale specific label from a key/value pair in a resource bundle.

getKey

public java.lang.String getKey()
Returns the key for the component. The key is used to extract a locale specific label from a key/value pair in a resource bundle.

setLocale

public void setLocale(java.util.Locale locale)
Overrides:
setLocale in class java.awt.Component

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de