public class AxisTickMarks
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected static int |
LINE_WIDTH |
the line width
|
static int |
TICK_LENGTH |
the tick length
|
| Constructor | Description |
|---|---|
AxisTickMarks(Chart chart,
Axis axis) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
dispose() |
Disposes the resources.
|
Axis |
getAxis() |
Gets the associated axis.
|
protected Rectangle |
getBounds() |
Gets the bounds on chart panel.
|
protected Color |
getForeground() |
Gets the foreground color.
|
ChartLayoutData |
getLayoutData() |
Gets the layout data.
|
void |
paintControl(PaintEvent e) |
|
void |
setBounds(int x,
int y,
int width,
int height) |
Sets the bounds on chart panel.
|
void |
setForeground(Color color) |
Sets the foreground color.
|
protected void |
updateLayoutData() |
Updates tick marks layout.
|
protected static final int LINE_WIDTH
public static final int TICK_LENGTH
public void setForeground(Color color)
color - the foreground colorprotected Color getForeground()
public Axis getAxis()
protected void updateLayoutData()
public ChartLayoutData getLayoutData()
public void setBounds(int x,
int y,
int width,
int height)
x - the x coordinatey - the y coordinatewidth - the widthheight - the heightprotected Rectangle getBounds()
protected void dispose()
public void paintControl(PaintEvent e)