|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.swtchart.internal.axis.AxisTickLabels
public class AxisTickLabels
Axis tick labels.
Constructor Summary | |
---|---|
protected |
AxisTickLabels(Chart chart,
Axis axis)
Constructor. |
Method Summary | |
---|---|
protected void |
dispose()
Disposes the resources. |
protected Rectangle |
getBounds()
Gets the bounds on chart panel. |
protected Font |
getFont()
Gets the font. |
protected Color |
getForeground()
Gets the foreground color. |
protected java.text.Format |
getFormat()
Gets the format for axis tick label. |
ChartLayoutData |
getLayoutData()
Gets the layout data. |
java.util.ArrayList<java.lang.Integer> |
getTickLabelPositions()
Gets the tick label positions. |
protected java.util.ArrayList<java.lang.Double> |
getTickLabelValues()
Gets the tick label values. |
void |
paintControl(PaintEvent e)
|
void |
setBounds(int x,
int y,
int width,
int height)
Sets the bounds on chart panel. |
protected void |
setFont(Font font)
Sets the font. |
void |
setForeground(Color color)
Sets the foreground color. |
protected void |
setFormat(java.text.Format format)
Sets the format for axis tick label. |
protected void |
update(int length)
Updates the tick labels. |
protected void |
updateLayoutData()
Updates the tick labels layout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AxisTickLabels(Chart chart, Axis axis)
chart
- the chartaxis
- the axisMethod Detail |
---|
public void setForeground(Color color)
color
- the foreground colorprotected Color getForeground()
protected void update(int length)
length
- the axis lengthpublic java.util.ArrayList<java.lang.Integer> getTickLabelPositions()
protected java.util.ArrayList<java.lang.Double> getTickLabelValues()
protected void setFont(Font font)
font
- the fontprotected Font getFont()
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()
protected void updateLayoutData()
public void paintControl(PaintEvent e)
protected void setFormat(java.text.Format format)
If null is set, default format will be used.
format
- the formatprotected java.text.Format getFormat()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |