org.jfree.chart.util
public class LogFormat extends NumberFormat
Since: 1.0.7
Constructor Summary | |
---|---|
LogFormat(double base, String baseLabel, boolean showBase)
Creates a new instance.
| |
LogFormat(double base, String baseLabel, String powerLabel, boolean showBase)
Creates a new instance.
|
Method Summary | |
---|---|
Object | clone()
Returns a clone of this instance.
|
boolean | equals(Object obj)
Tests this formatter for equality with an arbitrary object.
|
StringBuffer | format(double number, StringBuffer toAppendTo, FieldPosition pos)
Returns a formatted representation of the specified number.
|
StringBuffer | format(long number, StringBuffer toAppendTo, FieldPosition pos)
Formats the specified number as a hexadecimal string. |
Number | parse(String source, ParsePosition parsePosition)
Parsing is not implemented, so this method always returns
null .
|
Parameters: base the base. baseLabel the base label (null
not permitted). showBase a flag that controls whether or not the base value is
shown.
Parameters: base the base. baseLabel the base label (null
not permitted). powerLabel the power label (null
not permitted). showBase a flag that controls whether or not the base value is
shown.
Since: 1.0.10
Returns: A clone.
Parameters: obj the object (null
permitted).
Returns: A boolean.
Parameters: number the number. toAppendTo the string buffer to append to. pos the position.
Returns: A string buffer containing the formatted value.
Parameters: number the number to format. toAppendTo the buffer to append to (ignored here). pos the field position (ignored here).
Returns: The string buffer.
null
.
Parameters: source ignored. parsePosition ignored.
Returns: Always null
.