Interface ScatterPlotView<Component,Color,Font,Row,Column>
- All Known Implementing Classes:
AbstractScatterPlotView,SwingScatterPlotView
public interface ScatterPlotView<Component,Color,Font,Row,Column>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyListener(com.macrofocus.crossplatform.CPCanvas.KeyListener listener) voidaddMouseListener(com.macrofocus.crossplatform.CPCanvas.MouseListener l) voidaddMouseMotionListener(com.macrofocus.crossplatform.CPCanvas.MouseMotionListener l) voidaddMouseWheelListener(com.macrofocus.crossplatform.CPCanvas.MouseWheelListener l) getClosestRow(int x, int y) MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> Returns the color theme to use.getModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRows(com.macrofocus.geom.Rectangle2D rect) Returns the nodes overlapping the specified rectangle.com.macrofocus.rubberband.RubberBandcom.macrofocus.transform.twod.MutableTwoDScreenTransformMutableProperty<com.macrofocus.igraphics.CPColor<Color>> booleanbooleanbooleanReturns whether information about refresh rate should be displayed.voidsetAntialiasing(MutableProperty<Boolean> antialiasing) voidsetColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Sets the color theme to use.voidsetLicenseModel(LicenseModel licenseModel) voidsetMaintainAspectRatio(boolean maintainAspectRatio) voidsetModel(ScatterPlotModel model) Sets the data model and registers with it for listener notifications from the new data model.voidsetRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering) voidsetSelectionMode(boolean value) voidsetShowFiltered(MutableProperty<Boolean> showFiltered) voidsetShowTiming(boolean showTiming) Sets whether information about refresh rate should be displayed.voidzoom(boolean animate, double x1, double x2, double y1, double y2)
-
Method Details
-
getXGuide
-
getYGuide
-
setShowFiltered
-
setRendering
-
setAntialiasing
-
getNativeComponent
Component getNativeComponent() -
getClosestRow
-
getRows
Returns the nodes overlapping the specified rectangle.- Parameters:
rect- the rectangle in screen coordinates- Returns:
- the list of nodes
-
getRubberBand
com.macrofocus.rubberband.RubberBand getRubberBand() -
isSelectionMode
boolean isSelectionMode() -
setSelectionMode
void setSelectionMode(boolean value) -
isShowTiming
boolean isShowTiming()Returns whether information about refresh rate should be displayed.- Returns:
- true to display refresh rate information, false otherwise
-
setShowTiming
void setShowTiming(boolean showTiming) Sets whether information about refresh rate should be displayed.- Parameters:
showTiming- true to display refresh rate information, false otherwise
-
setLicenseModel
-
setModel
Sets the data model and registers with it for listener notifications from the new data model.- Parameters:
model- the new data model- See Also:
-
getModel
ScatterPlotModel getModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.- Returns:
- the ScatterPlotModel that provides the data displayed by this ScatterPlotView
- See Also:
-
getColorTheme
MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()Returns the color theme to use.- Returns:
- the color theme
-
setColorTheme
void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Sets the color theme to use.- Parameters:
colorTheme- the color theme to use
-
getXRangeModel
MutableBoundedInterval getXRangeModel() -
getYRangeModel
MutableBoundedInterval getYRangeModel() -
getScreenTransform
com.macrofocus.transform.twod.MutableTwoDScreenTransform getScreenTransform() -
zoom
void zoom(boolean animate, double x1, double x2, double y1, double y2) -
getShowFiltered
MutableProperty<Boolean> getShowFiltered() -
getShowGrid
MutableProperty<Boolean> getShowGrid() -
getAntialiasing
MutableProperty<Boolean> getAntialiasing() -
getRendering
MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering() -
getGridThickness
MutableProperty<Float> getGridThickness() -
getShowColor
MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getShowColor() -
getRegression
MutableProperty<Boolean> getRegression() -
getMarkerSize
MutableProperty<Double> getMarkerSize() -
getMarkerExtraSizeHighlight
MutableProperty<Integer> getMarkerExtraSizeHighlight() -
getDisplayLabels
MutableProperty<Boolean> getDisplayLabels() -
getSizeProportion
MutableProperty<SizeProportion> getSizeProportion() -
getProperties
MutableProperties getProperties() -
setMaintainAspectRatio
void setMaintainAspectRatio(boolean maintainAspectRatio) -
isMaintainAspectRatio
boolean isMaintainAspectRatio() -
addMouseListener
void addMouseListener(com.macrofocus.crossplatform.CPCanvas.MouseListener l) -
addMouseMotionListener
void addMouseMotionListener(com.macrofocus.crossplatform.CPCanvas.MouseMotionListener l) -
addMouseWheelListener
void addMouseWheelListener(com.macrofocus.crossplatform.CPCanvas.MouseWheelListener l) -
addKeyListener
void addKeyListener(com.macrofocus.crossplatform.CPCanvas.KeyListener listener)
-