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 Modifier and Type Field Description private static int
CIRCLE_DIAMETER
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
paintFigure(org.eclipse.draw2d.Graphics graphics)
void
setCurrentSnappedSample(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, updateX0Y0Fromdxdy
-
Methods 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
-
-
-
-
Field Detail
-
CIRCLE_DIAMETER
private static final int CIRCLE_DIAMETER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CircleAnnotation
public CircleAnnotation(java.lang.String name, Trace trace)
-
-
Method Detail
-
setCurrentSnappedSample
public void setCurrentSnappedSample(ISample currentSnappedSample, boolean keepLabelPosition)
- Overrides:
setCurrentSnappedSample
in classAnnotation
- Parameters:
currentSnappedSample
- the currentSnappedSample to set
-
paintFigure
protected void paintFigure(org.eclipse.draw2d.Graphics graphics)
- Overrides:
paintFigure
in classAnnotation
-
-