Package com.macrofocus.high_d.tablelens
Class DefaultTableLensModel<Color,Row,C>
java.lang.Object
com.macrofocus.high_d.tablelens.AbstractTableLensModel<Color,Row,C>
com.macrofocus.high_d.tablelens.DefaultTableLensModel<Color,Row,C>
- All Implemented Interfaces:
TableLensModel<Color,,Row, C> com.macrofocus.visual.VisualObjects<Row>
public class DefaultTableLensModel<Color,Row,C>
extends AbstractTableLensModel<Color,Row,C>
implements com.macrofocus.visual.VisualObjects<Row>
-
Field Summary
Fields inherited from interface com.macrofocus.high_d.tablelens.TableLensModel
PROPERTY_SHOW_FILTERED -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTableLensModel(com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame) DefaultTableLensModel(com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.molap.dataframe.DataFrame<Row, C, ?> dataFrame, com.macrofocus.visual.Visual<Color, Row, C> visual) DefaultTableLensModel(com.macrofocus.crossplatform.CPFactory factory, 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 TypeMethodDescriptionintReturns the number of axis composing the parallel coordinates plot.com.macrofocus.high_d.axis.group.AxisGroupModelGets all the axis composing this parallel coordinates plot.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.intgetLocation(com.macrofocus.high_d.axis.AxisModel axisModel) Gets the normalized location of an axis.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).Iterable<com.macrofocus.high_d.axis.AxisModel> Returns the list of currently selected axis.Obtains the model used for selecting objects in the scatter plot.com.macrofocus.molap.index.UniqueIndex<Row> voidsetLocation(com.macrofocus.high_d.axis.AxisModel axisModel, double l) Sets the location of an axis within its group.voidsetOrder(com.macrofocus.high_d.axis.AxisModel axisModel) voidsetShowFiltered(MutableProperty<Boolean> showFiltered) Methods inherited from class com.macrofocus.high_d.tablelens.AbstractTableLensModel
addTableLensListener, removeTableLensListener
-
Constructor Details
-
DefaultTableLensModel
-
DefaultTableLensModel
-
DefaultTableLensModel
-
-
Method Details
-
getSortedRows
- Specified by:
getSortedRowsin interfaceTableLensModel<Color,Row, C>
-
getVisual
- Specified by:
getVisualin interfaceTableLensModel<Color,Row, C>
-
getObjectCount
public int getObjectCount()Returns the number of data objects (typically rows).- Specified by:
getObjectCountin interfaceTableLensModel<Color,Row, C> - Specified by:
getObjectCountin interfacecom.macrofocus.visual.VisualObjects<Color>- Returns:
- the number of data objects
-
getProbing
Obtains the model used for probing objects in the scatter plot (aka mouse over).- Specified by:
getProbingin interfaceTableLensModel<Color,Row, C> - Returns:
- the model used for probing.
-
getSelection
Obtains the model used for selecting objects in the scatter plot.- Specified by:
getSelectionin interfaceTableLensModel<Color,Row, C> - Returns:
- the model used for selection.
-
getFilter
Obtains the model used for filtering objects in the scatter plot.- Specified by:
getFilterin interfaceTableLensModel<Color,Row, C> - Returns:
- the model used for filtering.
-
getColorMapping
Gets model holding the color mapping of each object.- Specified by:
getColorMappingin interfaceTableLensModel<Color,Row, C> - Returns:
- the model holding the color of each object.
-
getColoring
Gets model holding the colors of each object.- Specified by:
getColoringin interfaceTableLensModel<Color,Row, C> - Returns:
- the model holding the color of each object.
-
getObject
-
getIndex
- Specified by:
getIndexin interfaceTableLensModel<Color,Row, C>
-
getAxisCount
public int getAxisCount()Returns the number of axis composing the parallel coordinates plot.- Specified by:
getAxisCountin interfaceTableLensModel<Color,Row, C> - Returns:
- the number of axis
-
getSelectedAxis
Returns the list of currently selected axis.- Specified by:
getSelectedAxisin interfaceTableLensModel<Color,Row, C> - Returns:
- the axis that are currently selected
-
getLocation
Gets the normalized location of an axis.- Specified by:
getLocationin interfaceTableLensModel<Color,Row, C> - 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.- Specified by:
getAxisGroupModelin interfaceTableLensModel<Color,Row, C> - Returns:
-
setLocation
public void setLocation(com.macrofocus.high_d.axis.AxisModel axisModel, double l) Sets the location of an axis within its group.- Specified by:
setLocationin interfaceTableLensModel<Color,Row, C> - Parameters:
axisModel- the axisl- its normalized location
-
getShowFiltered
- Specified by:
getShowFilteredin interfaceTableLensModel<Color,Row, C>
-
setShowFiltered
- Specified by:
setShowFilteredin interfaceTableLensModel<Color,Row, C>
-
setOrder
public void setOrder(com.macrofocus.high_d.axis.AxisModel axisModel) - Specified by:
setOrderin interfaceTableLensModel<Color,Row, C>
-