vipratech.beans.userbeans
Class FunctionPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--vipratech.awt.VPanel
                          |
                          +--vipratech.beans.userbeans.FunctionPanel

public class FunctionPanel
extends VPanel
implements AdjustmentFloatListener

This class contain the classes for calculating some function like sprung, sinus, rectangle and trigonemtric.

For using you have to connect this bean with the output(sending through the Propertychange) and you must connect the class Selectfunction and Sliderpanel to the Functionpanel

To start the caculating the functions connect the buttonon or connect other buttons with the start method.

Version:
1.0, May 2001
Author:
Hendrik Dathe   dathe@chemie.uni-leipzig.de
See Also:
SelectFunction, SliderPanel, Serialized Form

Inner Class Summary
 class FunctionPanel.RectFunction
           
 class FunctionPanel.SinFunction
           
 class FunctionPanel.SprungFunction
           
 class FunctionPanel.TriFunction
           
 
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
FunctionPanel()
           
 
Method Summary
 void addAdjustmentFloatListener(AdjustmentFloatListener l)
           
 void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
           
 void dataChanged(AdjustmentFloatEvent e)
           
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 void removeAdjustmentFloatListener(AdjustmentFloatListener l)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
           
 void reset()
           
 void setColor(java.awt.Color newColor)
           
 void start()
           
 void stop()
           
 
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, paint, 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, 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, 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

FunctionPanel

public FunctionPanel()
Method Detail

setColor

public void setColor(java.awt.Color newColor)

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)

removeAdjustmentFloatListener

public void removeAdjustmentFloatListener(AdjustmentFloatListener l)

addAdjustmentFloatListener

public void addAdjustmentFloatListener(AdjustmentFloatListener l)

dataChanged

public void dataChanged(AdjustmentFloatEvent e)
Specified by:
dataChanged in interface AdjustmentFloatListener

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Overrides:
addPropertyChangeListener in class java.awt.Component

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Overrides:
removePropertyChangeListener in class java.awt.Component

start

public void start()

stop

public void stop()

reset

public void reset()

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de