|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.quies.math.plot.Axis
public abstract class Axis
Represents one axis/dimension.
| Method Summary | |
|---|---|
float |
getLabelOffsetX()
Gets the amount of horizontal space between each index label and their position on the axis. |
float |
getLabelOffsetY()
Gets the amount of vertical space between each index label and their position on the axis. |
Paint |
getLabelPaint()
Gets the paint of the index labels. |
float |
getNailLength()
Gets the lenght of the index nails. |
Stroke |
getNailStroke()
Gets the stroke for the index nails. |
Paint |
getPaint()
Gets the paint of the axis and the index nails. |
int |
getPreferredSteps()
Gets the preferred number of steps on the axis index. |
Stroke |
getStroke()
Gets the stroke for the axis. |
BigDecimal |
getZigZaginess()
Gets the minimal part of unused space needed to make a zig-zag in the axis. |
void |
setLabelOffsetX(float offset)
Sets the amount of horizontal space between each index label and their position on the axis. |
void |
setLabelOffsetY(float offset)
Sets the amount of vertical space between each index label and their position on the axis. |
void |
setLabelPaint(Paint paint)
Sets the paint of the index labels. |
void |
setNailLength(float length)
Sets the lenght of the index nails. |
void |
setNailStroke(Stroke stroke)
Sets the stroke for the index nails. |
void |
setPaint(Paint paint)
Sets the paint of the axis and the index nails. |
void |
setPreferredSteps(int steps)
Sets the preferred number of steps on the axis index. |
void |
setStroke(Stroke stroke)
Sets the stroke for the axis. |
void |
setZigZaginess(BigDecimal unusedPart)
Sets the minimal part of unused space needed to make a zig-zag in the axis. |
String |
toString()
Gets the short description as defined with the constructor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final void setPaint(Paint paint)
null which means that the foreground color will be used.
Changes apply on the next paint.
public final Paint getPaint()
public final void setLabelPaint(Paint paint)
null which means that the axis paint will be used.
Changes apply on the next paint.
public final Paint getLabelPaint()
public final void setStroke(Stroke stroke)
paint.
public final Stroke getStroke()
public final void setNailStroke(Stroke stroke)
paint.
public final Stroke getNailStroke()
public final void setNailLength(float length)
render.
public final float getNailLength()
public final void setLabelOffsetX(float offset)
public final float getLabelOffsetX()
public final void setLabelOffsetY(float offset)
public final float getLabelOffsetY()
public final void setPreferredSteps(int steps)
render.
IllegalArgumentException - if steps is larger than 99.public final int getPreferredSteps()
public final void setZigZaginess(BigDecimal unusedPart)
render.
unusedPart - use a value within interval [½, 1) or null to disable.public final BigDecimal getZigZaginess()
public final String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||