public class JRAxisFormat extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Color |
labelColor
The color to use when writing the label of the axis.
|
protected JRFont |
labelFont
The font to use when writing the label of the axis.
|
protected Color |
lineColor
The color to use when drawing the axis line and tick marks, if enabled.
|
protected Color |
tickLabelColor
The color to use when writing the label of each tick mark.
|
protected JRFont |
tickLabelFont
The font to use when writing the label of each tick mark.
|
protected String |
tickLabelMask
The mask to use for formatting the label of each tick mark.
|
protected Boolean |
verticalTickLabels
Flag to force rendering the tick labels rotated 90 degrees.
|
Constructor and Description |
---|
JRAxisFormat()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Color |
getLabelColor()
Returns the color used when writing the label of the axis.
|
JRFont |
getLabelFont()
Returns the font used when writing the label of the axis.
|
Color |
getLineColor()
Returns the color used when drawing the axis.
|
Color |
getTickLabelColor()
Returns the color used when writing the label of each tick mark.
|
JRFont |
getTickLabelFont()
Returns the font used when writing the label of each tick mark.
|
String |
getTickLabelMask()
Returns the formatting mask used when writing the label of each tick mark.
|
Boolean |
getVerticalTickLabels() |
void |
setLabelColor(Color labelColor)
Sets the color used when writing the label of the axis.
|
void |
setLabelFont(JRFont labelFont)
Sets the font used when writing the label of the axis.
|
void |
setLineColor(Color lineColor)
Sets the color used when drawing the axis.
|
void |
setTickLabelColor(Color tickLabelColor)
Sets the color to use when writing the label of each tick mark.
|
void |
setTickLabelFont(JRFont tickLabelFont)
Sets the font to use when writing the label of each tick mark.
|
void |
setTickLabelMask(String mask)
Sets the formatting mask to user when writing the label of each tick mark.
|
void |
setVerticalTickLabel(Boolean verticalTickLabels) |
protected Color labelColor
protected JRFont labelFont
protected Color tickLabelColor
protected JRFont tickLabelFont
protected String tickLabelMask
protected Boolean verticalTickLabels
protected Color lineColor
public Color getLabelColor()
public void setLabelColor(Color labelColor)
labelColor
- the color to use when writing the label of the axispublic JRFont getLabelFont()
public void setLabelFont(JRFont labelFont)
labelFont
- the font to use when writing the label of the axispublic Color getLineColor()
public void setLineColor(Color lineColor)
lineColor
- the color to use when drawing the axis.public Color getTickLabelColor()
public void setTickLabelColor(Color tickLabelColor)
tickLabelColor
- the color to use when writing the label of each tick markpublic JRFont getTickLabelFont()
public void setTickLabelFont(JRFont tickLabelFont)
tickLabelFont
- the font to use when writing the label of each tick markpublic String getTickLabelMask()
public void setTickLabelMask(String mask)
mask
- the formatting mask to use when writing the label of each tick markpublic Boolean getVerticalTickLabels()
public void setVerticalTickLabel(Boolean verticalTickLabels)
Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.