|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PrefixTicker.Rule
Defines a specific rule for generating tick marks with prefixes.
It just extends BasicTicker.Rule with a method for generating the
prefix. The inherited indexToLabel(long)
method should provide
the suffix part.
Method Summary | |
---|---|
String |
indexToLabel(long index)
Returns the suffix part only for labelling the major tick identified by a given index. |
String |
indexToPrefix(long index)
Returns the prefix part only for labelling the major tick identified by a given index. |
Methods inherited from interface uk.ac.starlink.ttools.plot2.BasicTicker.Rule |
---|
floorIndex, getMinors, indexToValue |
Method Detail |
---|
String indexToPrefix(long index)
index
- major tick index
String indexToLabel(long index)
indexToLabel
in interface BasicTicker.Rule
index
- major tick index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |