|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.chart.AbstractChartNode com.imsl.chart.ChartNode com.imsl.chart.AxisRLabel
public class 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 FormField Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from class com.imsl.chart.AbstractChartNode |
---|
AUTOSCALE_DATA, AUTOSCALE_DENSITY, AUTOSCALE_NUMBER, AUTOSCALE_OFF, AUTOSCALE_WINDOW, AXIS_X, AXIS_Y, AXIS_Z, LABEL_TYPE_NONE, LABEL_TYPE_TITLE, LABEL_TYPE_X, LABEL_TYPE_Y, LABEL_TYPE_Z, TRANSFORM_CUSTOM, TRANSFORM_LINEAR, TRANSFORM_LOG |
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 |
Field Detail |
---|
public static final long serialVersionUID
Method Detail |
---|
public Text[] getLabels()
Text
array containing the axis labels and
formatting information, if set. Otherwise, null
is
returned.public void paint(Draw draw)
paint
method in this node's parent.
paint
in class ChartNode
draw
- 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 marks
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |