Package com.macrofocus.high_d.tablelens
Interface TableLensModel<Color,Row,Column>
- All Known Implementing Classes:
AbstractTableLensModel
,DefaultTableLensModel
public interface TableLensModel<Color,Row,Column>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTableLensListener
(TableLensListener listener) Add a listener for receiving interesting events about changes in the model.int
Returns the number of axis composing the parallel coordinates plot.Gets 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.int
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).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>
void
removeTableLensListener
(TableLensListener 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.void
setOrder
(com.macrofocus.high_d.axis.AxisModel axisModel) void
setShowFiltered
(MutableProperty<Boolean> showFiltered)
-
Field Details
-
PROPERTY_SHOW_FILTERED
- See Also:
-
-
Method Details
-
getVisual
-
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
MutableFilter<Row> 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.
-
getObjectCount
int getObjectCount()Returns the number of data objects (typically rows).- Returns:
- the number of data objects
-
getObject
- Parameters:
index
-- Returns:
-
getIndex
-
getSortedRows
com.macrofocus.molap.index.UniqueIndex<Row> getSortedRows() -
getLocation
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
-
getSelectedAxis
Iterable<com.macrofocus.high_d.axis.AxisModel> getSelectedAxis()Returns the list of currently selected axis.- Returns:
- the axis that are currently selected
-
getAxisGroupModel
Gets all the axis composing this parallel coordinates plot.- Returns:
-
setOrder
void setOrder(com.macrofocus.high_d.axis.AxisModel axisModel) -
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
-
getShowFiltered
-
setShowFiltered
-
addTableLensListener
Add a listener for receiving interesting events about changes in the model.- Parameters:
listener
- the listener to add.
-
removeTableLensListener
Remove a listener from the list of listeners that should be notified about changes in the model.- Parameters:
listener
- the listener to remove.
-