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 Modifier and Type Interface Description static classScatterPlotView.PropertyType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddKeyListener(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)MutableProperty<java.lang.Boolean>getAntialiasing()RowgetClosestRow(int x, int y)MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>getColorTheme()Returns the color theme to use.MutableProperty<java.lang.Boolean>getDisplayLabels()MutableProperty<java.lang.Float>getGridThickness()MutableProperty<java.lang.Double>getMarkerSize()ScatterPlotModelgetModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.ComponentgetNativeComponent()MutablePropertiesgetProperties()MutableProperty<java.lang.Boolean>getRegression()MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>getRendering()java.util.List<Row>getRows(com.macrofocus.geom.Rectangle2D rect)Returns the nodes overlapping the specified rectangle.com.macrofocus.rubberband.RubberBandgetRubberBand()com.macrofocus.transform.twod.MutableTwoDScreenTransformgetScreenTransform()MutableProperty<com.macrofocus.igraphics.CPColor<Color>>getShowColor()MutableProperty<java.lang.Boolean>getShowFiltered()MutableProperty<java.lang.Boolean>getShowGrid()MutableProperty<SizeProportion>getSizeProportion()com.macrofocus.plot.guide.Guide<Component,Color,Font>getXGuide()MutableBoundedIntervalgetXRangeModel()com.macrofocus.plot.guide.Guide<Component,Color,Font>getYGuide()MutableBoundedIntervalgetYRangeModel()booleanisMaintainAspectRatio()booleanisSelectionMode()booleanisShowTiming()Returns whether information about refresh rate should be displayed.voidsetAntialiasing(MutableProperty<java.lang.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<java.lang.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 Detail
-
setShowFiltered
void setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
-
setRendering
void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering)
-
setAntialiasing
void setAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)
-
getNativeComponent
Component getNativeComponent()
-
getClosestRow
Row getClosestRow(int x, int y)
-
getRows
java.util.List<Row> getRows(com.macrofocus.geom.Rectangle2D rect)
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
void setLicenseModel(LicenseModel licenseModel)
-
setModel
void setModel(ScatterPlotModel model)
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()
-
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:
setModel(com.macrofocus.high_d.scatterplot.ScatterPlotModel)
-
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<java.lang.Boolean> getShowFiltered()
-
getShowGrid
MutableProperty<java.lang.Boolean> getShowGrid()
-
getAntialiasing
MutableProperty<java.lang.Boolean> getAntialiasing()
-
getRendering
MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering()
-
getGridThickness
MutableProperty<java.lang.Float> getGridThickness()
-
getShowColor
MutableProperty<com.macrofocus.igraphics.CPColor<Color>> getShowColor()
-
getRegression
MutableProperty<java.lang.Boolean> getRegression()
-
getMarkerSize
MutableProperty<java.lang.Double> getMarkerSize()
-
getDisplayLabels
MutableProperty<java.lang.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)
-
-