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:
SwingDistributionsView
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 DistributionsComponent
MutableProperty<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.RubberBand
Returns whether information about refresh rate should be displayed.boolean
protected abstract void
refresh()
protected void
removeBinnedDimension
(Column column) void
setAntialiasing
(MutableProperty<Boolean> antialiasing) void
setColorTheme
(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Sets the color theme to use.void
setInteractionMode
(MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> interactionMode) void
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<Boolean> showFiltered) void
setShowTiming
(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, wait
Methods inherited from interface com.macrofocus.crossplatform.CPComponent
getNativeComponent, setStyleClass
Methods inherited from interface com.macrofocus.crossplatform.CPInteractiveComponent
addMouseListener, addMouseMotionListener, removeMouseListener, removeMouseMotionListener
Methods 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:
isSelectionMode
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
setModel
Description copied from interface:DistributionsView
Sets the data model and registers with it for listener notifications from the new data model. -
setSelectionMode
public void setSelectionMode(boolean value) - Specified by:
setSelectionMode
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
getProbing
public MutableSingleSelection<AbstractMap.SimpleImmutableEntry<com.macrofocus.molap.subset.SingleBinningDimension<Row,Bin>, getProbing()Bin>> - Specified by:
getProbing
in 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:
getOrientation
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
getAntialiasing
- Specified by:
getAntialiasing
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
getShowFiltered
- Specified by:
getShowFiltered
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
getShowTiming
Description copied from interface:DistributionsView
Returns whether information about refresh rate should be displayed.- Specified by:
getShowTiming
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin> - Returns:
- true to display refresh rate information, false otherwise
-
getColorTheme
Description copied from interface:DistributionsView
Returns the color theme to use.- Specified by:
getColorTheme
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin> - Returns:
- the color theme
-
getInteractionMode
- Specified by:
getInteractionMode
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
setInteractionMode
public void setInteractionMode(MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> interactionMode) - Specified by:
setInteractionMode
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
setColorTheme
public void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Description copied from interface:DistributionsView
Sets the color theme to use.- Specified by:
setColorTheme
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin> - Parameters:
colorTheme
- the color theme to use
-
setShowFiltered
- Specified by:
setShowFiltered
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
setAntialiasing
- Specified by:
setAntialiasing
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
setShowTiming
Description copied from interface:DistributionsView
Sets whether information about refresh rate should be displayed.- Specified by:
setShowTiming
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin> - Parameters:
showTiming
- true to display refresh rate information, false otherwise
-
getRendering
- Specified by:
getRendering
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
setRendering
public void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering) - Specified by:
setRendering
in 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:
getDistributionDimension
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-
removeBinnedDimension
-
getRubberBand
public com.macrofocus.rubberband.RubberBand getRubberBand()- Specified by:
getRubberBand
in interfaceDistributionsView<Component,
Color, Row, Column, Value, Bin>
-