public class CrossAnnotation extends Annotation
Annotation.CursorLineStyle, Annotation.InfoLabelDragger, Annotation.Pointer
Modifier and Type | Field and Description |
---|---|
(package private) static int |
CROSS_SIZE |
currentSnappedSample, pointerDragged, trace, xAxis, xValue, yAxis, yValue
Constructor and Description |
---|
CrossAnnotation(java.lang.String name,
Axis xAxis,
Axis yAxis) |
CrossAnnotation(java.lang.String name,
Trace trace) |
Modifier and Type | Method and Description |
---|---|
protected void |
paintFigure(org.eclipse.draw2d.Graphics graphics) |
void |
setCurrentSnappedSample(ISample currentSnappedSample,
boolean keepLabelPosition) |
addAnnotationListener, axisAutoScaleChanged, axisForegroundColorChanged, axisLogScaleChanged, axisRangeChanged, axisRevalidated, axisTitleChanged, containsPoint, dataChanged, getAnnotationColor, getAnnotationColorRGB, getAnnotationFont, getCursorLineStyle, getFontData, getLabelProvider, getName, getTrace, getXAxis, getXValue, getYAxis, getYValue, isFree, isShowName, isShowPosition, isShowSampleInfo, layout, remove, setAnnotationColor, setAnnotationFont, setCurrentPosition, setCurrentPosition, setCursorLineStyle, setdxdy, setFont, setFree, setLabelProvider, setLocation, setName, setShowName, setShowPosition, setShowSampleInfo, setTrace, setValues, setXAxis, setXYGraph, setYAxis, toFront, updateToDefaultPosition, updateX0Y0Fromdxdy
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
static final int CROSS_SIZE
public CrossAnnotation(java.lang.String name, Trace trace)
public void setCurrentSnappedSample(ISample currentSnappedSample, boolean keepLabelPosition)
setCurrentSnappedSample
in class Annotation
currentSnappedSample
- the currentSnappedSample to setprotected void paintFigure(org.eclipse.draw2d.Graphics graphics)
paintFigure
in class Annotation