|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imsl.chart.ChartNode
com.imsl.chart.AxisLabel
The labels on an axis.
AxisLabel is created by Axis1D as its child. It can
be retrieved using the method Axis1D.getAxisLabel().
Axis labels are placed at the tick mark locations. The number of tick marks is determined by the attribute "Number". Tick marks are evenly spaced. If the attribute "Labels" is defined then it is used to label the tick marks.
If "Labels" is not defined, the ticks are labeled numerically. The endpoint label values are obtained from the attribute "Window". The numbers are formatted using the attribute "TextFormat".
Text attributes in this node control the drawing of the axis labels.
| Field Summary |
| Method Summary | |
Text[] |
getLabels()
Returns the "Labels" attribute. |
void |
paint(Draw draw)
Paints this node and all of its children. |
void |
setLabels(String[] value)
Sets the axis label values for this node to be used instead of the default numbers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void paint(Draw draw)
paint in class ChartNodedraw - the Draw object to be paintedpublic void setLabels(String[] value)
value.length.
value - a String array containing the labels for
the major tick markspublic Text[] getLabels()
String array containing the axis labels, if set.
Otherwise, null is returned.
|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||