|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.ErrorMarkStyleSet
public class ErrorMarkStyleSet
StyleSet which wraps an existing one to give it a different error renderer.
Constructor Summary | |
---|---|
ErrorMarkStyleSet(StyleSet base,
ErrorRenderer errorRenderer)
Constructor. |
Method Summary | |
---|---|
String |
getName()
Returns the name of this set. |
Style |
getStyle(int index)
Returns a marker style corresponding to a particular index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorMarkStyleSet(StyleSet base, ErrorRenderer errorRenderer)
base
- base style seterrorRenderer
- renderer which each style from this set will haveMethod Detail |
---|
public String getName()
StyleSet
getName
in interface StyleSet
public Style getStyle(int index)
StyleSet
index
must give the
same style (or one equivalent in the sense of equals),
and ideally different values of index
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.
getStyle
in interface StyleSet
index
- code for the requested style
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |