An axis tick. More...

Public Member Functions | |
| void | setForeground (Color color) |
| Sets the foreground color of axis tick. | |
| Color | getForeground () |
| Gets the foreground color of axis tick. | |
| void | setFont (Font font) |
| Sets the font for tick labels. | |
| Font | getFont () |
| Gets the font for tick labels. | |
| boolean | isVisible () |
| Gets the state indicating if tick marks are visible. | |
| void | setVisible (boolean isVisible) |
| Sets the state indicating if tick marks are visible. | |
| int | getTickMarkStepHint () |
| Gets the tick mark step hint in pixels. | |
| void | setTickMarkStepHint (int tickMarkStepHint) |
| Sets the tick mark step hint in pixels. | |
| int | getTickLabelAngle () |
| Gets the tick label angle. | |
| void | setTickLabelAngle (int angle) |
| Sets the tick label angle. | |
| void | setFormat (Format format) |
| Sets the format for axis tick label. | |
| Format | getFormat () |
| Gets the format for axis tick label. | |
| Rectangle | getBounds () |
| Gets the bounds of axis tick. | |
| double[] | getTickLabelValues () |
| Gets the tick label values. | |
Static Public Attributes | |
| static final double | MIN_GRID_STEP_HINT = 16 |
| the minimum grid step hint | |
An axis tick.
Definition at line 18 of file IAxisTick.java.
| Rectangle org.swtchart.IAxisTick.getBounds | ( | ) |
Gets the bounds of axis tick.
This method is typically used for mouse listener to check whether mouse cursor is on axis tick. Mouse listener can be added to Chart.
Implemented in org.swtchart.internal.axis.AxisTick.
| Font org.swtchart.IAxisTick.getFont | ( | ) |
Gets the font for tick labels.
Implemented in org.swtchart.internal.axis.AxisTick.
Referenced by org.swtchart.ext.internal.properties.AxisTickPage.apply(), and org.swtchart.ext.internal.properties.AxisTickPage.selectInitialValues().

| Color org.swtchart.IAxisTick.getForeground | ( | ) |
Gets the foreground color of axis tick.
Implemented in org.swtchart.internal.axis.AxisTick.
Referenced by org.swtchart.ext.internal.properties.AxisTickPage.selectInitialValues().

| Format org.swtchart.IAxisTick.getFormat | ( | ) |
Gets the format for axis tick label.
Implemented in org.swtchart.internal.axis.AxisTick.
| int org.swtchart.IAxisTick.getTickLabelAngle | ( | ) |
Gets the tick label angle.
Implemented in org.swtchart.internal.axis.AxisTick.
| double [] org.swtchart.IAxisTick.getTickLabelValues | ( | ) |
Gets the tick label values.
Implemented in org.swtchart.internal.axis.AxisTick.
| int org.swtchart.IAxisTick.getTickMarkStepHint | ( | ) |
Gets the tick mark step hint in pixels.
Implemented in org.swtchart.internal.axis.AxisTick.
| boolean org.swtchart.IAxisTick.isVisible | ( | ) |
Gets the state indicating if tick marks are visible.
Implemented in org.swtchart.internal.axis.AxisTick.
Referenced by org.swtchart.ext.internal.properties.AxisTickPage.selectInitialValues().

| void org.swtchart.IAxisTick.setFont | ( | Font | font | ) |
Sets the font for tick labels.
| font | the font for tick labels |
Implemented in org.swtchart.internal.axis.AxisTick.
Referenced by org.swtchart.ext.internal.properties.AxisTickPage.apply().

| void org.swtchart.IAxisTick.setForeground | ( | Color | color | ) |
Sets the foreground color of axis tick.
| color | the foreground color of axis tick |
Implemented in org.swtchart.internal.axis.AxisTick.
Referenced by org.swtchart.ext.internal.properties.AxisTickPage.apply(), and org.swtchart.examples.MultipleAxesExample.createChart().

| void org.swtchart.IAxisTick.setFormat | ( | Format | format | ) |
Sets the format for axis tick label.
DecimalFormat and DateFormat should be used for double[] series and Date[] series respectively.
| format | the format |
Implemented in org.swtchart.internal.axis.AxisTick.
| void org.swtchart.IAxisTick.setTickLabelAngle | ( | int | angle | ) |
Sets the tick label angle.
| angle | the angle in degree between 0 and 90. The default value is 0. If setting 0, tick labels are horizontally shown. If setting 90, tick labels are vertically shown. |
Implemented in org.swtchart.internal.axis.AxisTick.
Referenced by org.swtchart.examples.AngledAxisTickLabelsExample.createChart().

| void org.swtchart.IAxisTick.setTickMarkStepHint | ( | int | tickMarkStepHint | ) |
Sets the tick mark step hint in pixels.
| tickMarkStepHint | the tick mark step hint with pixels (> IAxisTick.MIN_GRID_STEP_HINT) |
Implemented in org.swtchart.internal.axis.AxisTick.
| void org.swtchart.IAxisTick.setVisible | ( | boolean | isVisible | ) |
Sets the state indicating if tick marks are visible.
| isVisible | true to make the tick marks visible |
Implemented in org.swtchart.internal.axis.AxisTick.
Referenced by org.swtchart.ext.internal.properties.AxisTickPage.apply().

final double org.swtchart.IAxisTick.MIN_GRID_STEP_HINT = 16 [static] |
the minimum grid step hint
Definition at line 21 of file IAxisTick.java.
Referenced by org.swtchart.internal.axis.AxisTick.setTickMarkStepHint().
1.6.1