java.awt.event.ComponentListener
, java.awt.event.MouseListener
, java.awt.event.MouseMotionListener
, java.awt.image.ImageObserver
, java.awt.MenuContainer
, java.io.Serializable
, java.util.EventListener
, javax.accessibility.Accessible
, ScrollableImage.Scrollable
public class WavePanel extends javax.swing.JPanel implements ScrollableImage.Scrollable, java.awt.event.ComponentListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor | Description |
---|---|
WavePanel(java.awt.Color label_color) |
Modifier and Type | Method | Description |
---|---|---|
void |
componentHidden(java.awt.event.ComponentEvent e) |
|
void |
componentMoved(java.awt.event.ComponentEvent e) |
|
void |
componentResized(java.awt.event.ComponentEvent e) |
|
void |
componentShown(java.awt.event.ComponentEvent e) |
|
void |
copyColumn(int xsrc,
int dx,
int ymax) |
|
void |
drawLine(int x0,
int y0,
int x1,
int y1) |
|
void |
fillRange(int x1,
int x2,
int y1,
int y2,
int cRGB) |
|
void |
fillRect(int x0,
int y0,
int x1,
int y1,
int cRGB) |
|
int |
getHeight() |
|
ImageSelection |
getImageSelection() |
|
int |
getWidth() |
|
void |
initLine(int x0,
int y0,
int x1,
int y1,
boolean active,
int idx) |
|
void |
mouseClicked(java.awt.event.MouseEvent e) |
|
void |
mouseDragged(java.awt.event.MouseEvent e) |
|
void |
mouseEntered(java.awt.event.MouseEvent e) |
|
void |
mouseExited(java.awt.event.MouseEvent e) |
|
void |
mouseMoved(java.awt.event.MouseEvent e) |
|
void |
mousePressed(java.awt.event.MouseEvent e) |
|
void |
mouseReleased(java.awt.event.MouseEvent e) |
|
void |
moveLine(int x0,
int y0,
int x1,
int y1,
boolean active,
int idx) |
|
void |
plotColumn(int x,
int[] ycol) |
|
void |
plotPoint(int x,
int y,
int cRGB) |
|
void |
renderScrollable(java.awt.Graphics g,
int x0,
int y0,
int x1,
int y1) |
|
void |
repaint(int x0,
int y0,
int dx,
int dy) |
|
void |
scrollWnd(int sx,
int mx,
int x_ref) |
|
void |
setLabel(java.lang.String lbl) |
|
void |
setLineColor(int c,
int idx) |
|
void |
setMouseCursor(int cur) |
|
void |
setPenRGB(int cRGB) |
|
void |
setSupH(long supH) |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
createVolatileImage, getGraphicsConfiguration
public void renderScrollable(java.awt.Graphics g, int x0, int y0, int x1, int y1)
renderScrollable
in interface ScrollableImage.Scrollable
public ImageSelection getImageSelection()
public int getWidth()
getWidth
in class javax.swing.JComponent
public int getHeight()
getHeight
in class javax.swing.JComponent
public void setSupH(long supH)
public void setMouseCursor(int cur)
public void repaint(int x0, int y0, int dx, int dy)
repaint
in class java.awt.Component
public void setPenRGB(int cRGB)
public void drawLine(int x0, int y0, int x1, int y1)
public void fillRect(int x0, int y0, int x1, int y1, int cRGB)
public void scrollWnd(int sx, int mx, int x_ref)
public void setLineColor(int c, int idx)
public void initLine(int x0, int y0, int x1, int y1, boolean active, int idx)
public void moveLine(int x0, int y0, int x1, int y1, boolean active, int idx)
public void setLabel(java.lang.String lbl)
public void fillRange(int x1, int x2, int y1, int y2, int cRGB)
public void plotPoint(int x, int y, int cRGB)
public void plotColumn(int x, int[] ycol)
public void copyColumn(int xsrc, int dx, int ymax)
public void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
public void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
public void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener