|
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.AxisRLabel
The labels on an axis.
AxisRLabel is created by AxisR as its child. It can
be retrieved using the method AxisR.getAxisRLabel().
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.
Polar,
AxisR,
Serialized Form| 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 method in this node's parent.
paint in class ChartNodedraw - the Draw object to be paintedpublic void setLabels(String[] value)
value.length.
value - a String array containing the labels to be
used to label the major tick markspublic Text[] getLabels()
Text array containing the axis labels and
formatting information, 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 | |||||||||