Class CircleAnnotation
java.lang.Object
org.eclipse.draw2d.Figure
org.eclipse.nebula.visualization.xygraph.figures.Annotation
org.eclipse.nebula.visualization.xygraph.figures.CircleAnnotation
- All Implemented Interfaces:
org.eclipse.draw2d.IFigure,IDataProviderListener,IAxisListener
public class CircleAnnotation extends Annotation
Variation of annotation that is represented as a circle with a diameter of
eight pixels.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.nebula.visualization.xygraph.figures.Annotation
Annotation.CursorLineStyle, Annotation.InfoLabelDragger, Annotation.Pointer -
Field Summary
Fields inherited from class org.eclipse.nebula.visualization.xygraph.figures.Annotation
currentSnappedSample, pointerDragged, trace, xAxis, xValue, yAxis, yValue -
Constructor Summary
Constructors Constructor Description CircleAnnotation(java.lang.String name, Trace trace) -
Method Summary
Modifier and Type Method Description protected voidpaintFigure(org.eclipse.draw2d.Graphics graphics)voidsetCurrentSnappedSample(ISample currentSnappedSample, boolean keepLabelPosition)Methods inherited from class org.eclipse.nebula.visualization.xygraph.figures.Annotation
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, updateX0Y0FromdxdyMethods inherited from class org.eclipse.draw2d.Figure
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
-
Constructor Details
-
Method Details
-
setCurrentSnappedSample
- Overrides:
setCurrentSnappedSamplein classAnnotation- Parameters:
currentSnappedSample- the currentSnappedSample to set
-
paintFigure
protected void paintFigure(org.eclipse.draw2d.Graphics graphics)- Overrides:
paintFigurein classAnnotation
-