Class Oscilloscope
- java.lang.Object
-
- org.eclipse.swt.widgets.Widget
-
- org.eclipse.swt.widgets.Control
-
- org.eclipse.swt.widgets.Scrollable
-
- org.eclipse.swt.widgets.Composite
-
- org.eclipse.swt.widgets.Canvas
-
- org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope
-
- org.eclipse.nebula.widgets.oscilloscope.Oscilloscope
-
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
public class Oscilloscope extends Oscilloscope
Deprecated.useOscilloscope
Animated widget that tries to mimic an Oscilloscope. An oscilloscope (also known as a scope, CRO or, an O-scope) is a type of electronic test instrument that allows observation of constantly varying signal voltages, usually as a two-dimensional graph of one or more electrical potential differences using the vertical or 'Y' axis, plotted as a function of time, (horizontal or 'x' axis). http://en.wikipedia.org/ wiki/Oscilloscope
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope
Oscilloscope.IntegerFiFoCircularStack
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_DELAY
Deprecated.The default delay in milliseconds before the dispatcher is asked to redraw.static int[]
HEARTBEAT
Deprecated.private java.util.Map<OscilloscopeStackAdapter,OscilloscopeStackAdapter>
listeners
Deprecated.static int
PULSE_DEFAULT
Deprecated.The default number of ticks before a new value is asked.private int
scope
Deprecated.-
Fields inherited from class org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope
BASE_CENTER, CURSOR_START_DEFAULT, DEFAULT_HEIGHT, DEFAULT_WIDTH, LINE_WIDTH_DEFAULT, PROGRESSION_DEFAULT, STEADYPOSITION_75PERCENT, TAILFADE_DEFAULT, TAILFADE_NONE, TAILFADE_PERCENTAGE, TAILSIZE_DEFAULT, TAILSIZE_FILL, TAILSIZE_MAX
-
-
Constructor Summary
Constructors Constructor Description Oscilloscope(org.eclipse.swt.widgets.Composite parent, int style)
Deprecated.useOscilloscope
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addStackListener(OscilloscopeStackAdapter listener)
Deprecated.useOscilloscope
int
getBase()
Deprecated.useOscilloscope
int
getBaseOffset()
Deprecated.useOscilloscope
int
getLineWidth()
Deprecated.useOscilloscope
int
getProgression()
Deprecated.useOscilloscope
int
getTailFade()
Deprecated.useOscilloscope
int
getTailSize()
Deprecated.useOscilloscope
boolean
isConnect()
Deprecated.useOscilloscope
boolean
isFade()
Deprecated.useOscilloscope
boolean
isPercentage()
Deprecated.useOscilloscope
boolean
isSteady()
Deprecated.useOscilloscope
void
removeStackListener(OscilloscopeStackAdapter listener)
Deprecated.useOscilloscope
void
setBaseOffset(int baseOffset)
Deprecated.useOscilloscope
void
setConnect(boolean connectHeadAndTail)
Deprecated.useOscilloscope
void
setFade(boolean fade)
Deprecated.useOscilloscope
void
setLineWidth(int lineWidth)
Deprecated.useOscilloscope
void
setPercentage(boolean percentage)
Deprecated.useOscilloscope
void
setProgression(int progression)
Deprecated.useOscilloscope
void
setSteady(boolean steady, int steadyPosition)
Deprecated.useOscilloscope
void
setTailFade(int tailFade)
Deprecated.useOscilloscope
void
setTailSize(int size)
Deprecated.useOscilloscope
void
setValue(int value)
Deprecated.useOscilloscope
void
setValues(int[] values)
Deprecated.useOscilloscope
-
Methods inherited from class org.eclipse.nebula.widgets.oscilloscope.multichannel.Oscilloscope
addStackListener, computeSize, controlMoved, controlResized, getBase, getBaseOffset, getChannels, getDispatcher, getForeground, getGridBackground, getGridForeground, getGridLineWidth, getGridSquareSize, getLineWidth, getProgression, getTailFade, getTailSize, isAntiAlias, isConnect, isFade, isPercentage, isSteady, needsRedraw, paintControl, removeStackListener, setAntialias, setBaseOffset, setConnect, setDispatcher, setFade, setForeground, setGridBackground, setGridForeground, setGridLineWidth, setGridSquareSize, setLineWidth, setPercentage, setProgression, setSteady, setTailFade, setTailSize, setValue, setValues, widgetDisposed
-
Methods inherited from class org.eclipse.swt.widgets.Canvas
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME
-
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
-
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
-
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isAutoScalable, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
-
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
-
-
-
-
Field Detail
-
DEFAULT_DELAY
public static final int DEFAULT_DELAY
Deprecated.The default delay in milliseconds before the dispatcher is asked to redraw.- See Also:
- Constant Field Values
-
PULSE_DEFAULT
public static final int PULSE_DEFAULT
Deprecated.The default number of ticks before a new value is asked.- See Also:
- Constant Field Values
-
HEARTBEAT
public static final int[] HEARTBEAT
Deprecated.
-
listeners
private java.util.Map<OscilloscopeStackAdapter,OscilloscopeStackAdapter> listeners
Deprecated.
-
scope
private int scope
Deprecated.
-
-
Constructor Detail
-
Oscilloscope
public Oscilloscope(org.eclipse.swt.widgets.Composite parent, int style)
Deprecated.useOscilloscope
The default constructor.- Parameters:
parent
-style
-
-
-
Method Detail
-
getTailSize
public int getTailSize()
Deprecated.useOscilloscope
-
getBaseOffset
public int getBaseOffset()
Deprecated.useOscilloscope
-
setBaseOffset
public void setBaseOffset(int baseOffset)
Deprecated.useOscilloscope
-
getBase
public int getBase()
Deprecated.useOscilloscope
-
getProgression
public int getProgression()
Deprecated.useOscilloscope
-
setProgression
public void setProgression(int progression)
Deprecated.useOscilloscope
-
isConnect
public boolean isConnect()
Deprecated.useOscilloscope
-
setConnect
public void setConnect(boolean connectHeadAndTail)
Deprecated.useOscilloscope
-
isFade
public boolean isFade()
Deprecated.useOscilloscope
-
setFade
public void setFade(boolean fade)
Deprecated.useOscilloscope
-
getTailFade
public int getTailFade()
Deprecated.useOscilloscope
-
isSteady
public boolean isSteady()
Deprecated.useOscilloscope
-
setValues
public void setValues(int[] values)
Deprecated.useOscilloscope
-
setValue
public void setValue(int value)
Deprecated.useOscilloscope
-
setTailSize
public void setTailSize(int size)
Deprecated.useOscilloscope
-
setLineWidth
public void setLineWidth(int lineWidth)
Deprecated.useOscilloscope
-
getLineWidth
public int getLineWidth()
Deprecated.useOscilloscope
-
setPercentage
public void setPercentage(boolean percentage)
Deprecated.useOscilloscope
-
isPercentage
public boolean isPercentage()
Deprecated.useOscilloscope
-
setSteady
public void setSteady(boolean steady, int steadyPosition)
Deprecated.useOscilloscope
-
setTailFade
public void setTailFade(int tailFade)
Deprecated.useOscilloscope
-
addStackListener
public void addStackListener(OscilloscopeStackAdapter listener)
Deprecated.useOscilloscope
This method keeps its own record of listeners but also delegates to the instance of the superclass.- Parameters:
listener
-
-
removeStackListener
public void removeStackListener(OscilloscopeStackAdapter listener)
Deprecated.useOscilloscope
This method removes our own copy of the stack listeners.- Parameters:
listener
-
-
-