Package uk.ac.starlink.ttools.plot
Interface StyleSet
- All Known Implementing Classes:
ErrorMarkStyleSet
public interface StyleSet
Defines a sequence of styles intended for use within a single plot.
- Since:
- 23 Jul 2005
- Author:
- Mark Taylor
-
Method Summary
-
Method Details
-
getStyle
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 of equals), 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.- Parameters:
index
- code for the requested style- Returns:
- style for code index
-
getName
String getName()Returns the name of this set.- Returns:
- set name
-