vipratech.beans.standardbeans
Class VerticalLine

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

public class VerticalLine
extends VPanel

Draws a vertical line with a 3D effect for separating columns in graphical user interfaces, GUIs. The default is a recessed line, but the bevel boolean value can be set to "true" to give a raised or embossed appearance to the line.

Version:
1.00, November 4, 1999
Author:
Warwick Bailey   warwick-bailey@bigfoot.com
See Also:
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
VerticalLine()
           
 
Method Summary
 boolean getBevel()
          Returns the bevel state of the line.
 java.awt.Dimension getMinimumSize()
          Gets the minimum size of this component of width 3px, height 1px.
 void paint(java.awt.Graphics g)
          Draws the line using the colors inherited from the vipratech.awt.RootCanvas base class.
 void setBevel(boolean bevel)
          If the bevel value is set to true, the line appears raised or embossed.
 
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, 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

VerticalLine

public VerticalLine()
Method Detail

paint

public final void paint(java.awt.Graphics g)
Draws the line using the colors inherited from the vipratech.awt.RootCanvas base class. The RootCanvas.class implements the InterfaceProperties interface which supplies all the color variables. The colors are chosen to match those of the client operating system GUI under which the applet is being displayed.
Overrides:
paint in class java.awt.Container

getMinimumSize

public final java.awt.Dimension getMinimumSize()
Gets the minimum size of this component of width 3px, height 1px.
Overrides:
getMinimumSize in class java.awt.Container

setBevel

public final void setBevel(boolean bevel)
If the bevel value is set to true, the line appears raised or embossed. The default false value displays the line as recessed.

getBevel

public final boolean getBevel()
Returns the bevel state of the line.

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de