Java org.jfree.chart.axis Axis fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.axis Axis fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.axis Axis.

The text is from its open source code.

Field

booleanDEFAULT_AXIS_VISIBLE
The default axis visibility.
FontDEFAULT_AXIS_LABEL_FONT
The default axis label font.
PaintDEFAULT_AXIS_LABEL_PAINT
The default axis label paint.
RectangleInsetsDEFAULT_AXIS_LABEL_INSETS
The default axis label insets.
PaintDEFAULT_AXIS_LINE_PAINT
The default axis line paint.
StrokeDEFAULT_AXIS_LINE_STROKE
The default axis line stroke.
booleanDEFAULT_TICK_LABELS_VISIBLE
The default tick labels visibility.
FontDEFAULT_TICK_LABEL_FONT
The default tick label font.
PaintDEFAULT_TICK_LABEL_PAINT
The default tick label paint.
RectangleInsetsDEFAULT_TICK_LABEL_INSETS
The default tick label insets.
booleanDEFAULT_TICK_MARKS_VISIBLE
The default tick marks visible.
StrokeDEFAULT_TICK_MARK_STROKE
The default tick stroke.
PaintDEFAULT_TICK_MARK_PAINT
The default tick paint.
floatDEFAULT_TICK_MARK_INSIDE_LENGTH
The default tick mark inside length.
floatDEFAULT_TICK_MARK_OUTSIDE_LENGTH
The default tick mark outside length.

Method

voidaddChangeListener(AxisChangeListener listener)
Registers an object for notification of changes to the axis.
PaintgetAxisLinePaint()
Returns the paint used to draw the axis line.
StringgetLabel()
Returns the label for the axis.
doublegetLabelAngle()
Returns the angle of the axis label.
FontgetLabelFont()
Returns the font for the axis label.
RectangleInsetsgetLabelInsets()
Returns the insets for the label (that is, the amount of blank space that should be left around the label).
PaintgetLabelPaint()
Returns the color/shade used to draw the axis label.
PlotgetPlot()
Returns the plot that the axis is assigned to.
FontgetTickLabelFont()
Returns the font used for the tick labels (if showing).
RectangleInsetsgetTickLabelInsets()
Returns the insets for the tick labels.
PaintgetTickLabelPaint()
Returns the color/shade used for the tick labels.
booleanisTickLabelsVisible()
Returns a flag indicating whether or not the tick labels are visible.
booleanisTickMarksVisible()
Returns the flag that indicates whether or not the tick marks are showing.
AxisSpacereserveSpace(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)
Estimates the space (height or width) required to draw the axis.
voidsetAxisLinePaint(Paint paint)
Sets the paint used to draw the axis line and sends an AxisChangeEvent to all registered listeners.
voidsetAxisLineStroke(Stroke stroke)
Sets the stroke used to draw the axis line and sends an AxisChangeEvent to all registered listeners.
voidsetAxisLineVisible(boolean visible)
Sets a flag that controls whether or not the axis line is visible and sends an AxisChangeEvent to all registered listeners.
voidsetFixedDimension(double dimension)
Sets the fixed dimension for the axis.
voidsetLabel(String label)
Sets the label for the axis and sends an AxisChangeEvent to all registered listeners.
voidsetLabelAngle(double angle)
Sets the angle for the label and sends an AxisChangeEvent to all registered listeners.
voidsetLabelFont(Font font)
Sets the font for the axis label and sends an AxisChangeEvent to all registered listeners.
voidsetLabelInsets(RectangleInsets insets)
Sets the insets for the axis label, and sends an AxisChangeEvent to all registered listeners.
voidsetLabelPaint(Paint paint)
Sets the paint used to draw the axis label and sends an AxisChangeEvent to all registered listeners.
voidsetMinorTickMarkInsideLength(float length)
Sets the inside length of the minor tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetMinorTickMarkOutsideLength(float length)
Sets the outside length of the minor tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetMinorTickMarksVisible(boolean flag)
Sets the flag that indicates whether or not the minor tick marks are showing and sends an AxisChangeEvent to all registered listeners.
voidsetPlot(Plot plot)
Sets a reference to the plot that the axis is assigned to.
voidsetTickLabelFont(Font font)
Sets the font for the tick labels and sends an AxisChangeEvent to all registered listeners.
voidsetTickLabelInsets(RectangleInsets insets)
Sets the insets for the tick labels and sends an AxisChangeEvent to all registered listeners.
voidsetTickLabelPaint(Paint paint)
Sets the paint used to draw tick labels (if they are showing) and sends an AxisChangeEvent to all registered listeners.
voidsetTickLabelsVisible(boolean flag)
Sets the flag that determines whether or not the tick labels are visible and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarkInsideLength(float length)
Sets the inside length of the tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarkOutsideLength(float length)
Sets the outside length of the tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarkPaint(Paint paint)
Sets the paint used to draw tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarkStroke(Stroke stroke)
Sets the stroke used to draw tick marks and sends an AxisChangeEvent to all registered listeners.
voidsetTickMarksVisible(boolean flag)
Sets the flag that indicates whether or not the tick marks are showing and sends an AxisChangeEvent to all registered listeners.
voidsetVisible(boolean flag)
Sets a flag that controls whether or not the axis is visible and sends an AxisChangeEvent to all registered listeners.