Interface DistributionsView<Component,Color,Row,Column,Value,Bin>
-
- All Superinterfaces:
com.macrofocus.crossplatform.CPComponent<Component>,com.macrofocus.crossplatform.CPInteractiveComponent<Component>
- All Known Implementing Classes:
AbstractDistributionsView,SwingDistributionsView
public interface DistributionsView<Component,Color,Row,Column,Value,Bin> extends com.macrofocus.crossplatform.CPInteractiveComponent<Component>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDistributionsView.Orientationstatic classDistributionsView.PropertyType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableProperty<java.lang.Boolean>getAntialiasing()java.util.List<Bin>getBins(com.macrofocus.geom.Rectangle2D rect)BingetClosestBin(int x, int y)com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin>getClosestDistribution(int x, int y)RowgetClosestRow(int x, int y)MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>getColorTheme()Returns the color theme to use.com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin>getDistributionDimension(com.macrofocus.high_d.axis.AxisModel<Row,Column> axisModel)MutableProperty<com.macrofocus.high_d.interaction.InteractionMode>getInteractionMode()DistributionsModelgetModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.Property<DistributionsView.Orientation>getOrientation()MutableSingleSelection<java.util.AbstractMap.SimpleImmutableEntry<com.macrofocus.molap.subset.SingleBinningDimension<Row,Bin>,Bin>>getProbing()Property<com.macrofocus.crossplatform.CPCanvas.Rendering>getRendering()com.macrofocus.rubberband.RubberBandgetRubberBand()Property<java.lang.Boolean>getShowFiltered()MutableProperty<java.lang.Boolean>getShowTiming()Returns whether information about refresh rate should be displayed.booleanisSelectionMode()voidsetAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)voidsetColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)Sets the color theme to use.voidsetInteractionMode(MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> interactionMode)voidsetLicenseModel(LicenseModel licenseModel)voidsetModel(DistributionsModel<Color,Row,Column,Value,Bin> 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(MutableProperty<java.lang.Boolean> showTiming)Sets whether information about refresh rate should be displayed.
-
-
-
Method Detail
-
getDistributionDimension
com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin> getDistributionDimension(com.macrofocus.high_d.axis.AxisModel<Row,Column> axisModel)
-
getClosestDistribution
com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin> getClosestDistribution(int x, int y)
-
getClosestBin
Bin getClosestBin(int x, int y)
-
getBins
java.util.List<Bin> getBins(com.macrofocus.geom.Rectangle2D rect)
-
getClosestRow
Row getClosestRow(int x, int y)
-
isSelectionMode
boolean isSelectionMode()
-
setSelectionMode
void setSelectionMode(boolean value)
-
setLicenseModel
void setLicenseModel(LicenseModel licenseModel)
-
setModel
void setModel(DistributionsModel<Color,Row,Column,Value,Bin> 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
DistributionsModel 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.distributions.DistributionsModel)
-
getProbing
MutableSingleSelection<java.util.AbstractMap.SimpleImmutableEntry<com.macrofocus.molap.subset.SingleBinningDimension<Row,Bin>,Bin>> getProbing()
-
getOrientation
Property<DistributionsView.Orientation> getOrientation()
-
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
-
getShowFiltered
Property<java.lang.Boolean> getShowFiltered()
-
getShowTiming
MutableProperty<java.lang.Boolean> getShowTiming()
Returns whether information about refresh rate should be displayed.- Returns:
- true to display refresh rate information, false otherwise
-
setShowTiming
void setShowTiming(MutableProperty<java.lang.Boolean> showTiming)
Sets whether information about refresh rate should be displayed.- Parameters:
showTiming- true to display refresh rate information, false otherwise
-
setShowFiltered
void setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
-
getRendering
Property<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering()
-
setRendering
void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering)
-
getAntialiasing
MutableProperty<java.lang.Boolean> getAntialiasing()
-
setAntialiasing
void setAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)
-
getInteractionMode
MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> getInteractionMode()
-
setInteractionMode
void setInteractionMode(MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> interactionMode)
-
getRubberBand
com.macrofocus.rubberband.RubberBand getRubberBand()
-
-