|
||||||
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 | +--fractsplinewavelets.PlotXY
Plugin of ImageJ:
Fractional Spline Wavelet
Authors:
Daniel Sage
daniel.sage@epfl.ch
Swiss Federal Institute of Technology Lausanne,
Biomedical Imaging Group,
CH-1015 Lausanne, Switzerland,
http://bigwww.epfl.ch
Version:
24 January 2002
Copyright
Copyright © 2002, Swiss Federal Institute of Technology, Lausanne, Switzerland, (EPFL)
Purpose of the class:
Display a plot XY.
Inner classes inherited from class java.awt.Canvas |
java.awt.Canvas.AccessibleAWTCanvas |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
static int |
AUTOSCALING
|
static int |
FIXSCALING
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
PlotXY(int sizeX,
int sizeY)
The constructor only creates an empty space of specified dimensions. |
Method Summary | |
void |
paint(java.awt.Graphics g)
Overload the update paint. |
void |
setColor(java.awt.Color colorCurve,
java.awt.Color colorAxis)
Set the color curve. |
void |
setScalingModeOnX(int modeScalingX)
Set the scaling mode on X. |
void |
setScalingModeOnX(int modeScalingX,
double a,
double b)
Set the scaling mode on X (FIXSCALING). |
void |
setScalingModeOnY(int modeScalingY)
Set the scaling mode on Y. |
void |
setScalingModeOnY(int modeScalingY,
double a,
double b)
Set the scaling mode on Y (FIXSCALING). |
void |
setXY(double[] x,
double[] y)
Set the x and y vector for the curve y = f(x) and display it. |
void |
update(java.awt.Graphics g)
Overload the update method. |
Methods inherited from class java.awt.Canvas |
addNotify, getAccessibleContext |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, 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, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, 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, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int AUTOSCALING
public static final int FIXSCALING
Constructor Detail |
public PlotXY(int sizeX, int sizeY)
sizeX
- Size of the canvas in XsizeY
- Size of the canvas in YMethod Detail |
public void setColor(java.awt.Color colorCurve, java.awt.Color colorAxis)
color
- Color of the curvepublic void setScalingModeOnX(int modeScalingX)
modeScalingX
- Scaling mode on X axispublic void setScalingModeOnX(int modeScalingX, double a, double b)
modeScalingX
- Scaling mode on X axisa
- Multiplying factorb
- Shift factorpublic void setScalingModeOnY(int modeScalingY)
modeScalingY
- Scaling mode on Y axispublic void setScalingModeOnY(int modeScalingY, double a, double b)
modeScalingX
- Scaling mode on X axisa
- Multiplying factorb
- Shift factorpublic void setXY(double[] x, double[] y)
x
- data on X axisy
- data on Y axispublic void update(java.awt.Graphics g)
update
in class java.awt.Component
public void paint(java.awt.Graphics g)
paint
in class java.awt.Canvas
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |