|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.swtchart.internal.axis.AxisTickMarks
public class AxisTickMarks
Axis tick marks.
Field Summary | |
---|---|
protected static int |
LINE_WIDTH
the line width |
static int |
TICK_LENGTH
the tick length |
Constructor Summary | |
---|---|
AxisTickMarks(Chart chart,
Axis axis)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int LINE_WIDTH
public static final int TICK_LENGTH
Constructor Detail |
---|
public AxisTickMarks(Chart chart, Axis axis)
chart
- the chartaxis
- the axisMethod Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |