|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.j3d.plot.AxisBuilder
Field Summary | |
protected static float |
labelOffSet
|
protected static float |
major
|
protected static float |
minor
|
protected static float |
scale
|
protected static float |
tickOffSet
|
Method Summary | |
void |
apply()
Call this method after setting the required axis properties, to actually setup/modify the axis appearance. |
void |
createLabelsNTicks(double min,
double max)
Call the createLabelsNTicks method if you would like the axisbuilder to create axis labels and tick positions for you. |
String |
getLabel()
|
javax.media.j3d.Font3D |
getLabelFont()
|
javax.media.j3d.Node |
getNode()
Returns the node representing this Axis Subclasses can override this method to transform this axis to make it into an X,Y,Z axis. |
javax.media.j3d.Font3D |
getTickFont()
|
String[] |
getTickLabels()
|
double[] |
getTickLocations()
Tick labels and locations (positions) can be set by the caller or calculated and set by the createLabelsNTicks method as a convenience. |
void |
setLabel(String label)
|
void |
setLabelFont(javax.media.j3d.Font3D font)
|
void |
setTickFont(javax.media.j3d.Font3D font)
|
void |
setTickLabels(String[] labels)
|
void |
setTickLocations(double[] ticks)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static float scale
protected static float major
protected static float minor
protected static float tickOffSet
protected static float labelOffSet
Method Detail |
public String getLabel()
public void setLabel(String label)
public javax.media.j3d.Font3D getLabelFont()
public void setLabelFont(javax.media.j3d.Font3D font)
public javax.media.j3d.Font3D getTickFont()
public void setTickFont(javax.media.j3d.Font3D font)
public double[] getTickLocations()
public void setTickLocations(double[] ticks)
public String[] getTickLabels()
public void setTickLabels(String[] labels)
public void createLabelsNTicks(double min, double max)
public void apply()
public javax.media.j3d.Node getNode()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |