Class AbstractScatterPlotMatrixView<Component,Color,Row,Column>
- java.lang.Object
-
- com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrixView<Component,Color,Row,Column>
-
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>,com.macrofocus.crossplatform.CPInteractiveComponent<Component>,ScatterPlotMatrixView<Component,Color,Row,Column>
- Direct Known Subclasses:
SwingScatterPlotMatrixView
public abstract class AbstractScatterPlotMatrixView<Component,Color,Row,Column> extends java.lang.Object implements ScatterPlotMatrixView<Component,Color,Row,Column>
Created by luc on 25/04/16.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.high_d.scatterplotmatrix.ScatterPlotMatrixView
ScatterPlotMatrixView.PropertyType
-
-
Field Summary
Fields Modifier and Type Field Description protected MutableProperties<ScatterPlotMatrixView.PropertyType>properties
-
Constructor Summary
Constructors Constructor Description AbstractScatterPlotMatrixView(com.macrofocus.igraphics.CPColorFactory<Color> factory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcreateOverplots()MutableProperty<java.lang.Boolean>getAntialiasing()MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>getColorTheme()Returns the color theme to use.ScatterPlotMatrixModelgetModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>getRendering()com.macrofocus.rubberband.RubberBandgetRubberBand()protected abstract ScatterPlotMatrixComponentgetScatterPlotMatrixComponent()MutableProperty<java.lang.Boolean>getShowFiltered()MutableProperty<java.lang.Boolean>getShowTiming()booleanisSelectionMode()protected abstract voidrefresh()voidsetAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)voidsetColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)Sets the color theme to use.voidsetModel(ScatterPlotMatrixModel 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)-
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.scatterplotmatrix.ScatterPlotMatrixView
getClosestRow, getHeight, getRows, getWidth, setLicenseModel
-
-
-
-
Field Detail
-
properties
protected final MutableProperties<ScatterPlotMatrixView.PropertyType> properties
-
-
Constructor Detail
-
AbstractScatterPlotMatrixView
public AbstractScatterPlotMatrixView(com.macrofocus.igraphics.CPColorFactory<Color> factory)
-
-
Method Detail
-
getModel
public ScatterPlotMatrixModel getModel()
Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.- Specified by:
getModelin interfaceScatterPlotMatrixView<Component,Color,Row,Column>- Returns:
- the ScatterPlotModel that provides the data displayed by this ScatterPlotView
- See Also:
ScatterPlotMatrixView.setModel(ScatterPlotMatrixModel)
-
setModel
public void setModel(ScatterPlotMatrixModel model)
Description copied from interface:ScatterPlotMatrixViewSets the data model and registers with it for listener notifications from the new data model.- Specified by:
setModelin interfaceScatterPlotMatrixView<Component,Color,Row,Column>- Parameters:
model- the new data model- See Also:
ScatterPlotMatrixView.getModel()
-
isSelectionMode
public boolean isSelectionMode()
- Specified by:
isSelectionModein interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
setSelectionMode
public void setSelectionMode(boolean value)
- Specified by:
setSelectionModein interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
refresh
protected abstract void refresh()
-
getScatterPlotMatrixComponent
protected abstract ScatterPlotMatrixComponent getScatterPlotMatrixComponent()
-
getColorTheme
public MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()
Description copied from interface:ScatterPlotMatrixViewReturns the color theme to use.- Specified by:
getColorThemein interfaceScatterPlotMatrixView<Component,Color,Row,Column>- Returns:
- the color theme
-
setColorTheme
public void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Description copied from interface:ScatterPlotMatrixViewSets the color theme to use.- Specified by:
setColorThemein interfaceScatterPlotMatrixView<Component,Color,Row,Column>- Parameters:
colorTheme- the color theme to use
-
getShowTiming
public MutableProperty<java.lang.Boolean> getShowTiming()
- Specified by:
getShowTimingin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
getShowFiltered
public MutableProperty<java.lang.Boolean> getShowFiltered()
- Specified by:
getShowFilteredin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
setShowFiltered
public void setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
- Specified by:
setShowFilteredin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
getAntialiasing
public MutableProperty<java.lang.Boolean> getAntialiasing()
- Specified by:
getAntialiasingin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
setAntialiasing
public void setAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)
- Specified by:
setAntialiasingin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
getRendering
public MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering()
- Specified by:
getRenderingin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
setRendering
public void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering)
- Specified by:
setRenderingin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
createOverplots
protected void createOverplots()
-
getRubberBand
public com.macrofocus.rubberband.RubberBand getRubberBand()
- Specified by:
getRubberBandin interfaceScatterPlotMatrixView<Component,Color,Row,Column>
-
-