org.jfree.chart.axis
public class AxisState extends Object
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.
|
List | getTicks()
Returns the list of ticks.
|
void | moveCursor(double units, 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(List ticks)
Sets the list of ticks.
|
Parameters: cursor the cursor.
Parameters: units the units.
Parameters: units the units.
Parameters: units the units.
Parameters: units the units.
Returns: The cursor position.
Returns: The maximum width/height.
Returns: The list of ticks.
Parameters: units the units. edge the edge.
Parameters: cursor the cursor position.
Parameters: max the maximum width/height.
Parameters: ticks the ticks.