Package uk.ac.starlink.ttools.plot
Class ErrorMarkStyleSet
java.lang.Object
uk.ac.starlink.ttools.plot.ErrorMarkStyleSet
- All Implemented Interfaces:
StyleSet
StyleSet which wraps an existing one to give it a different error renderer.
- Since:
- 20 Mar 2007
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ErrorMarkStyleSet
Constructor.- Parameters:
base
- base style seterrorRenderer
- renderer which each style from this set will have
-
-
Method Details
-
getName
Description copied from interface:StyleSet
Returns the name of this set. -
getStyle
Description copied from interface:StyleSet
Returns a marker style corresponding to a particular index. Successive calls for the sameindex
must give the same style (or one equivalent in the sense ofequals
), and ideally different values ofindex
should 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.
-