java.lang.Object | |
↳ | org.jfree.chart.labels.AbstractXYItemLabelGenerator |
![]() |
![]() |
A base class for creating item label generators.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an item label generator using default number formatters.
| |||||||||||
Creates an item label generator using the specified number formatters.
| |||||||||||
Creates an item label generator using the specified number formatters.
| |||||||||||
Creates an item label generator using the specified formatters (a
number formatter for the x-values and a date formatter for the
y-values).
| |||||||||||
Creates an item label generator using the specified number formatters.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an independent copy of the generator.
| |||||||||||
Tests this object for equality with an arbitrary object.
| |||||||||||
Generates a label string for an item in the dataset.
| |||||||||||
Returns the format string (this controls the overall structure of the
label).
| |||||||||||
Returns the string representing a null value.
| |||||||||||
Returns the date formatter for the x-values.
| |||||||||||
Returns the number formatter for the x-values.
| |||||||||||
Returns the date formatter for the y-values.
| |||||||||||
Returns the number formatter for the y-values.
| |||||||||||
Returns a hash code for this instance.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates the array of items that can be passed to the
MessageFormat class for creating labels.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates an item label generator using default number formatters.
Creates an item label generator using the specified number formatters.
formatString | the item label format string (null
not permitted). |
---|---|
xFormat | the format object for the x values (null
not permitted). |
yFormat | the format object for the y values (null
not permitted).
|
Creates an item label generator using the specified number formatters.
formatString | the item label format string (null
not permitted). |
---|---|
xFormat | the format object for the x values (null
permitted). |
yFormat | the format object for the y values (null
not permitted).
|
Creates an item label generator using the specified formatters (a number formatter for the x-values and a date formatter for the y-values).
formatString | the item label format string (null
not permitted). |
---|---|
xFormat | the format object for the x values (null
permitted). |
yFormat | the format object for the y values (null
not permitted). |
Creates an item label generator using the specified number formatters.
formatString | the item label format string (null
not permitted). |
---|---|
xFormat | the format object for the x values (null
permitted). |
yFormat | the format object for the y values (null
not permitted).
|
Returns an independent copy of the generator.
CloneNotSupportedException | if cloning is not supported. |
---|
Tests this object for equality with an arbitrary object.
obj | the other object (null permitted). |
---|
Generates a label string for an item in the dataset.
dataset | the dataset (null not permitted). |
---|---|
series | the series (zero-based index). |
item | the item (zero-based index). |
null
).
Returns the format string (this controls the overall structure of the label).
null
).
Returns the string representing a null value.
Returns the date formatter for the x-values.
null
).
Returns the number formatter for the x-values.
null
).
Returns the date formatter for the y-values.
null
).
Returns the number formatter for the y-values.
null
).
Returns a hash code for this instance.
Creates the array of items that can be passed to the MessageFormat class for creating labels.
dataset | the dataset (null not permitted). |
---|---|
series | the series (zero-based index). |
item | the item (zero-based index). |
String
objects (never null
).