public class AxisState extends Object
Constructor and Description |
---|
AxisState()
Creates a new axis state.
|
AxisState(double cursor)
Creates a new axis state.
|
Modifier and Type | Method and Description |
---|---|
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,
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(List ticks)
Sets the list of ticks.
|
public AxisState()
public AxisState(double cursor)
cursor
- the cursor.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 List getTicks()
public void setTicks(List ticks)
ticks
- the ticks.public double getMax()
public void setMax(double max)
max
- the maximum width/height.Jas4pp 1.5 © Java Analysis Studio for Particle Physics