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 class
ScatterPlotView.PropertyType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addKeyListener(com.macrofocus.crossplatform.CPCanvas.KeyListener listener)
void
addMouseListener(com.macrofocus.crossplatform.CPCanvas.MouseListener l)
void
addMouseMotionListener(com.macrofocus.crossplatform.CPCanvas.MouseMotionListener l)
void
addMouseWheelListener(com.macrofocus.crossplatform.CPCanvas.MouseWheelListener l)
MutableProperty<java.lang.Boolean>
getAntialiasing()
Row
getClosestRow(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()
ScatterPlotModel
getModel()
Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.Component
getNativeComponent()
MutableProperties
getProperties()
MutableProperty<java.lang.Boolean>
getRegression()
MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>
getRendering()
java.util.List<Row>
getRows(com.macrofocus.igraphics.Rectangle2D rect)
Returns the nodes overlapping the specified rectangle.com.macrofocus.rubberband.RubberBand
getRubberBand()
com.macrofocus.transform.twod.MutableTwoDScreenTransform
getScreenTransform()
MutableProperty<com.macrofocus.igraphics.CPColor<Color>>
getShowColor()
MutableProperty<java.lang.Boolean>
getShowFiltered()
MutableProperty<java.lang.Boolean>
getShowGrid()
com.macrofocus.plot.guide.Guide<Component,Color,Font>
getXGuide()
MutableBoundedInterval
getXRangeModel()
com.macrofocus.plot.guide.Guide<Component,Color,Font>
getYGuide()
MutableBoundedInterval
getYRangeModel()
boolean
isMaintainAspectRatio()
boolean
isSelectionMode()
boolean
isShowTiming()
Returns whether information about refresh rate should be displayed.void
setAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)
void
setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Sets the color theme to use.void
setLicenseModel(LicenseModel licenseModel)
void
setMaintainAspectRatio(boolean maintainAspectRatio)
void
setModel(ScatterPlotModel model)
Sets the data model and registers with it for listener notifications from the new data model.void
setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering)
void
setSelectionMode(boolean value)
void
setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
void
setShowTiming(boolean showTiming)
Sets whether information about refresh rate should be displayed.void
zoom(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.igraphics.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()
-
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)
-
-