vipratech.beans.standardbeans
Class InterfacePanel

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

public class InterfacePanel
extends VPanel

The InterfacePanel class is used for building graphical user inteface panels and screens to give various 3D highlighted border effects.

Version:
1.05, March 11, 2001
Author:
Warwick Bailey   warwick-bailey@bigfoot.com
See Also:
Serialized Form

Field Summary
static int DOWN
          Sets a border around the display panel give a 3D recessed effect.
static int FLAT
          Sets a border around the display panel in the control shadow color.
static int MAIN
          Sets a border around the display panel give a 3D recessed screen effect.
static int NONE
          The panel behaves as vipratech.awt.RootPanel with no border.
static int TITLE_BORDER
          Sets a box around the display panel suitable for grouping GUI components.
static int UP
          Sets a border around the display panel give a 3D raised effect.
 
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
InterfacePanel()
          Constructor.
 
Method Summary
 int getBorderStyle()
          Sets the border style.
 boolean getEnabled()
          Returns the enable toggle
 java.lang.String getKey()
          Returns the key for the component that is used to extract a locale specific label from a key/value pair in a resource bundle.
 java.lang.String getLabel()
          Returns the GUI label for this component.
 java.util.Locale getLocale()
          Returns the locale for this component.
 void paint(java.awt.Graphics g)
          Draws the various types of borders.
 void propertyChange(java.beans.PropertyChangeEvent event)
          Allows this component to be wired up to vipratech.beans.LanguageChoice at design time.
 void setBorderStyle(int borderStyle)
          Sets the border style.
 void setEnabled(boolean enabled)
          Sets the enable toggle
 void setKey(java.lang.String key)
          Sets a key for the component that can be used to extract a locale specific label from a key/value pair in a resource bundle.
 void setLabel(java.lang.String label)
          Sets the GUI label for this component.
 void setLocale(java.util.Locale locale)
          Sets the locale for this component.
 
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, getInsets, getLayout, getMaximumSize, getMinimumSize, 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, 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, setForeground, 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
 

Field Detail

NONE

public static final int NONE
The panel behaves as vipratech.awt.RootPanel with no border.

DOWN

public static final int DOWN
Sets a border around the display panel give a 3D recessed effect.

UP

public static final int UP
Sets a border around the display panel give a 3D raised effect.

FLAT

public static final int FLAT
Sets a border around the display panel in the control shadow color.

TITLE_BORDER

public static final int TITLE_BORDER
Sets a box around the display panel suitable for grouping GUI components.

MAIN

public static final int MAIN
Sets a border around the display panel give a 3D recessed screen effect.
Constructor Detail

InterfacePanel

public InterfacePanel()
Constructor.
Method Detail

paint

public final void paint(java.awt.Graphics g)
Draws the various types of borders.
Overrides:
paint in class java.awt.Container

propertyChange

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

setKey

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

getKey

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

setLocale

public final void setLocale(java.util.Locale locale)
Sets the locale for this component.
Overrides:
setLocale in class java.awt.Component

getLocale

public final java.util.Locale getLocale()
Returns the locale for this component.
Overrides:
getLocale in class java.awt.Component

setLabel

public final void setLabel(java.lang.String label)
Sets the GUI label for this component.

getLabel

public final java.lang.String getLabel()
Returns the GUI label for this component.

setBorderStyle

public final void setBorderStyle(int borderStyle)
Sets the border style.

getBorderStyle

public final int getBorderStyle()
Sets the border style.

setEnabled

public final void setEnabled(boolean enabled)
Sets the enable toggle
Overrides:
setEnabled in class java.awt.Component

getEnabled

public final boolean getEnabled()
Returns the enable toggle

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de