| java.lang.Object org.jfree.chart.renderer.OutlierList
OutlierList | public class OutlierList (Code) | | A collection of outliers for a single entity in a box and whisker plot.
Outliers are grouped in lists for each entity. Lists contain
one or more outliers, determined by whether overlaps have
occured. Overlapping outliers are grouped in the same list.
Each list contains an averaged outlier, which is the same as a single
outlier if there is only one outlier in the list, but the average of
all the outliers in the list if there is more than one.
NB This is simply my scheme for displaying outliers, and might not be
acceptable by the wider community.
|
Constructor Summary | |
public | OutlierList(Outlier outlier) Creates a new list containing a single outlier. |
Method Summary | |
public boolean | add(Outlier outlier) Adds an outlier to the list.
Parameters: outlier - the outlier. | public Outlier | getAveragedOutlier() Returns the averaged outlier. | public int | getItemCount() Returns the number of outliers in the list. | public boolean | isMultiple() Returns true if the list contains multiple outliers, and
false otherwise. | public boolean | isOverlapped(Outlier other) Returns true if the outlier overlaps, and
false otherwise.
Parameters: other - the outlier. | public void | setAveragedOutlier(Outlier averagedOutlier) Sets the averaged outlier. | public void | setMultiple(boolean multiple) Sets the flag that indicates whether or not this list represents
multiple outliers. | public void | updateAveragedOutlier() Updates the averaged outlier. |
OutlierList | public OutlierList(Outlier outlier)(Code) | | Creates a new list containing a single outlier.
Parameters: outlier - the outlier. |
add | public boolean add(Outlier outlier)(Code) | | Adds an outlier to the list.
Parameters: outlier - the outlier. A boolean. |
getAveragedOutlier | public Outlier getAveragedOutlier()(Code) | | Returns the averaged outlier.
The averaged outlier. |
getItemCount | public int getItemCount()(Code) | | Returns the number of outliers in the list.
The item count. |
isMultiple | public boolean isMultiple()(Code) | | Returns true if the list contains multiple outliers, and
false otherwise.
A boolean. |
isOverlapped | public boolean isOverlapped(Outlier other)(Code) | | Returns true if the outlier overlaps, and
false otherwise.
Parameters: other - the outlier. A boolean. |
setAveragedOutlier | public void setAveragedOutlier(Outlier averagedOutlier)(Code) | | Sets the averaged outlier.
Parameters: averagedOutlier - the averaged outlier. |
setMultiple | public void setMultiple(boolean multiple)(Code) | | Sets the flag that indicates whether or not this list represents
multiple outliers.
Parameters: multiple - the flag. |
updateAveragedOutlier | public void updateAveragedOutlier()(Code) | | Updates the averaged outlier.
|
|
|