Class AbstractDistributionsView<Component,Color,Row,Column,Value,Bin>
java.lang.Object
com.macrofocus.high_d.distributions.AbstractDistributionsView<Component,Color,Row,Column,Value,Bin>
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>,com.macrofocus.crossplatform.CPInteractiveComponent<Component>,DistributionsView<Component,Color, Row, Column, Value, Bin>
- Direct Known Subclasses:
JavaFXDistributionsView
public abstract class AbstractDistributionsView<Component,Color,Row,Column,Value,Bin>
extends Object
implements DistributionsView<Component,Color,Row,Column,Value,Bin>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.macrofocus.high_d.distributions.DistributionsView
DistributionsView.Orientation, DistributionsView.PropertyType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MutableProperties<DistributionsView.PropertyType> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDistributionsView(com.macrofocus.igraphics.CPColorFactory<Color> factory) -
Method Summary
Modifier and TypeMethodDescriptionMutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> Returns the color theme to use.getDistributionDimension(com.macrofocus.high_d.axis.AxisModel<Row, Column> axisModel) protected abstract DistributionsComponentMutableProperty<com.macrofocus.high_d.interaction.InteractionMode> getModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.MutableSingleSelection<AbstractMap.SimpleImmutableEntry<com.macrofocus.molap.subset.SingleBinningDimension<Row, Bin>, Bin>> MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> com.macrofocus.rubberband.RubberBandReturns whether information about refresh rate should be displayed.booleanprotected abstract voidrefresh()protected voidremoveBinnedDimension(Column column) voidsetAntialiasing(MutableProperty<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) voidSets 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(MutableProperty<Boolean> showTiming) Sets whether information about refresh rate should be displayed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.macrofocus.crossplatform.CPComponent
getNativeComponent, setStyleClassMethods inherited from interface com.macrofocus.crossplatform.CPInteractiveComponent
addMouseListener, addMouseMotionListener, removeMouseListener, removeMouseMotionListenerMethods inherited from interface com.macrofocus.high_d.distributions.DistributionsView
getBins, getClosestBin, getClosestDistribution, getClosestRow, setLicenseModel
-
Field Details
-
properties
-
-
Constructor Details
-
AbstractDistributionsView
-
-
Method Details
-
isSelectionMode
public boolean isSelectionMode()- Specified by:
isSelectionModein interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
setModel
Description copied from interface:DistributionsViewSets the data model and registers with it for listener notifications from the new data model. -
setSelectionMode
public void setSelectionMode(boolean value) - Specified by:
setSelectionModein interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
getProbing
public MutableSingleSelection<AbstractMap.SimpleImmutableEntry<com.macrofocus.molap.subset.SingleBinningDimension<Row,Bin>, getProbing()Bin>> - Specified by:
getProbingin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
getModel
Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView. -
refresh
protected abstract void refresh() -
getDistributionsComponent
-
getOrientation
- Specified by:
getOrientationin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
getAntialiasing
- Specified by:
getAntialiasingin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
getShowFiltered
- Specified by:
getShowFilteredin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
getShowTiming
Description copied from interface:DistributionsViewReturns whether information about refresh rate should be displayed.- Specified by:
getShowTimingin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin> - Returns:
- true to display refresh rate information, false otherwise
-
getColorTheme
Description copied from interface:DistributionsViewReturns the color theme to use.- Specified by:
getColorThemein interfaceDistributionsView<Component,Color, Row, Column, Value, Bin> - Returns:
- the color theme
-
getInteractionMode
- Specified by:
getInteractionModein interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
setInteractionMode
public void setInteractionMode(MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> interactionMode) - Specified by:
setInteractionModein interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
setColorTheme
public void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Description copied from interface:DistributionsViewSets the color theme to use.- Specified by:
setColorThemein interfaceDistributionsView<Component,Color, Row, Column, Value, Bin> - Parameters:
colorTheme- the color theme to use
-
setShowFiltered
- Specified by:
setShowFilteredin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
setAntialiasing
- Specified by:
setAntialiasingin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
setShowTiming
Description copied from interface:DistributionsViewSets whether information about refresh rate should be displayed.- Specified by:
setShowTimingin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin> - Parameters:
showTiming- true to display refresh rate information, false otherwise
-
getRendering
- Specified by:
getRenderingin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
setRendering
public void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering) - Specified by:
setRenderingin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
getDistributionDimension
public com.macrofocus.molap.subset.DistributionDimension<Row,Value, getDistributionDimensionBin> (com.macrofocus.high_d.axis.AxisModel<Row, Column> axisModel) - Specified by:
getDistributionDimensionin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-
removeBinnedDimension
-
getRubberBand
public com.macrofocus.rubberband.RubberBand getRubberBand()- Specified by:
getRubberBandin interfaceDistributionsView<Component,Color, Row, Column, Value, Bin>
-