|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.labels.StandardCrosshairLabelGenerator
public class StandardCrosshairLabelGenerator
A default label generator.
Constructor Summary | |
---|---|
StandardCrosshairLabelGenerator()
Creates a new instance with default attributes. |
|
StandardCrosshairLabelGenerator(String labelTemplate,
NumberFormat numberFormat)
Creates a new instance with the specified attributes. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Tests this generator for equality with an arbitrary object. |
String |
generateLabel(Crosshair crosshair)
Returns a string that can be used as the label for a crosshair. |
String |
getLabelTemplate()
Returns the label template string. |
NumberFormat |
getNumberFormat()
Returns the number formatter. |
int |
hashCode()
Returns a hash code for this instance. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardCrosshairLabelGenerator()
public StandardCrosshairLabelGenerator(String labelTemplate, NumberFormat numberFormat)
labelTemplate
- the label template (null
not
permitted).numberFormat
- the number formatter (null
not
permitted).Method Detail |
---|
public String getLabelTemplate()
null
).public NumberFormat getNumberFormat()
null
).public String generateLabel(Crosshair crosshair)
generateLabel
in interface CrosshairLabelGenerator
crosshair
- the crosshair (null
not permitted).
null
).public boolean equals(Object obj)
equals
in class Object
obj
- the object (null
permitted).
public int hashCode()
hashCode
in class Object
|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |