vipratech.beans.vtbeans
Class Adsorber

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--vipratech.awt.VCanvas
                    |
                    +--vipratech.beans.vtbeans.Adsorber

public class Adsorber
extends VCanvas
implements java.lang.Runnable

The Adsorber is a Beans where the experimental datas are sending to other screening beans

Version:
1.00, December 12, 2000
Author:
Hendrik Dathe   dathe@chemie.uni-leipzig.de
See Also:
Serialized Form

Fields inherited from class vipratech.awt.VCanvas
fm
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
Adsorber()
          The Constructor
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener pc1)
          Method to register property change listeners at design time.
 void calculateColor()
          Calculate the Color for the Gaszone
 void drawAdsorber(int länge, int breite, java.awt.Graphics g)
          Draws the Adsorber
 void function(int t)
          Calculate the breakthroughgraph for the temperatur
 int getCurve()
          Method to get the curve which is shown in the graph
 int getI()
          Method to get the variable I
 int getLänge()
          Method to get the lenght of the adsorber
 java.awt.Dimension getMinimumSize()
          get the minimumsize of the Adsorber
 int getTemp()
          Method to get the temperature
 float getX1()
           
 float getYDataPoint1()
           
 void initialise()
          Intiliase the adsorber
 void paint(java.awt.Graphics g)
          Draws all components to the screen.
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener pc1)
          Method to de-register property change listeners at design time.
 void reset()
           
 void resume()
          Resumes the thread.
 void run()
          The thread.
 void saved(float endPointX)
          Method to save the datas
 void sendData(float x, java.util.Vector y1Values, java.util.Vector y2Values)
          Send the Data to the recorders etc.
 void setCurve(int newCurve)
          Method to set the curve which is shown in the graph
 void setI(int newI)
          Method to set the variable I
 void setTemp(int newTemp)
          Method to set the temperature
 void start()
          Start the thread for the Breakthroughgraph
 void stop()
          Stops the thread.
 void suspend()
          Suspends the thread.
 void update(java.awt.Graphics g)
           
 void zone(int xi, int yi, int breitei, int höhei, int zon, java.awt.Graphics g)
          Calculate the Gaszone
 
Methods inherited from class java.awt.Canvas
addNotify
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, 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, 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, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Adsorber

public Adsorber()
The Constructor
Method Detail

drawAdsorber

public void drawAdsorber(int länge,
                         int breite,
                         java.awt.Graphics g)
Draws the Adsorber

zone

public void zone(int xi,
                 int yi,
                 int breitei,
                 int höhei,
                 int zon,
                 java.awt.Graphics g)
Calculate the Gaszone

calculateColor

public void calculateColor()
Calculate the Color for the Gaszone

paint

public void paint(java.awt.Graphics g)
Draws all components to the screen.
Overrides:
paint in class java.awt.Canvas

getMinimumSize

public java.awt.Dimension getMinimumSize()
get the minimumsize of the Adsorber
Overrides:
getMinimumSize in class java.awt.Component

initialise

public void initialise()
Intiliase the adsorber

start

public void start()
Start the thread for the Breakthroughgraph

stop

public void stop()
Stops the thread.

update

public void update(java.awt.Graphics g)
Overrides:
update in class java.awt.Component

reset

public void reset()

run

public void run()
The thread.
Specified by:
run in interface java.lang.Runnable

sendData

public void sendData(float x,
                     java.util.Vector y1Values,
                     java.util.Vector y2Values)
Send the Data to the recorders etc.

propertyChange

public final void propertyChange(java.beans.PropertyChangeEvent event)

function

public void function(int t)
Calculate the breakthroughgraph for the temperatur

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener pc1)
Method to register property change listeners at design time.
Overrides:
addPropertyChangeListener in class java.awt.Component

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener pc1)
Method to de-register property change listeners at design time.
Overrides:
removePropertyChangeListener in class java.awt.Component

setTemp

public void setTemp(int newTemp)
Method to set the temperature

getTemp

public int getTemp()
Method to get the temperature

setCurve

public void setCurve(int newCurve)
Method to set the curve which is shown in the graph

getCurve

public int getCurve()
Method to get the curve which is shown in the graph

suspend

public final void suspend()
Suspends the thread.

resume

public final void resume()
Resumes the thread.

setI

public void setI(int newI)
Method to set the variable I

getI

public int getI()
Method to get the variable I

getLänge

public int getLänge()
Method to get the lenght of the adsorber

getX1

public float getX1()

getYDataPoint1

public float getYDataPoint1()

saved

public void saved(float endPointX)
Method to save the datas

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de