- All Superinterfaces:
org.eclipse.draw2d.IFigure
- All Known Implementing Classes:
XYGraph
public interface IXYGraph
extends org.eclipse.draw2d.IFigure
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsets
-
Field Summary
Fields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
-
Method Summary
Methods inherited from interface org.eclipse.draw2d.IFigure
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
-
-
Method Details
-
-
-
-
- Parameters:
zoomType
- the zoomType to set
-
-
void setTitle(java.lang.String title)
- Parameters:
title
- the title to set
-
void setShowTitle(boolean showTitle)
- Parameters:
showTitle
- true if title should be shown; false otherwise.
-
boolean isShowTitle()
- Returns:
- true if title should be shown; false otherwise.
-
void setShowLegend(boolean showLegend)
- Parameters:
showLegend
- true if legend should be shown; false otherwise.
-
boolean isShowLegend()
- Returns:
- the showLegend
-
Add an axis to the graph
- Parameters:
axis
-
-
boolean removeAxis(
Axis axis)
Remove an axis from the graph
- Parameters:
axis
-
- Returns:
- true if this axis exists.
-
void addTrace(
Trace trace)
Add a trace
- Parameters:
trace
-
-
void removeTrace(
Trace trace)
Remove a trace.
- Parameters:
trace
-
-
Add an annotation
- Parameters:
annotation
-
-
Remove an annotation
- Parameters:
annotation
-
-
void setTitleFont(org.eclipse.swt.graphics.Font titleFont)
- Parameters:
titleFont
- the titleFont to set
-
org.eclipse.swt.graphics.Font getTitleFont()
- Returns:
- the title font.
-
org.eclipse.swt.graphics.FontData getTitleFontData()
-
void setTitleColor(org.eclipse.swt.graphics.Color titleColor)
- Parameters:
titleColor
- the titleColor to set
-
void paintFigure(org.eclipse.draw2d.Graphics graphics)
-
void setTransparent(boolean transparent)
- Parameters:
transparent
- the transparent to set
-
boolean isTransparent()
- Returns:
- the transparent
-
- Returns:
- the plotArea, which contains all the elements drawn inside it.
-
org.eclipse.swt.graphics.Image getImage()
- Returns:
- Image of the XYFigure. Receiver must dispose.
-
org.eclipse.swt.graphics.Color getTitleColor()
- Returns:
- the titleColor
-
org.eclipse.swt.graphics.RGB getTitleColorRgb()
-
java.lang.String getTitle()
- Returns:
- the title
-
- Returns:
- the operationsManager
-
java.util.List<Axis> getXAxisList()
- Returns:
- the xAxisList
-
java.util.List<Axis> getYAxisList()
- Returns:
- the yAxisList
-
java.util.List<Axis> getAxisList()
- Returns:
- the all the axis include xAxes and yAxes. yAxisList is appended
to xAxisList in the returned list.
-
-
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
-
-
-