public class MultiWaveform extends Waveform
JComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected int |
curr_point_sig_idx |
protected boolean |
fixed_legend |
static int |
HORIZONTAL |
static int |
LEGEND_BOTTOM |
static int |
LEGEND_IN_GRAPHICS |
static int |
LEGEND_RIGHT |
protected double |
legend_x |
protected double |
legend_y |
static int |
MAX_DRAG_POINT |
protected Vector<Signal> |
orig_signals |
protected double |
orig_xmax |
protected double |
orig_xmin |
static int |
PRINT_BW |
static int |
PRINT_LEGEND |
protected boolean |
show_legend |
protected Vector<Signal> |
signals |
static int |
VERTICAL |
WaveInterface |
wi |
change_limits, COLOR_NAME, COLOR_SET, colorMap, colors, colors_changed, colors_name, copy_selected, crosshair_color, curr_display_limits, curr_point, curr_point_y, curr_rect, def_cursor, dragging, end_x, end_y, EPICS_BASE, EPICS_TIME, first_set_point, font, frame, frame_time, frames, grid, grid_mode, grid_step_x, grid_step_y, horizontal_offset, int_xlabel, int_ylabel, is_debug, is_image, is_mb2, is_mb3, is_playing, is_select, JAVA_TIME, just_deselected, lx_max, lx_min, ly_max, ly_min, marker_width, MARKER_WIDTH, MAX_POINTS, menu, mode, MODE_COPY, MODE_PAN, MODE_POINT, MODE_WAIT, MODE_ZOOM, NO_PRINT, not_drawn, num_points, off_graphics, off_image, orig_x, orig_y, pan_delta_x, pan_delta_y, pan_x, pan_y, points, polygon, prev_frame, prev_height, prev_point_x, prev_point_y, prev_width, PRINT, resizing, reversed, select_border, show_measure, show_sig_image, start_x, start_y, timeMode, title, unselect_border, update_timestamp, vertical_offset, VMS_BASE, VMS_TIME, wave_b_box, wave_error, wave_point_x, wave_point_y, waveform_signal, wm, x_label, x_log, y_label, y_log, z_label, zoom_on_mb1listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
MultiWaveform() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSignal(Signal s) |
void |
addSignals(Signal[] s) |
void |
appendUpdate() |
void |
Autoscale() |
void |
AutoscaleY() |
void |
Copy(Waveform wave) |
protected void |
drawLegend(Graphics g,
Point p,
int print_mode,
int orientation) |
protected void |
drawMarkers(Graphics g,
Vector<Polygon> segments,
int mark_type,
int step,
int mode) |
protected void |
drawMarkers(Graphics g,
Vector<Polygon> segments,
Signal s) |
protected void |
drawSignal(Graphics g) |
protected void |
drawSignal(Graphics g,
Dimension d,
int print_mode) |
void |
Erase() |
boolean |
exists(Signal s) |
protected Point |
FindPoint(double curr_x,
double curr_y,
boolean is_first) |
protected Point |
FindPoint(double curr_x,
double curr_y,
Dimension d,
boolean is_first) |
protected int |
getBottomSize() |
int |
GetColorIdx(int idx) |
boolean |
GetInterpolate(int idx) |
protected Dimension |
getLegendDimension(Graphics g,
Dimension d,
int orientation) |
int |
getLegendMode() |
double |
GetLegendXPosition() |
double |
GetLegendYPosition() |
int |
GetMarker(int idx) |
int |
GetMarkerStep(int idx) |
protected int |
getRightSize() |
int |
GetSelectedSignal() |
int |
GetShowSignalCount() |
Signal |
GetSignal() |
protected Color |
getSignalColor(int i) |
int |
getSignalCount() |
protected String |
getSignalInfo(int i) |
int |
getSignalMode1D() |
int |
getSignalMode1D(int idx) |
int |
getSignalMode2D() |
int |
getSignalMode2D(int idx) |
String |
getSignalName(int idx) |
Vector<Signal> |
GetSignals() |
String[] |
GetSignalsName() |
boolean[] |
GetSignalsState() |
boolean |
GetSignalState(int idx) |
int |
getSignalType() |
int |
getSignalType(int idx) |
WaveInterface |
getWaveInterface() |
protected void |
HandleCopy() |
protected void |
HandlePaste() |
boolean |
isFixedLegend() |
boolean |
IsShowLegend() |
protected boolean |
isSignalShow(int i) |
protected void |
NotifyZoom(double start_xs,
double end_xs,
double start_ys,
double end_ys,
int timestamp) |
void |
paint(Graphics g,
Dimension d,
int print_mode) |
protected void |
PaintSignal(Graphics g,
Dimension d,
int print_mode) |
void |
RemoveLegend() |
void |
removeSignal(int idx) |
void |
replaceSignal(int idx,
Signal s) |
protected void |
ReportLimits(mds.wave.Waveform.ZoomRegion r,
boolean add_undo) |
void |
ResetScales() |
void |
SetColorIdx(int idx,
int color_idx) |
void |
SetInterpolate(int idx,
boolean interpolate) |
void |
SetLegend(Point p) |
void |
setLegendMode(int legend_mode) |
protected void |
setLimits() |
void |
SetMarker(int idx,
int marker) |
void |
SetMarkerStep(int idx,
int marker_step) |
void |
SetMode(int mod) |
void |
setPointSignalIndex(int idx) |
void |
setShowLegend(boolean show_legend) |
void |
setSignalMode(int mode) |
void |
setSignalMode(int idx,
int mode) |
void |
SetSignalState(String label,
boolean state) |
void |
setWaveInterface(WaveInterface wi) |
void |
setXlimits(double xmin,
double xmax) |
void |
SetXScale(Waveform w) |
void |
SetXScaleAutoY(Waveform w) |
void |
setYlimits(float ymin,
float ymax) |
void |
signalUpdated(boolean changeLimits) |
void |
Update() |
void |
Update(Frames frames) |
void |
Update(Signal[] signals) |
void |
UpdatePoint(double curr_x) |
void |
UpdatePoint(double curr_x,
double curr_y) |
void |
UpdateSignals(Signal[] signals,
int timestamp,
boolean force_update) |
addWaveformListener, appendPaint, applyColorModel, ColorNameToIndex, convertFromSpecificDeltaTime, convertFromSpecificTime, convertToSpecificTime, ConvertToString, convertX, convertY, DeselectWave, dispatchWaveformEvent, drawContourLevel, DrawFrame, DrawImage, drawMarkers, drawMarkers, drawSignal, drawSignalContour, FindPoint, GetColorIdx, getColorMap, getColors, getColorsName, getColumn, GetGridMode, GetGridStepX, GetGridStepY, GetHorizontalOffset, GetImage, getIndex, GetInterpolate, getIntervalPoints, getLegendDimension, GetMarker, GetMarkerStep, getMinimumSize, GetMode, getPrintWaveSize, getProperties, getRow, getSignalName, getTimeMode, GetTitle, GetVerticalOffset, GetWaveformMetrics, getWaveSize, GetXLabel, GetYLabel, IsCopySelected, IsImage, IsReversed, IsSelected, isSendProfile, IsShowSigImage, isWaveformVisible, MaxXSignal, MaxYSignal, MinXSignal, MinYSignal, paintComponent, PaintImage, performZoom, PlayFrame, Playing, removeWaveformListener, Repaint, resetMode, Resize, SelectWave, sendCutEvent, sendPasteEvent, sendProfileEvent, sendUpdateEvent, SetColorIdx, setColorMap, SetColors, SetCopySelected, SetCrosshairColor, SetCrosshairColor, SetDefaultColors, SetEnabledDispatchEvents, SetEnabledPan, setFixedLimits, setFixedLimits, SetFont, setFont, setFrameBitShift, setFrameMinMax, SetFrames, SetGridMode, SetGridSteps, SetHorizontalOffset, SetInterpolate, setKeys, SetMarker, SetMarkerStep, SetMarkerWidth, setMouse, SetPointMeasure, setProperties, SetReversed, SetScale, setSelectBorder, setSendProfile, SetShowMeasure, setShowSigImage, setSignalMode1D, setSignalMode2D, SetSignalState, SetTitle, SetVerticalOffset, SetXLabel, SetXLog, SetYLabel, SetYLog, SetYScale, ShowMeasure, StopFrame, undoZoom, undoZoomPendig, Update, Update, UpdateImage, UpdateSignaladdAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, 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, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUIadd, add, add, add, add, addContainerListener, addImpl, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, 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, getPeer, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final int MAX_DRAG_POINT
public static final int HORIZONTAL
public static final int VERTICAL
public static final int PRINT_LEGEND
public static final int PRINT_BW
public static final int LEGEND_IN_GRAPHICS
public static final int LEGEND_BOTTOM
public static final int LEGEND_RIGHT
protected double orig_xmin
protected double orig_xmax
protected int curr_point_sig_idx
protected boolean show_legend
protected double legend_x
protected double legend_y
protected boolean fixed_legend
public WaveInterface wi
public void addSignal(Signal s)
public void addSignals(Signal[] s)
public void appendUpdate()
appendUpdate in class Waveformpublic void AutoscaleY()
AutoscaleY in class Waveformprotected void drawMarkers(Graphics g, Vector<Polygon> segments, int mark_type, int step, int mode)
drawMarkers in class Waveformprotected void drawSignal(Graphics g)
drawSignal in class Waveformprotected void drawSignal(Graphics g, Dimension d, int print_mode)
drawSignal in class Waveformpublic boolean exists(Signal s)
protected Point FindPoint(double curr_x, double curr_y, boolean is_first)
protected int getBottomSize()
getBottomSize in class Waveformpublic int GetColorIdx(int idx)
public boolean GetInterpolate(int idx)
public int getLegendMode()
public double GetLegendXPosition()
public double GetLegendYPosition()
public int GetMarker(int idx)
public int GetMarkerStep(int idx)
protected int getRightSize()
getRightSize in class Waveformpublic int GetSelectedSignal()
GetSelectedSignal in class Waveformpublic int GetShowSignalCount()
GetShowSignalCount in class Waveformprotected Color getSignalColor(int i)
public int getSignalCount()
protected String getSignalInfo(int i)
public int getSignalMode1D()
getSignalMode1D in class Waveformpublic int getSignalMode1D(int idx)
public int getSignalMode2D()
getSignalMode2D in class Waveformpublic int getSignalMode2D(int idx)
public String getSignalName(int idx)
public String[] GetSignalsName()
public boolean[] GetSignalsState()
public boolean GetSignalState(int idx)
public int getSignalType()
getSignalType in class Waveformpublic int getSignalType(int idx)
public WaveInterface getWaveInterface()
protected void HandleCopy()
HandleCopy in class Waveformprotected void HandlePaste()
HandlePaste in class Waveformpublic boolean isFixedLegend()
public boolean IsShowLegend()
protected boolean isSignalShow(int i)
protected void NotifyZoom(double start_xs,
double end_xs,
double start_ys,
double end_ys,
int timestamp)
NotifyZoom in class Waveformprotected void PaintSignal(Graphics g, Dimension d, int print_mode)
PaintSignal in class Waveformpublic void RemoveLegend()
public void removeSignal(int idx)
public void replaceSignal(int idx,
Signal s)
protected void ReportLimits(mds.wave.Waveform.ZoomRegion r,
boolean add_undo)
ReportLimits in class Waveformpublic void ResetScales()
ResetScales in class Waveformpublic void SetColorIdx(int idx,
int color_idx)
public void SetInterpolate(int idx,
boolean interpolate)
public void SetLegend(Point p)
public void setLegendMode(int legend_mode)
protected void setLimits()
public void SetMarker(int idx,
int marker)
public void SetMarkerStep(int idx,
int marker_step)
public void setPointSignalIndex(int idx)
public void setShowLegend(boolean show_legend)
public void setSignalMode(int mode)
public void setSignalMode(int idx,
int mode)
public void SetSignalState(String label, boolean state)
public void setWaveInterface(WaveInterface wi)
public void setXlimits(double xmin,
double xmax)
setXlimits in class Waveformpublic void SetXScaleAutoY(Waveform w)
SetXScaleAutoY in class Waveformpublic void setYlimits(float ymin,
float ymax)
setYlimits in class Waveformpublic void signalUpdated(boolean changeLimits)
signalUpdated in interface SignalListenersignalUpdated in class Waveformpublic void Update(Frames frames)
public void Update(Signal[] signals)
public void UpdatePoint(double curr_x)
UpdatePoint in class Waveformpublic void UpdatePoint(double curr_x,
double curr_y)
UpdatePoint in class Waveformpublic void UpdateSignals(Signal[] signals, int timestamp, boolean force_update)
Copyright © 2022. All rights reserved.