public interface IXYGraph
extends org.eclipse.draw2d.IFigure
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_CONFIG |
static java.lang.String |
PROPERTY_XY_GRAPH_MEM |
static java.lang.String |
PROPERTY_ZOOMTYPE |
static java.lang.String |
X_AXIS
default X axis name
|
static java.lang.String |
Y_AXIS
default Y axis name
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(Annotation annotation)
Add an annotation
|
void |
addAxis(Axis axis)
Add an axis to the graph
|
void |
addTrace(Trace trace)
Add a trace
|
void |
fireConfigChanged() |
java.util.List<Axis> |
getAxisList() |
org.eclipse.swt.graphics.Image |
getImage() |
Legend |
getLegend(Trace trace) |
java.util.Map<Axis,Legend> |
getLegendMap() |
OperationsManager |
getOperationsManager() |
PlotArea |
getPlotArea() |
Axis |
getPrimaryXAxis() |
Axis |
getPrimaryYAxis() |
java.lang.String |
getTitle() |
org.eclipse.swt.graphics.Color |
getTitleColor() |
org.eclipse.swt.graphics.RGB |
getTitleColorRgb() |
org.eclipse.swt.graphics.Font |
getTitleFont() |
org.eclipse.swt.graphics.FontData |
getTitleFontData() |
java.util.List<Axis> |
getXAxisList() |
XYGraphMemento |
getXyGraphMem() |
java.util.List<Axis> |
getYAxisList() |
ZoomType |
getZoomType() |
boolean |
isShowLegend() |
boolean |
isShowTitle() |
boolean |
isTransparent() |
void |
paintFigure(org.eclipse.draw2d.Graphics graphics) |
void |
performAutoScale()
Perform forced autoscale to all axes.
|
void |
performStagger()
Stagger all axes: Autoscale each axis so that traces on various axes
don't overlap
|
void |
removeAnnotation(Annotation annotation)
Remove an annotation
|
boolean |
removeAxis(Axis axis)
Remove an axis from the graph
|
void |
removeTrace(Trace trace)
Remove a trace.
|
void |
setShowLegend(boolean showLegend) |
void |
setShowTitle(boolean showTitle) |
void |
setTitle(java.lang.String title) |
void |
setTitleColor(org.eclipse.swt.graphics.Color titleColor) |
void |
setTitleFont(org.eclipse.swt.graphics.Font titleFont) |
void |
setTransparent(boolean transparent) |
void |
setXyGraphMem(XYGraphMemento xyGraphMem) |
void |
setZoomType(ZoomType zoomType) |
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, 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, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setClippingStrategy, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
static final java.lang.String PROPERTY_CONFIG
static final java.lang.String PROPERTY_XY_GRAPH_MEM
static final java.lang.String PROPERTY_ZOOMTYPE
static final java.lang.String X_AXIS
static final java.lang.String Y_AXIS
void fireConfigChanged()
XYGraphMemento getXyGraphMem()
void setXyGraphMem(XYGraphMemento xyGraphMem)
void setZoomType(ZoomType zoomType)
zoomType
- the zoomType to setZoomType getZoomType()
void setTitle(java.lang.String title)
title
- the title to setvoid setShowTitle(boolean showTitle)
showTitle
- true if title should be shown; false otherwise.boolean isShowTitle()
void setShowLegend(boolean showLegend)
showLegend
- true if legend should be shown; false otherwise.boolean isShowLegend()
void addAxis(Axis axis)
axis
- boolean removeAxis(Axis axis)
axis
- void addTrace(Trace trace)
trace
- void removeTrace(Trace trace)
trace
- void addAnnotation(Annotation annotation)
annotation
- void removeAnnotation(Annotation annotation)
annotation
- void setTitleFont(org.eclipse.swt.graphics.Font titleFont)
titleFont
- the titleFont to setorg.eclipse.swt.graphics.Font getTitleFont()
org.eclipse.swt.graphics.FontData getTitleFontData()
void setTitleColor(org.eclipse.swt.graphics.Color titleColor)
titleColor
- the titleColor to setvoid paintFigure(org.eclipse.draw2d.Graphics graphics)
void setTransparent(boolean transparent)
transparent
- the transparent to setboolean isTransparent()
PlotArea getPlotArea()
org.eclipse.swt.graphics.Image getImage()
org.eclipse.swt.graphics.Color getTitleColor()
org.eclipse.swt.graphics.RGB getTitleColorRgb()
java.lang.String getTitle()
OperationsManager getOperationsManager()
java.util.List<Axis> getXAxisList()
java.util.List<Axis> getYAxisList()
java.util.List<Axis> getAxisList()
void performAutoScale()
void performStagger()
Axis getPrimaryXAxis()
Axis getPrimaryYAxis()