|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.axis.AxisState
public class AxisState
Instances of this class are used to carry state information for an axis during the drawing process. By retaining this information in a separate object, it is possible for multiple threads to draw the same axis to different output targets (each drawing will maintain separate state information).
Constructor Summary | |
---|---|
AxisState()
Creates a new axis state. |
|
AxisState(double cursor)
Creates a new axis state. |
Method Summary | |
---|---|
void |
cursorDown(double units)
Moves the cursor down by the specified number of Java 2D units. |
void |
cursorLeft(double units)
Moves the cursor left by the specified number of Java 2D units. |
void |
cursorRight(double units)
Moves the cursor right by the specified number of Java 2D units. |
void |
cursorUp(double units)
Moves the cursor up by the specified number of Java 2D units. |
double |
getCursor()
Returns the cursor position. |
double |
getMax()
Returns the maximum width/height. |
java.util.List |
getTicks()
Returns the list of ticks. |
void |
moveCursor(double units,
org.jfree.ui.RectangleEdge edge)
Moves the cursor outwards by the specified number of units. |
void |
setCursor(double cursor)
Sets the cursor position. |
void |
setMax(double max)
Sets the maximum width/height. |
void |
setTicks(java.util.List ticks)
Sets the list of ticks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxisState()
public AxisState(double cursor)
cursor
- the cursor.Method Detail |
---|
public double getCursor()
public void setCursor(double cursor)
cursor
- the cursor position.public void moveCursor(double units, org.jfree.ui.RectangleEdge edge)
units
- the units.edge
- the edge.public void cursorUp(double units)
units
- the units.public void cursorDown(double units)
units
- the units.public void cursorLeft(double units)
units
- the units.public void cursorRight(double units)
units
- the units.public java.util.List getTicks()
public void setTicks(java.util.List ticks)
ticks
- the ticks.public double getMax()
public void setMax(double max)
max
- the maximum width/height.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |