Package org.yamcs.studio.archive
Class Timeline
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.yamcs.studio.archive.Timeline
- All Implemented Interfaces:
Drawable
-
Field Summary
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCanvasMouseListener
(MouseListener listener) void
addCanvasMouseMoveListener
(MouseMoveListener listener) void
void
void
double
distanceBetween
(OffsetDateTime time1, OffsetDateTime time2) getStart()
getStop()
mouse2time
(int mouseX) void
panBy
(long amountToPanBy, TemporalUnit unit) double
positionTime
(OffsetDateTime time) void
void
setBounds
(OffsetDateTime start, OffsetDateTime stop) void
setSelection
(OffsetDateTime start, OffsetDateTime stop) void
zoom
(double factor, OffsetDateTime relto) void
zoomIn()
void
zoomOut()
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, toString
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar, setScrollbarsMode
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, 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, setFont, 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, addTypedListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, getTypedListeners, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, removeTypedListener, reskin, setData, setData
-
Constructor Details
-
Timeline
-
-
Method Details
-
getCanvas
-
setBounds
-
setSelection
-
clearSelection
public void clearSelection() -
panBy
-
getCenter
-
mouse2time
-
positionTime
-
distanceBetween
-
zoomIn
public void zoomIn() -
zoomOut
public void zoomOut() -
zoom
-
addCanvasMouseListener
-
addCanvasMouseMoveListener
-
addViewportChangeListener
-
removeViewportChangeListener
-
getStart
-
getStop
-
getSelectionStart
-
getSelectionStop
-
getHistograms
-
getHistograms
-
clearLines
public void clearLines()
-