Class DefaultParallelCoordinatesModel<Color,Row,C>
java.lang.Object
com.macrofocus.high_d.parallelcoordinates.AbstractParallelCoordinatesModel<Color,Row,C>
com.macrofocus.high_d.parallelcoordinates.DefaultParallelCoordinatesModel<Color,Row,C>
- All Implemented Interfaces:
ParallelCoordinatesModel<Color,
,Row, C> com.macrofocus.visual.VisualObjects<Row>
public class DefaultParallelCoordinatesModel<Color,Row,C>
extends AbstractParallelCoordinatesModel<Color,Row,C>
Default implementation of a ParallelCoordinatesModel. This class provides an easy way to integration with Swing's
TableModel.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultParallelCoordinatesModel
(com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame) DefaultParallelCoordinatesModel
(com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.visual.Visual<Color, Row, C> visual) DefaultParallelCoordinatesModel
(com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.visual.Visual<Color, Row, C> visual, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, C> axisHierarchy, ParallelCoordinatesSettings settings) -
Method Summary
Modifier and TypeMethodDescriptioncom.macrofocus.high_d.axis.locations.AxisLocations
getAxisLocations
(com.macrofocus.high_d.axis.group.AxisGroupModel group) 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 parallel coordinates.getObject
(int index) int
Returns the number of data objects (typically rows).Obtains the model used for probing objects in the parallel coordinates (aka mouse over).Iterable<com.macrofocus.high_d.axis.AxisModel>
Returns the list of currently selected axis.Obtains the model used for selecting objects in the parallel coordinates.Gets the currently selected settings.boolean
isHidden
(com.macrofocus.high_d.axis.AxisModel axisModel) Indicates whether an axis is visible or not.void
makeCommonRange
(Iterable<com.macrofocus.high_d.axis.AxisModel<Row, C>> axisModels) void
makeDataRange
(Iterable<com.macrofocus.high_d.axis.AxisModel<Row, C>> axisModels) void
resetRanges
(Iterable<com.macrofocus.high_d.axis.AxisModel<Row, C>> axisModels) void
setDataFrame
(com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame) void
setHidden
(com.macrofocus.high_d.axis.AxisModel axisModel, boolean hidden) Turns on or off the visibility of an axis.void
void
Make all the axis visible.Methods inherited from class com.macrofocus.high_d.parallelcoordinates.AbstractParallelCoordinatesModel
addParallelCoordinatesListener, removeParallelCoordinateListener
-
Constructor Details
-
DefaultParallelCoordinatesModel
-
DefaultParallelCoordinatesModel
-
DefaultParallelCoordinatesModel
-
-
Method Details
-
setDataFrame
-
getObjectCount
public int getObjectCount()Returns the number of data objects (typically rows).- Returns:
- the number of data objects
-
getVisual
-
getProbing
Obtains the model used for probing objects in the parallel coordinates (aka mouse over).- Returns:
- the model used for probing.
-
getSelection
Obtains the model used for selecting objects in the parallel coordinates.- Returns:
- the model used for selection.
-
getFilter
Obtains the model used for filtering objects in the parallel coordinates.- 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
-
getSettings
Gets the currently selected settings.- Returns:
- the settings.
-
getAxisHierarchy
-
getSelectedAxis
Returns the list of currently selected axis.- Returns:
- the axis that are currently selected
-
isHidden
public boolean isHidden(com.macrofocus.high_d.axis.AxisModel axisModel) Indicates whether an axis is visible or not.- Parameters:
axisModel
- the axis- Returns:
- false if it is visible; true otherwise
-
setHidden
public void setHidden(com.macrofocus.high_d.axis.AxisModel axisModel, boolean hidden) Turns on or off the visibility of an axis.- Parameters:
axisModel
- the axishidden
- false if it should be visible; true otherwise
-
unhideAllAxis
public void unhideAllAxis()Make all the axis visible. -
getAxisLocations
public com.macrofocus.high_d.axis.locations.AxisLocations getAxisLocations(com.macrofocus.high_d.axis.group.AxisGroupModel group) -
showAllNumerical
public void showAllNumerical() -
makeDataRange
-
makeCommonRange
-
resetRanges
-