Class DefaultScatterPlotMatrixModel<Color,Row,C>
java.lang.Object
com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrixModel<Color,Row,C>
com.macrofocus.high_d.scatterplotmatrix.DefaultScatterPlotMatrixModel<Color,Row,C>
- All Implemented Interfaces:
ScatterPlotMatrixModel<Color,
Row, C>
public class DefaultScatterPlotMatrixModel<Color,Row,C>
extends AbstractScatterPlotMatrixModel<Color,Row,C>
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultScatterPlotMatrixModel
(com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.colormapping.MutableColorMapping<Color, Row, C> colorMapping, com.macrofocus.crossplatform.CPFactory<?, ?, ?, Color> factory) DefaultScatterPlotMatrixModel
(com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.crossplatform.CPFactory<?, ?, ?, Color> factory) DefaultScatterPlotMatrixModel
(com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.visual.Visual<Color, Row, C> visual, com.macrofocus.crossplatform.CPFactory<?, ?, ?, Color> factory) DefaultScatterPlotMatrixModel
(com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.visual.Visual<Color, Row, C> visual, com.macrofocus.high_d.axis.group.AxisGroupModel<Row, C> axisGroupModel) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of axis composing the parallel coordinates plot.com.macrofocus.high_d.axis.group.AxisGroupModel
Gets all the axis composing this parallel coordinates plot.com.macrofocus.high_d.axis.AxisModel
getAxisModel
(int c) Gets model holding the colors of each object.Gets model holding the color mapping of each object.Obtains the model used for filtering objects in the scatter plot.getLocation
(com.macrofocus.high_d.axis.AxisModel axisModel) Gets the normalized location of an axis.getObject
(int index) int
Returns 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.int
void
setLocation
(com.macrofocus.high_d.axis.AxisModel axisModel, double l) Sets the location of an axis within its group.Methods inherited from class com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrixModel
addScatterPlotMatrixListener, firedScatterPlotMatrixChanged, removeScatterPlotMatrixListener
-
Constructor Details
-
DefaultScatterPlotMatrixModel
-
DefaultScatterPlotMatrixModel
-
DefaultScatterPlotMatrixModel
-
DefaultScatterPlotMatrixModel
-
-
Method Details
-
getVisual
-
getObjectCount
public int getObjectCount()Returns the number of data objects (typically rows).- Returns:
- the number of data objects
-
getProbing
Obtains the model used for probing objects in the scatter plot (aka mouse over).- Returns:
- the model used for probing.
-
getSelection
Obtains the model used for selecting objects in the scatter plot.- Returns:
- the model used for selection.
-
getFilter
Obtains the model used for filtering objects in the scatter plot.- Returns:
- the model used for filtering.
-
getColorMapping
Gets model holding the color mapping of each object.- Returns:
- the model holding the color of each object.
-
getColoring
Gets model holding the colors of each object.- Returns:
- the model holding the color of each object.
-
getObject
- Returns:
-
getAxisModel
public com.macrofocus.high_d.axis.AxisModel getAxisModel(int c) -
getAxisCount
public int getAxisCount()Returns the number of axis composing the parallel coordinates plot.- Returns:
- the number of axis
-
getLocation
Gets the normalized location of an axis.- Parameters:
axisModel
- the axis- Returns:
- its normalized location within the group
-
getAxisGroupModel
public com.macrofocus.high_d.axis.group.AxisGroupModel getAxisGroupModel()Gets all the axis composing this parallel coordinates plot.- Returns:
-
setLocation
public void setLocation(com.macrofocus.high_d.axis.AxisModel axisModel, double l) Sets the location of an axis within its group.- Parameters:
axisModel
- the axisl
- its normalized location
-
getVisibleAxisCount
public int getVisibleAxisCount()
-