|
JMSLTM Numerical Library 4.0 | ||||||||
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.chart3d.ChartNode3D com.imsl.chart3d.AxisLabel
The labels on an axis.
AxisLabel
is created by Axis3D
as its child. It can
be retrieved using the method Axis3D.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".
Field Summary | |
static long |
serialVersionUID
|
Fields inherited from class com.imsl.chart3d.ChartNode3D |
AXIS_TITLE_AT_END, AXIS_TITLE_PARALLEL, DATA_TYPE_LINE, DATA_TYPE_MARKER, DATA_TYPE_PICTURE, DATA_TYPE_TUBE, MARKER_TYPE_CUBE, MARKER_TYPE_CUSTOM, MARKER_TYPE_PLUS, MARKER_TYPE_SIMPLE_CUBE, MARKER_TYPE_SIMPLE_PLUS, MARKER_TYPE_SIMPLE_TETRAHEDRON, MARKER_TYPE_SPHERE, MARKER_TYPE_TETRAHEDRON |
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 | |
protected void |
addToSceneGraph(Group parent)
Called to add this object to the scene graph. |
String[] |
getLabels()
Returns the "Labels" attribute. |
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 |
protected void addToSceneGraph(Group parent)
ChartNode3D
addToSceneGraph
in class ChartNode3D
parent
- is the node in the scene graph at which this
object is to be added.public String[] getLabels()
String
array containing the axis labels, if set.
Otherwise, null
is returned.public void setLabels(String[] value)
value.length
.
value
- a String
array containing the labels for
the major tick marks
|
JMSLTM Numerical Library 4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |