org.jfree.chart.axis
public class CompassFormat extends NumberFormat
| Field Summary | |
|---|---|
| static String[] | DIRECTIONS The directions. |
| Constructor Summary | |
|---|---|
| CompassFormat()
Creates a new formatter. | |
| Method Summary | |
|---|---|
| StringBuffer | format(double number, StringBuffer toAppendTo, FieldPosition pos) |
| StringBuffer | format(long number, StringBuffer toAppendTo, FieldPosition pos) |
| String | getDirectionCode(double direction)
Returns a string representing the direction.
|
| Number | parse(String source, ParsePosition parsePosition)
This method returns null for all inputs. |
Parameters: direction the direction.
Returns: A string.
null for all inputs. This class cannot
be used for parsing.
Parameters: source the source string. parsePosition the parse position.
Returns: null.