Interface DistributionsModel<Color,Row,Column,Value,Bin>
-
- All Known Implementing Classes:
AbstractDistributionsModel
,DefaultDistributionsModel
public interface DistributionsModel<Color,Row,Column,Value,Bin>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDistributionsListener(DistributionsListener listener)
Add a listener for receiving interesting events about changes in the model.com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin>
createDistributionDimension(Column column, com.macrofocus.molap.subset.DistributionDimension.DistributionStrategy distributionStrategy)
int
getAxisCount()
Returns the number of axis composing the parallel coordinates plot.com.macrofocus.high_d.axis.group.AxisGroupModel<Row,Column>
getAxisGroupModel()
Gets all the axis composing this parallel coordinates plot.com.macrofocus.coloring.MutableColoring<Color,Row>
getColoring()
Gets model holding the colors of each object.com.macrofocus.colormapping.MutableColorMapping<Color,Row,Column>
getColorMapping()
Gets model holding the color mapping of each object.Filter<Row>
getFilter()
Obtains the model used for filtering objects in the scatter plot.int
getIndex(Row row)
java.lang.Double
getLocation(com.macrofocus.high_d.axis.AxisModel axisModel)
Gets the normalized location of an axis.Row
getObject(int index)
int
getObjectCount()
Returns the number of data objects (typically rows).MutableSingleSelection<Row>
getProbing()
Obtains the model used for probing objects in the scatter plot (aka mouse over).MutableSelection<Row>
getSelection()
Obtains the model used for selecting objects in the scatter plot.com.macrofocus.visual.Visual<Color,Row,Column>
getVisual()
void
removeDistributionDimension(com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin> distributionDimension)
void
removeDistributionsListener(DistributionsListener listener)
Remove a listener from the list of listeners that should be notified about changes in the model.void
setLocation(com.macrofocus.high_d.axis.AxisModel axisModel, double l)
Sets the location of an axis within its group.
-
-
-
Method Detail
-
getProbing
MutableSingleSelection<Row> getProbing()
Obtains the model used for probing objects in the scatter plot (aka mouse over).- Returns:
- the model used for probing.
-
getSelection
MutableSelection<Row> getSelection()
Obtains the model used for selecting objects in the scatter plot.- Returns:
- the model used for selection.
-
getFilter
Filter<Row> getFilter()
Obtains the model used for filtering objects in the scatter plot.- Returns:
- the model used for filtering.
-
getColorMapping
com.macrofocus.colormapping.MutableColorMapping<Color,Row,Column> getColorMapping()
Gets model holding the color mapping of each object.- Returns:
- the model holding the color of each object.
-
getColoring
com.macrofocus.coloring.MutableColoring<Color,Row> getColoring()
Gets model holding the colors of each object.- Returns:
- the model holding the color of each object.
-
getObjectCount
int getObjectCount()
Returns the number of data objects (typically rows).- Returns:
- the number of data objects
-
getObject
Row getObject(int index)
- Parameters:
index
-- Returns:
-
getIndex
int getIndex(Row row)
-
getLocation
java.lang.Double getLocation(com.macrofocus.high_d.axis.AxisModel axisModel)
Gets the normalized location of an axis.- Parameters:
axisModel
- the axis- Returns:
- its normalized location within the group
-
getAxisCount
int getAxisCount()
Returns the number of axis composing the parallel coordinates plot.- Returns:
- the number of axis
-
getAxisGroupModel
com.macrofocus.high_d.axis.group.AxisGroupModel<Row,Column> getAxisGroupModel()
Gets all the axis composing this parallel coordinates plot.- Returns:
-
setLocation
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
-
addDistributionsListener
void addDistributionsListener(DistributionsListener listener)
Add a listener for receiving interesting events about changes in the model.- Parameters:
listener
- the listener to add.
-
removeDistributionsListener
void removeDistributionsListener(DistributionsListener listener)
Remove a listener from the list of listeners that should be notified about changes in the model.- Parameters:
listener
- the listener to remove.
-
createDistributionDimension
com.macrofocus.molap.subset.DistributionDimension<Row,Value,Bin> createDistributionDimension(Column column, com.macrofocus.molap.subset.DistributionDimension.DistributionStrategy distributionStrategy)
-
-