Package uk.ac.starlink.ttools.plot
Class ErrorMarkStyleSet
- java.lang.Object
-
- uk.ac.starlink.ttools.plot.ErrorMarkStyleSet
-
-
Constructor Summary
Constructors Constructor Description ErrorMarkStyleSet(StyleSet base, ErrorRenderer errorRenderer)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name of this set.StylegetStyle(int index)Returns a marker style corresponding to a particular index.
-
-
-
Constructor Detail
-
ErrorMarkStyleSet
public ErrorMarkStyleSet(StyleSet base, ErrorRenderer errorRenderer)
Constructor.- Parameters:
base- base style seterrorRenderer- renderer which each style from this set will have
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:StyleSetReturns the name of this set.
-
getStyle
public Style getStyle(int index)
Description copied from interface:StyleSetReturns a marker style corresponding to a particular index. Successive calls for the sameindexmust give the same style (or one equivalent in the sense of equals), and ideally different values ofindexshould give unequal ones, but for indices beyond a certain value the markers may wrap around. A given implementation may change the marker it dispenses for a given index at different stages of its lifetime.
-
-