net.sf.jasperreports.charts.util
public class JRAxisFormat extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.awt.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 java.awt.Color |
lineColor
The color to use when drawing the axis line and tick marks, if enabled.
|
protected java.awt.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 java.lang.String |
tickLabelMask
The mask to use for formatting the label of each tick mark.
|
protected java.lang.Boolean |
verticalTickLabels
Flag to force rendering the tick labels rotated 90 degrees.
|
Constructor and Description |
---|
JRAxisFormat()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.awt.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.
|
java.awt.Color |
getLineColor()
Returns the color used when drawing the axis.
|
java.awt.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.
|
java.lang.String |
getTickLabelMask()
Returns the formatting mask used when writing the label of each tick mark.
|
java.lang.Boolean |
getVerticalTickLabels() |
void |
setLabelColor(java.awt.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(java.awt.Color lineColor)
Sets the color used when drawing the axis.
|
void |
setTickLabelColor(java.awt.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(java.lang.String mask)
Sets the formatting mask to user when writing the label of each tick mark.
|
void |
setVerticalTickLabel(java.lang.Boolean verticalTickLabels) |
protected java.awt.Color labelColor
protected JRFont labelFont
protected java.awt.Color tickLabelColor
protected JRFont tickLabelFont
protected java.lang.String tickLabelMask
protected java.lang.Boolean verticalTickLabels
protected java.awt.Color lineColor
public java.awt.Color getLabelColor()
public void setLabelColor(java.awt.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 java.awt.Color getLineColor()
public void setLineColor(java.awt.Color lineColor)
lineColor
- the color to use when drawing the axis.public java.awt.Color getTickLabelColor()
public void setTickLabelColor(java.awt.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 java.lang.String getTickLabelMask()
public void setTickLabelMask(java.lang.String mask)
mask
- the formatting mask to use when writing the label of each tick markpublic java.lang.Boolean getVerticalTickLabels()
public void setVerticalTickLabel(java.lang.Boolean verticalTickLabels)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com