Class DefaultScatterPlotModel<Color,Row,C>
java.lang.Object
com.macrofocus.high_d.scatterplot.AbstractScatterPlotModel<Color,Row,C>
com.macrofocus.high_d.scatterplot.DefaultScatterPlotModel<Color,Row,C>
- All Implemented Interfaces:
ScatterPlotModel<Color,,Row, C> com.macrofocus.visual.VisualObjects<Row>
public class DefaultScatterPlotModel<Color,Row,C>
extends AbstractScatterPlotModel<Color,Row,C>
implements com.macrofocus.visual.VisualObjects<Row>
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultScatterPlotModel(com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame) DefaultScatterPlotModel(com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.visual.Visual<Color, Row, C> visual) DefaultScatterPlotModel(com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.molap.dataframe.DataFrame<?, C, ?> annotationDataFrame, com.macrofocus.visual.Visual<Color, Row, C> visual, com.macrofocus.high_d.axis.group.AxisGroupModel<Row, C> root) -
Method Summary
Modifier and TypeMethodDescriptioncom.macrofocus.molap.dataframe.DataFramecom.macrofocus.high_d.axis.group.AxisGroupModelGets model holding the colors of each object.Gets model holding the color mapping of each object.com.macrofocus.molap.dataframe.DataFrameObtains the model used for filtering objects in the scatter plot.getObject(int index) intReturns the number of data objects (typically rows).Obtains the model used for probing objects in the scatter plot (aka mouse over).Obtains the model used for selecting objects in the scatter plot.MutableSingleSelection<com.macrofocus.high_d.axis.AxisModel> getSize()com.macrofocus.high_d.axis.AxisModelMutableSingleSelection<com.macrofocus.high_d.axis.AxisModel<Row, C>> getX()MutableSingleSelection<com.macrofocus.high_d.axis.AxisModel<Row, C>> getY()MutableSingleSelection<com.macrofocus.high_d.axis.AxisModel<Row, C>> getY2()com.macrofocus.high_d.axis.AxisModelMethods inherited from class com.macrofocus.high_d.scatterplot.AbstractScatterPlotModel
addScatterPlotListener, fireScatterPlotChanged, removeScatterPlotListener
-
Constructor Details
-
DefaultScatterPlotModel
-
DefaultScatterPlotModel
-
DefaultScatterPlotModel
-
-
Method Details
-
getObjectCount
public int getObjectCount()Returns the number of data objects (typically rows).- Specified by:
getObjectCountin interfaceScatterPlotModel<Color,Row, C> - Specified by:
getObjectCountin interfacecom.macrofocus.visual.VisualObjects<Color>- Returns:
- the number of data objects
-
getVisual
- Specified by:
getVisualin interfaceScatterPlotModel<Color,Row, C>
-
getAxisGroupModel
public com.macrofocus.high_d.axis.group.AxisGroupModel getAxisGroupModel()- Specified by:
getAxisGroupModelin interfaceScatterPlotModel<Color,Row, C>
-
getProbing
Obtains the model used for probing objects in the scatter plot (aka mouse over).- Specified by:
getProbingin interfaceScatterPlotModel<Color,Row, C> - Returns:
- the model used for probing.
-
getSelection
Obtains the model used for selecting objects in the scatter plot.- Specified by:
getSelectionin interfaceScatterPlotModel<Color,Row, C> - Returns:
- the model used for selection.
-
getFilter
Obtains the model used for filtering objects in the scatter plot.- Specified by:
getFilterin interfaceScatterPlotModel<Color,Row, C> - Returns:
- the model used for filtering.
-
getColorMapping
Gets model holding the color mapping of each object.- Specified by:
getColorMappingin interfaceScatterPlotModel<Color,Row, C> - Returns:
- the model holding the color of each object.
-
getColoring
Gets model holding the colors of each object.- Specified by:
getColoringin interfaceScatterPlotModel<Color,Row, C> - Returns:
- the model holding the color of each object.
-
getObject
-
getX
- Specified by:
getXin interfaceScatterPlotModel<Color,Row, C>
-
getY
- Specified by:
getYin interfaceScatterPlotModel<Color,Row, C>
-
getY2
- Specified by:
getY2in interfaceScatterPlotModel<Color,Row, C>
-
getSize
- Specified by:
getSizein interfaceScatterPlotModel<Color,Row, C>
-
getDataFrame
public com.macrofocus.molap.dataframe.DataFrame getDataFrame()- Specified by:
getDataFramein interfaceScatterPlotModel<Color,Row, C>
-
getAnnotationDataFrame
public com.macrofocus.molap.dataframe.DataFrame getAnnotationDataFrame()- Specified by:
getAnnotationDataFramein interfaceScatterPlotModel<Color,Row, C>
-
getXAxisModel
- Specified by:
getXAxisModelin interfaceScatterPlotModel<Color,Row, C>
-
getYAxisModel
- Specified by:
getYAxisModelin interfaceScatterPlotModel<Color,Row, C>
-
getY2AxisModel
public com.macrofocus.high_d.axis.AxisModel getY2AxisModel()- Specified by:
getY2AxisModelin interfaceScatterPlotModel<Color,Row, C>
-
getSizeAxisModel
public com.macrofocus.high_d.axis.AxisModel getSizeAxisModel()- Specified by:
getSizeAxisModelin interfaceScatterPlotModel<Color,Row, C>
-