Class AbstractParallelCoordinatesMatrixView<Component,Color,Row,Column>
- java.lang.Object
-
- com.macrofocus.high_d.parallelcoordinatesmatrix.AbstractParallelCoordinatesMatrixView<Component,Color,Row,Column>
-
- All Implemented Interfaces:
ParallelCoordinatesMatrixView<Component,Color>
- Direct Known Subclasses:
SwingParallelCoordinatesMatrixView
public abstract class AbstractParallelCoordinatesMatrixView<Component,Color,Row,Column> extends java.lang.Object implements ParallelCoordinatesMatrixView<Component,Color>
-
-
Field Summary
Fields Modifier and Type Field Description protected ParallelCoordinatesMatrixModel<Color,Row,Column>modelprotected ParallelCoordinates<Component,Color,Row,Column>parallelCoordinates
-
Constructor Summary
Constructors Constructor Description AbstractParallelCoordinatesMatrixView()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ParallelCoordinates<Component,Color,Row,Column>createParallelCoordinates()MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>getColorTheme()Returns the color theme to use.protected abstract com.macrofocus.crossplatform.CPFactory<Component,?,?,Color>getFactory()ParallelCoordinatesMatrixModelgetModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.protected static intgetRowCount(int n)booleanisSelectionMode()booleanisShowTiming()Returns whether information about refresh rate should be displayed.protected abstract voidrefresh()voidsetAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)voidsetColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)Sets the color theme to use.voidsetLicenseModel(LicenseModel licenseModel)voidsetModel(ParallelCoordinatesMatrixModel 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(boolean showTiming)Sets whether information about refresh rate should be displayed.protected voidupdateParallelCoordinatesModel()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.high_d.parallelcoordinatesmatrix.ParallelCoordinatesMatrixView
getClosestRow, getNativeComponent
-
-
-
-
Field Detail
-
model
protected ParallelCoordinatesMatrixModel<Color,Row,Column> model
-
parallelCoordinates
protected ParallelCoordinates<Component,Color,Row,Column> parallelCoordinates
-
-
Method Detail
-
createParallelCoordinates
protected abstract ParallelCoordinates<Component,Color,Row,Column> createParallelCoordinates()
-
getModel
public ParallelCoordinatesMatrixModel getModel()
Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.- Specified by:
getModelin interfaceParallelCoordinatesMatrixView<Component,Color>- Returns:
- the ScatterPlotModel that provides the data displayed by this ScatterPlotView
- See Also:
ParallelCoordinatesMatrixView.setModel(ParallelCoordinatesMatrixModel)
-
setModel
public void setModel(ParallelCoordinatesMatrixModel model)
Description copied from interface:ParallelCoordinatesMatrixViewSets the data model and registers with it for listener notifications from the new data model.- Specified by:
setModelin interfaceParallelCoordinatesMatrixView<Component,Color>- Parameters:
model- the new data model- See Also:
ParallelCoordinatesMatrixView.getModel()
-
refresh
protected abstract void refresh()
-
getFactory
protected abstract com.macrofocus.crossplatform.CPFactory<Component,?,?,Color> getFactory()
-
updateParallelCoordinatesModel
protected void updateParallelCoordinatesModel()
-
isShowTiming
public boolean isShowTiming()
Description copied from interface:ParallelCoordinatesMatrixViewReturns whether information about refresh rate should be displayed.- Specified by:
isShowTimingin interfaceParallelCoordinatesMatrixView<Component,Color>- Returns:
- true to display refresh rate information, false otherwise
-
setShowTiming
public void setShowTiming(boolean showTiming)
Description copied from interface:ParallelCoordinatesMatrixViewSets whether information about refresh rate should be displayed.- Specified by:
setShowTimingin interfaceParallelCoordinatesMatrixView<Component,Color>- Parameters:
showTiming- true to display refresh rate information, false otherwise
-
isSelectionMode
public boolean isSelectionMode()
- Specified by:
isSelectionModein interfaceParallelCoordinatesMatrixView<Component,Color>
-
setSelectionMode
public void setSelectionMode(boolean value)
- Specified by:
setSelectionModein interfaceParallelCoordinatesMatrixView<Component,Color>
-
setLicenseModel
public void setLicenseModel(LicenseModel licenseModel)
- Specified by:
setLicenseModelin interfaceParallelCoordinatesMatrixView<Component,Color>
-
getColorTheme
public MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()
Description copied from interface:ParallelCoordinatesMatrixViewReturns the color theme to use.- Specified by:
getColorThemein interfaceParallelCoordinatesMatrixView<Component,Color>- Returns:
- the color theme
-
setColorTheme
public void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Description copied from interface:ParallelCoordinatesMatrixViewSets the color theme to use.- Specified by:
setColorThemein interfaceParallelCoordinatesMatrixView<Component,Color>- Parameters:
colorTheme- the color theme to use
-
getRowCount
protected static int getRowCount(int n)
-
setShowFiltered
public void setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
- Specified by:
setShowFilteredin interfaceParallelCoordinatesMatrixView<Component,Color>
-
setRendering
public void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering)
- Specified by:
setRenderingin interfaceParallelCoordinatesMatrixView<Component,Color>
-
setAntialiasing
public void setAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)
- Specified by:
setAntialiasingin interfaceParallelCoordinatesMatrixView<Component,Color>
-
-