|
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Canvas | +--vipratech.awt.VCanvas | +--vipratech.beans.userbeans.FunctionPanel.TriFunction
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 | |
FunctionPanel.TriFunction()
|
Method Summary | |
void |
dataChanged(AdjustmentFloatEvent event)
This is the slider support In slider bean use following names: "baseValue" "amplitude" "highTime" "periodTime" |
void |
destroy()
|
float |
getAmp()
Gets the amplitude value of the function |
float |
getBase()
Gets the base value of the function |
int |
getDelay()
Gets delay between calculations |
float |
getHigh()
Gets the time for the high phase |
float |
getMax()
Gets the maximum y value of the function |
float |
getPeriod()
Gets the time for one period |
void |
propertyChange(java.beans.PropertyChangeEvent event)
This is the listener for something like the OnButton which sends a propertyChangeEvent called "Status" This switches the funtion to on or off. |
void |
reset()
Resets all data. |
void |
run()
This method is called when the thread starts. |
void |
setAmp(float amp)
Sets the amplitude value of the function |
void |
setBase(float base)
Sets the base value of the function |
void |
setDelay(int pause)
Sets delay between calculations |
void |
setHigh(float high)
Sets the time for the high phase |
void |
setMax(float max)
Sets the maximum y value of the function |
void |
setPeriod(float period)
Sets the time for one period |
void |
start()
Starts the thread and therefore the calculation and the output |
void |
stop()
Stops, better pauses the thread. |
Methods inherited from class java.awt.Canvas |
addNotify,
paint |
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,
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,
setLocale,
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 |
Constructor Detail |
public FunctionPanel.TriFunction()
Method Detail |
public final void start()
public final void stop()
public final void run()
public final void propertyChange(java.beans.PropertyChangeEvent event)
public final void dataChanged(AdjustmentFloatEvent event)
public final void reset()
public final void destroy()
public final void setDelay(int pause)
public final int getDelay()
public final void setHigh(float high)
public final float getHigh()
public final void setPeriod(float period)
public final float getPeriod()
public final void setBase(float base)
public final float getBase()
public final void setAmp(float amp)
public final float getAmp()
public final void setMax(float max)
public final float getMax()
|
dathe@chemie.uni-leipzig.de" | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |