Java源码示例:org.jfree.experimental.swt.SWTUtils
示例1
/**
* Restores the auto-range calculation on the domain axis.
*/
public void restoreAutoDomainBounds() {
Plot p = this.chart.getPlot();
if (p instanceof Zoomable) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomDomainAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例2
/**
* Restores the auto-range calculation on the range axis.
*/
public void restoreAutoRangeBounds() {
Plot p = this.chart.getPlot();
if (p instanceof ValueAxisPlot) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomRangeAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例3
/**
* Restores the auto-range calculation on the domain axis.
*/
public void restoreAutoDomainBounds() {
Plot p = this.chart.getPlot();
if (p instanceof Zoomable) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomDomainAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例4
/**
* Restores the auto-range calculation on the range axis.
*/
public void restoreAutoRangeBounds() {
Plot p = this.chart.getPlot();
if (p instanceof ValueAxisPlot) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomRangeAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例5
/**
* Restores the auto-range calculation on the domain axis.
*/
public void restoreAutoDomainBounds() {
Plot p = this.chart.getPlot();
if (p instanceof Zoomable) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomDomainAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例6
/**
* Restores the auto-range calculation on the range axis.
*/
public void restoreAutoRangeBounds() {
Plot p = this.chart.getPlot();
if (p instanceof ValueAxisPlot) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomRangeAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例7
/**
* Restores the auto-range calculation on the domain axis.
*/
public void restoreAutoDomainBounds() {
Plot p = this.chart.getPlot();
if (p instanceof Zoomable) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomDomainAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例8
/**
* Restores the auto-range calculation on the range axis.
*/
public void restoreAutoRangeBounds() {
Plot p = this.chart.getPlot();
if (p instanceof ValueAxisPlot) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomRangeAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例9
/**
* Restores the auto-range calculation on the domain axis.
*/
public void restoreAutoDomainBounds() {
Plot p = this.chart.getPlot();
if (p instanceof Zoomable) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomDomainAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例10
/**
* Restores the auto-range calculation on the range axis.
*/
public void restoreAutoRangeBounds() {
Plot p = this.chart.getPlot();
if (p instanceof ValueAxisPlot) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomRangeAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例11
/**
* Restores the auto-range calculation on the domain axis.
*/
public void restoreAutoDomainBounds() {
Plot p = this.chart.getPlot();
if (p instanceof Zoomable) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint :
new org.eclipse.swt.graphics.Point(0,0));
z.zoomDomainAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例12
/**
* Restores the auto-range calculation on the range axis.
*/
public void restoreAutoRangeBounds() {
Plot p = this.chart.getPlot();
if (p instanceof ValueAxisPlot) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint :
new org.eclipse.swt.graphics.Point(0,0));
z.zoomRangeAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例13
/**
* Restores the auto-range calculation on the domain axis.
*/
public void restoreAutoDomainBounds() {
Plot p = this.chart.getPlot();
if (p instanceof Zoomable) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomDomainAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例14
/**
* Restores the auto-range calculation on the range axis.
*/
public void restoreAutoRangeBounds() {
Plot p = this.chart.getPlot();
if (p instanceof ValueAxisPlot) {
Zoomable z = (Zoomable) p;
// we need to guard against this.zoomPoint being null
org.eclipse.swt.graphics.Point zp =
(this.zoomPoint != null ? this.zoomPoint
: new org.eclipse.swt.graphics.Point(0, 0));
z.zoomRangeAxes(0.0, this.info.getPlotInfo(),
SWTUtils.toAwtPoint(zp));
}
}
示例15
/**
* Creates a new instance.
*
* @param parent the parent.
* @param style the style.
* @param chart the chart.
*/
public SWTOtherEditor(Composite parent, int style, JFreeChart chart) {
super(parent, style);
FillLayout layout = new FillLayout();
layout.marginHeight = layout.marginWidth = 4;
setLayout(layout);
Group general = new Group(this, SWT.NONE);
general.setLayout(new GridLayout(3, false));
general.setText(localizationResources.getString("General"));
// row 1: antialiasing
this.antialias = new Button(general, SWT.CHECK);
this.antialias.setText(localizationResources.getString(
"Draw_anti-aliased"));
this.antialias.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
false, 3, 1));
this.antialias.setSelection(chart.getAntiAlias());
//row 2: background paint for the chart
new Label(general, SWT.NONE).setText(localizationResources.getString(
"Background_paint"));
this.backgroundPaintCanvas = new SWTPaintCanvas(general, SWT.NONE,
SWTUtils.toSwtColor(getDisplay(), chart.getBackgroundPaint()));
GridData bgGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
bgGridData.heightHint = 20;
this.backgroundPaintCanvas.setLayoutData(bgGridData);
Button selectBgPaint = new Button(general, SWT.PUSH);
selectBgPaint.setText(localizationResources.getString("Select..."));
selectBgPaint.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
false));
selectBgPaint.addSelectionListener(
new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
ColorDialog dlg = new ColorDialog(getShell());
dlg.setText(localizationResources.getString(
"Background_paint"));
dlg.setRGB(SWTOtherEditor.this.backgroundPaintCanvas
.getColor().getRGB());
RGB rgb = dlg.open();
if (rgb != null) {
SWTOtherEditor.this.backgroundPaintCanvas.setColor(
new Color(getDisplay(), rgb));
}
}
}
);
}
示例16
/**
* Updates the chart.
*
* @param chart the chart.
*/
public void updateChartProperties(JFreeChart chart) {
chart.setAntiAlias(this.antialias.getSelection());
chart.setBackgroundPaint(SWTUtils.toAwtColor(
this.backgroundPaintCanvas.getColor()));
}
示例17
/**
* Creates a new instance.
*
* @param parent the parent.
* @param style the style.
* @param chart the chart.
*/
public SWTOtherEditor(Composite parent, int style, JFreeChart chart) {
super(parent, style);
FillLayout layout = new FillLayout();
layout.marginHeight = layout.marginWidth = 4;
setLayout(layout);
Group general = new Group(this, SWT.NONE);
general.setLayout(new GridLayout(3, false));
general.setText(localizationResources.getString("General"));
// row 1: antialiasing
this.antialias = new Button(general, SWT.CHECK);
this.antialias.setText(localizationResources.getString(
"Draw_anti-aliased"));
this.antialias.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
false, 3, 1));
this.antialias.setSelection(chart.getAntiAlias());
//row 2: background paint for the chart
new Label(general, SWT.NONE).setText(localizationResources.getString(
"Background_paint"));
this.backgroundPaintCanvas = new SWTPaintCanvas(general, SWT.NONE,
SWTUtils.toSwtColor(getDisplay(), chart.getBackgroundPaint()));
GridData bgGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
bgGridData.heightHint = 20;
this.backgroundPaintCanvas.setLayoutData(bgGridData);
Button selectBgPaint = new Button(general, SWT.PUSH);
selectBgPaint.setText(localizationResources.getString("Select..."));
selectBgPaint.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
false));
selectBgPaint.addSelectionListener(
new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
ColorDialog dlg = new ColorDialog(getShell());
dlg.setText(localizationResources.getString(
"Background_paint"));
dlg.setRGB(SWTOtherEditor.this.backgroundPaintCanvas
.getColor().getRGB());
RGB rgb = dlg.open();
if (rgb != null) {
SWTOtherEditor.this.backgroundPaintCanvas.setColor(
new Color(getDisplay(), rgb));
}
}
}
);
}
示例18
/**
* Updates the chart.
*
* @param chart the chart.
*/
public void updateChartProperties(JFreeChart chart) {
chart.setAntiAlias(this.antialias.getSelection());
chart.setBackgroundPaint(SWTUtils.toAwtColor(
this.backgroundPaintCanvas.getColor()));
}
示例19
/**
* Creates a new instance.
*
* @param parent the parent.
* @param style the style.
* @param chart the chart.
*/
public SWTOtherEditor(Composite parent, int style, JFreeChart chart) {
super(parent, style);
FillLayout layout = new FillLayout();
layout.marginHeight = layout.marginWidth = 4;
setLayout(layout);
Group general = new Group(this, SWT.NONE);
general.setLayout(new GridLayout(3, false));
general.setText(localizationResources.getString("General"));
// row 1: antialiasing
this.antialias = new Button(general, SWT.CHECK);
this.antialias.setText(localizationResources.getString(
"Draw_anti-aliased"));
this.antialias.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
false, 3, 1));
this.antialias.setSelection(chart.getAntiAlias());
//row 2: background paint for the chart
new Label(general, SWT.NONE).setText(localizationResources.getString(
"Background_paint"));
this.backgroundPaintCanvas = new SWTPaintCanvas(general, SWT.NONE,
SWTUtils.toSwtColor(getDisplay(), chart.getBackgroundPaint()));
GridData bgGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
bgGridData.heightHint = 20;
this.backgroundPaintCanvas.setLayoutData(bgGridData);
Button selectBgPaint = new Button(general, SWT.PUSH);
selectBgPaint.setText(localizationResources.getString("Select..."));
selectBgPaint.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
false));
selectBgPaint.addSelectionListener(
new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
ColorDialog dlg = new ColorDialog(getShell());
dlg.setText(localizationResources.getString(
"Background_paint"));
dlg.setRGB(SWTOtherEditor.this.backgroundPaintCanvas
.getColor().getRGB());
RGB rgb = dlg.open();
if (rgb != null) {
SWTOtherEditor.this.backgroundPaintCanvas.setColor(
new Color(getDisplay(), rgb));
}
}
}
);
}
示例20
/**
* Updates the chart.
*
* @param chart the chart.
*/
public void updateChartProperties(JFreeChart chart) {
chart.setAntiAlias(this.antialias.getSelection());
chart.setBackgroundPaint(SWTUtils.toAwtColor(
this.backgroundPaintCanvas.getColor()));
}
示例21
/**
* Creates a new instance.
*
* @param parent the parent.
* @param style the style.
* @param chart the chart.
*/
public SWTOtherEditor(Composite parent, int style, JFreeChart chart) {
super(parent, style);
FillLayout layout = new FillLayout();
layout.marginHeight = layout.marginWidth = 4;
setLayout(layout);
Group general = new Group(this, SWT.NONE);
general.setLayout(new GridLayout(3, false));
general.setText(localizationResources.getString("General"));
// row 1: antialiasing
this.antialias = new Button(general, SWT.CHECK);
this.antialias.setText(localizationResources.getString(
"Draw_anti-aliased"));
this.antialias.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
false, 3, 1));
this.antialias.setSelection(chart.getAntiAlias());
//row 2: background paint for the chart
new Label(general, SWT.NONE).setText(localizationResources.getString(
"Background_paint"));
this.backgroundPaintCanvas = new SWTPaintCanvas(general, SWT.NONE,
SWTUtils.toSwtColor(getDisplay(), chart.getBackgroundPaint()));
GridData bgGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
bgGridData.heightHint = 20;
this.backgroundPaintCanvas.setLayoutData(bgGridData);
Button selectBgPaint = new Button(general, SWT.PUSH);
selectBgPaint.setText(localizationResources.getString("Select..."));
selectBgPaint.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
false));
selectBgPaint.addSelectionListener(
new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
ColorDialog dlg = new ColorDialog(getShell());
dlg.setText(localizationResources.getString(
"Background_paint"));
dlg.setRGB(SWTOtherEditor.this.backgroundPaintCanvas
.getColor().getRGB());
RGB rgb = dlg.open();
if (rgb != null) {
SWTOtherEditor.this.backgroundPaintCanvas.setColor(
new Color(getDisplay(), rgb));
}
}
}
);
}
示例22
/**
* Updates the chart.
*
* @param chart the chart.
*/
public void updateChartProperties(JFreeChart chart) {
chart.setAntiAlias(this.antialias.getSelection());
chart.setBackgroundPaint(SWTUtils.toAwtColor(
this.backgroundPaintCanvas.getColor()));
}
示例23
/**
* Creates a new instance.
*
* @param parent the parent.
* @param style the style.
* @param chart the chart.
*/
public SWTOtherEditor(Composite parent, int style, JFreeChart chart) {
super(parent, style);
FillLayout layout = new FillLayout();
layout.marginHeight = layout.marginWidth = 4;
setLayout(layout);
Group general = new Group(this, SWT.NONE);
general.setLayout(new GridLayout(3, false));
general.setText(localizationResources.getString("General"));
// row 1: antialiasing
this.antialias = new Button(general, SWT.CHECK);
this.antialias.setText(localizationResources.getString(
"Draw_anti-aliased"));
this.antialias.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
false, 3, 1));
this.antialias.setSelection(chart.getAntiAlias());
//row 2: background paint for the chart
new Label(general, SWT.NONE).setText(localizationResources.getString(
"Background_paint"));
this.backgroundPaintCanvas = new SWTPaintCanvas(general, SWT.NONE,
SWTUtils.toSwtColor(getDisplay(), chart.getBackgroundPaint()));
GridData bgGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
bgGridData.heightHint = 20;
this.backgroundPaintCanvas.setLayoutData(bgGridData);
Button selectBgPaint = new Button(general, SWT.PUSH);
selectBgPaint.setText(localizationResources.getString("Select..."));
selectBgPaint.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
false));
selectBgPaint.addSelectionListener(
new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
ColorDialog dlg = new ColorDialog(getShell());
dlg.setText(localizationResources.getString(
"Background_paint"));
dlg.setRGB(SWTOtherEditor.this.backgroundPaintCanvas
.getColor().getRGB());
RGB rgb = dlg.open();
if (rgb != null) {
SWTOtherEditor.this.backgroundPaintCanvas.setColor(
new Color(getDisplay(), rgb));
}
}
}
);
}
示例24
/**
* Updates the chart.
*
* @param chart the chart.
*/
public void updateChartProperties(JFreeChart chart) {
chart.setAntiAlias(this.antialias.getSelection());
chart.setBackgroundPaint(SWTUtils.toAwtColor(
this.backgroundPaintCanvas.getColor()));
}
示例25
/**
* Creates a new instance.
*
* @param parent the parent.
* @param style the style.
* @param chart the chart.
*/
public SWTOtherEditor(Composite parent, int style, JFreeChart chart) {
super(parent, style);
FillLayout layout = new FillLayout();
layout.marginHeight = layout.marginWidth = 4;
setLayout(layout);
Group general = new Group(this, SWT.NONE);
general.setLayout(new GridLayout(3, false));
general.setText(localizationResources.getString("General"));
// row 1: antialiasing
this.antialias = new Button(general, SWT.CHECK);
this.antialias.setText(localizationResources.getString(
"Draw_anti-aliased"));
this.antialias.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
false, 3, 1));
this.antialias.setSelection(chart.getAntiAlias());
//row 2: background paint for the chart
new Label(general, SWT.NONE).setText(localizationResources.getString(
"Background_paint"));
this.backgroundPaintCanvas = new SWTPaintCanvas(general, SWT.NONE,
SWTUtils.toSwtColor(getDisplay(), chart.getBackgroundPaint()));
GridData bgGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
bgGridData.heightHint = 20;
this.backgroundPaintCanvas.setLayoutData(bgGridData);
Button selectBgPaint = new Button(general, SWT.PUSH);
selectBgPaint.setText(localizationResources.getString("Select..."));
selectBgPaint.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
false));
selectBgPaint.addSelectionListener(
new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
ColorDialog dlg = new ColorDialog(getShell());
dlg.setText(localizationResources.getString(
"Background_paint"));
dlg.setRGB(SWTOtherEditor.this.backgroundPaintCanvas
.getColor().getRGB());
RGB rgb = dlg.open();
if (rgb != null) {
SWTOtherEditor.this.backgroundPaintCanvas.setColor(
new Color(getDisplay(), rgb));
}
}
}
);
}
示例26
/**
* Updates the chart.
*
* @param chart the chart.
*/
public void updateChartProperties(JFreeChart chart) {
chart.setAntiAlias(this.antialias.getSelection());
chart.setBackgroundPaint(SWTUtils.toAwtColor(
this.backgroundPaintCanvas.getColor()));
}
示例27
/**
* Creates a new instance.
*
* @param parent the parent.
* @param style the style.
* @param chart the chart.
*/
public SWTOtherEditor(Composite parent, int style, JFreeChart chart) {
super(parent, style);
FillLayout layout = new FillLayout();
layout.marginHeight = layout.marginWidth = 4;
setLayout(layout);
Group general = new Group(this, SWT.NONE);
general.setLayout(new GridLayout(3, false));
general.setText(localizationResources.getString("General"));
// row 1: antialiasing
this.antialias = new Button(general, SWT.CHECK);
this.antialias.setText(localizationResources.getString(
"Draw_anti-aliased"));
this.antialias.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
false, 3, 1));
this.antialias.setSelection(chart.getAntiAlias());
//row 2: background paint for the chart
new Label(general, SWT.NONE).setText(localizationResources.getString(
"Background_paint"));
this.backgroundPaintCanvas = new SWTPaintCanvas(general, SWT.NONE,
SWTUtils.toSwtColor(getDisplay(), chart.getBackgroundPaint()));
GridData bgGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
bgGridData.heightHint = 20;
this.backgroundPaintCanvas.setLayoutData(bgGridData);
Button selectBgPaint = new Button(general, SWT.PUSH);
selectBgPaint.setText(localizationResources.getString("Select..."));
selectBgPaint.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
false));
selectBgPaint.addSelectionListener(
new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
ColorDialog dlg = new ColorDialog(getShell());
dlg.setText(localizationResources.getString(
"Background_paint"));
dlg.setRGB(SWTOtherEditor.this.backgroundPaintCanvas
.getColor().getRGB());
RGB rgb = dlg.open();
if (rgb != null) {
SWTOtherEditor.this.backgroundPaintCanvas.setColor(
new Color(getDisplay(), rgb));
}
}
}
);
}
示例28
/**
* Updates the chart.
*
* @param chart the chart.
*/
public void updateChartProperties(JFreeChart chart) {
chart.setAntiAlias(this.antialias.getSelection());
chart.setBackgroundPaint(SWTUtils.toAwtColor(
this.backgroundPaintCanvas.getColor()));
}
示例29
/**
* Returns the current label font.
*
* @return The current label font.
*/
public java.awt.Font getLabelFont() {
return SWTUtils.toAwtFont(getDisplay(), this.labelFont, true);
}
示例30
/**
* Returns the current label paint.
*
* @return The current label paint.
*/
public Paint getTickLabelPaint() {
return SWTUtils.toAwtColor(this.tickLabelPaintColor);
}