Interface ParallelCoordinatesModel<Color,O,C>
-
- All Superinterfaces:
com.macrofocus.visual.VisualObjects<O>
- All Known Implementing Classes:
AbstractParallelCoordinatesModel,DefaultParallelCoordinatesModel
public interface ParallelCoordinatesModel<Color,O,C> extends com.macrofocus.visual.VisualObjects<O>Main interface for the model part of ParallelCoordinates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddParallelCoordinatesListener(ParallelCoordinatesListener listener)Add a listener for receiving interesting events about changes in the model.com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<O,C>getAxisHierarchy()com.macrofocus.high_d.axis.locations.AxisLocationsgetAxisLocations(com.macrofocus.high_d.axis.group.AxisGroupModel group)com.macrofocus.coloring.MutableColoring<Color,O>getColoring()Gets model holding the colors of each object.com.macrofocus.colormapping.MutableColorMapping<Color,O,C>getColorMapping()Gets model holding the color mapping of each object.MutableFilter<O>getFilter()Obtains the model used for filtering objects in the parallel coordinates.OgetObject(int index)intgetObjectCount()Returns the number of data objects (typically rows).MutableSingleSelection<O>getProbing()Obtains the model used for probing objects in the parallel coordinates (aka mouse over).java.lang.Iterable<com.macrofocus.high_d.axis.AxisModel>getSelectedAxis()Returns the list of currently selected axis.MutableSelection<O>getSelection()Obtains the model used for selecting objects in the parallel coordinates.ParallelCoordinatesSettingsgetSettings()Gets the currently selected settings.com.macrofocus.visual.Visual<Color,O,C>getVisual()booleanisHidden(com.macrofocus.high_d.axis.AxisModel axisModel)Indicates whether an axis is visible or not.voidmakeCommonRange(java.lang.Iterable<com.macrofocus.high_d.axis.AxisModel<O,C>> axisModels)voidmakeDataRange(java.lang.Iterable<com.macrofocus.high_d.axis.AxisModel<O,C>> axisModels)voidremoveParallelCoordinateListener(ParallelCoordinatesListener listener)Remove a listener from the list of listeners that should be notified about changes in the model.voidresetRanges(java.lang.Iterable<com.macrofocus.high_d.axis.AxisModel<O,C>> axisModels)voidsetHidden(com.macrofocus.high_d.axis.AxisModel axisModel, boolean hidden)Turns on or off the visibility of an axis.voidshowAllNumerical()voidunhideAllAxis()Make all the axis visible.
-
-
-
Method Detail
-
getProbing
MutableSingleSelection<O> getProbing()
Obtains the model used for probing objects in the parallel coordinates (aka mouse over).- Returns:
- the model used for probing.
-
getSelection
MutableSelection<O> getSelection()
Obtains the model used for selecting objects in the parallel coordinates.- Returns:
- the model used for selection.
-
getFilter
MutableFilter<O> getFilter()
Obtains the model used for filtering objects in the parallel coordinates.- Returns:
- the model used for filtering.
-
getColorMapping
com.macrofocus.colormapping.MutableColorMapping<Color,O,C> 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,O> 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).- Specified by:
getObjectCountin interfacecom.macrofocus.visual.VisualObjects<Color>- Returns:
- the number of data objects
-
getObject
O getObject(int index)
- Specified by:
getObjectin interfacecom.macrofocus.visual.VisualObjects<Color>- Parameters:
index-- Returns:
-
getSettings
ParallelCoordinatesSettings getSettings()
Gets the currently selected settings.- Returns:
- the settings.
-
addParallelCoordinatesListener
void addParallelCoordinatesListener(ParallelCoordinatesListener listener)
Add a listener for receiving interesting events about changes in the model.- Parameters:
listener- the listener to add.
-
removeParallelCoordinateListener
void removeParallelCoordinateListener(ParallelCoordinatesListener listener)
Remove a listener from the list of listeners that should be notified about changes in the model.- Parameters:
listener- the listener to remove.
-
getSelectedAxis
java.lang.Iterable<com.macrofocus.high_d.axis.AxisModel> getSelectedAxis()
Returns the list of currently selected axis.- Returns:
- the axis that are currently selected
-
isHidden
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
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
void unhideAllAxis()
Make all the axis visible.
-
getAxisLocations
com.macrofocus.high_d.axis.locations.AxisLocations getAxisLocations(com.macrofocus.high_d.axis.group.AxisGroupModel group)
-
showAllNumerical
void showAllNumerical()
-
makeCommonRange
void makeCommonRange(java.lang.Iterable<com.macrofocus.high_d.axis.AxisModel<O,C>> axisModels)
-
makeDataRange
void makeDataRange(java.lang.Iterable<com.macrofocus.high_d.axis.AxisModel<O,C>> axisModels)
-
-