java.lang.Object | |||
↳ | java.text.Format | ||
↳ | java.text.NumberFormat | ||
↳ | org.jfree.chart.axis.CompassFormat |
A formatter that displays numbers as directions.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DIRECTIONS | The directions. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new formatter.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Formats a number into the specified string buffer.
| |||||||||||
Formats a number into the specified string buffer.
| |||||||||||
Returns a string representing the direction.
| |||||||||||
This method returns
null for all inputs. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new formatter.
Formats a number into the specified string buffer.
number | the number to format. |
---|---|
toAppendTo | the string buffer. |
pos | the field position (ignored here). |
Formats a number into the specified string buffer.
number | the number to format. |
---|---|
toAppendTo | the string buffer. |
pos | the field position (ignored here). |
Returns a string representing the direction.
direction | the direction. |
---|
This method returns null
for all inputs. This class cannot
be used for parsing.
source | the source string. |
---|---|
parsePosition | the parse position. |
null
.