public abstract class AxisAnnotation
extends org.jfree.chart.annotations.AbstractAnnotation
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLabel()
Gets the label.
|
org.jfree.ui.RectangleAnchor |
getLabelAnchor()
Gets the label anchor.
|
double |
getLabelAngle()
Gets the label angle.
|
java.awt.Paint |
getLabelBackgroundPaint()
Gets the label background paint.
|
java.awt.Font |
getLabelFont()
Gets the label font.
|
org.jfree.ui.RectangleInsets |
getLabelOffset()
Gets the label offset.
|
org.jfree.ui.LengthAdjustmentType |
getLabelOffsetType()
Gets the label offset type.
|
java.awt.Paint |
getLabelPaint()
Gets the label paint.
|
org.jfree.ui.TextAnchor |
getLabelTextAnchor()
Gets the label text anchor.
|
java.awt.Paint |
getOutlinePaint()
Gets the outline paint.
|
java.awt.Stroke |
getOutlineStroke()
Gets the outline stroke.
|
java.awt.Paint |
getPaint()
Gets the paint.
|
org.jfree.ui.TextAnchor |
getRotationAnchor()
Gets the rotation anchor.
|
java.awt.Stroke |
getStroke()
Gets the stroke.
|
java.lang.String |
getToolTipText()
Returns the tool tip text for the annotation.
|
java.lang.String |
getURL()
Returns the URL for the annotation.
|
int |
hashCode() |
boolean |
isLabelBackgroundVisible()
Checks if is label background visible.
|
boolean |
isLabelClippingAllowed()
Checks if is label clipping allowed.
|
boolean |
isLabelVisible()
Checks if is label visible.
|
void |
setLabel(java.lang.String label)
Sets the label.
|
void |
setLabelAnchor(org.jfree.ui.RectangleAnchor labelAnchor)
Sets the label anchor.
|
void |
setLabelAngle(double labelAngle)
Sets the label angle.
|
void |
setLabelBackgroundPaint(java.awt.Paint paint)
Sets the label background paint.
|
void |
setLabelBackgroundVisible(boolean flag)
Sets the label background visible.
|
void |
setLabelClippingAllowed(boolean flag)
Sets the label clipping allowed.
|
void |
setLabelFont(java.awt.Font labelFont)
Sets the label font.
|
void |
setLabelOffset(org.jfree.ui.RectangleInsets offset)
Sets the label offset.
|
void |
setLabelOffsetTyte(org.jfree.ui.LengthAdjustmentType offsetType)
Sets the label offset tyte.
|
void |
setLabelPaint(java.awt.Paint labelPaint)
Sets the label paint.
|
void |
setLabelTextAnchor(org.jfree.ui.TextAnchor labelTextAnchor)
Sets the label text anchor.
|
void |
setLabelVisible(boolean v)
Sets the label visible.
|
void |
setOutlinePaint(java.awt.Paint paint)
Sets the outline paint.
|
void |
setOutlineStroke(java.awt.Stroke stroke)
Sets the outline stroke.
|
void |
setPaint(java.awt.Paint paint)
Sets the paint.
|
void |
setRotationAnchor(org.jfree.ui.TextAnchor rotationAnchor)
Sets the rotation anchor.
|
void |
setStroke(java.awt.Stroke stroke)
Sets the stroke.
|
void |
setToolTipText(java.lang.String text)
Sets the tool tip text for the annotation.
|
void |
setURL(java.lang.String url)
Sets the URL for the annotation.
|
public java.awt.Stroke getStroke()
public void setStroke(java.awt.Stroke stroke)
stroke
- the new strokepublic java.awt.Stroke getOutlineStroke()
public void setOutlineStroke(java.awt.Stroke stroke)
stroke
- the new outline strokepublic java.awt.Paint getPaint()
public void setPaint(java.awt.Paint paint)
paint
- the new paintpublic java.awt.Paint getOutlinePaint()
public void setOutlinePaint(java.awt.Paint paint)
paint
- the new outline paintpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the new labelpublic java.lang.String getToolTipText()
ChartPanel
when the mouse pointer hovers over the
annotation.null
).setToolTipText(String)
public void setToolTipText(java.lang.String text)
text
- the tool tip text (null
permitted).getToolTipText()
public java.lang.String getURL()
null
).setURL(String)
public void setURL(java.lang.String url)
url
- the URL (null
permitted).getURL()
public double getLabelAngle()
public void setLabelAngle(double labelAngle)
labelAngle
- the new label anglepublic boolean isLabelVisible()
public void setLabelVisible(boolean v)
v
- the new label visiblepublic java.awt.Font getLabelFont()
public void setLabelFont(java.awt.Font labelFont)
labelFont
- the new label fontpublic java.awt.Paint getLabelPaint()
public void setLabelPaint(java.awt.Paint labelPaint)
labelPaint
- the new label paintpublic org.jfree.ui.RectangleInsets getLabelOffset()
public void setLabelOffset(org.jfree.ui.RectangleInsets offset)
offset
- the new label offsetpublic org.jfree.ui.LengthAdjustmentType getLabelOffsetType()
public void setLabelOffsetTyte(org.jfree.ui.LengthAdjustmentType offsetType)
offsetType
- the new label offset tytepublic java.awt.Paint getLabelBackgroundPaint()
public void setLabelBackgroundPaint(java.awt.Paint paint)
paint
- the new label background paintpublic boolean isLabelBackgroundVisible()
public void setLabelBackgroundVisible(boolean flag)
flag
- the new label background visiblepublic boolean isLabelClippingAllowed()
public void setLabelClippingAllowed(boolean flag)
flag
- the new label clipping allowedpublic org.jfree.ui.RectangleAnchor getLabelAnchor()
public void setLabelAnchor(org.jfree.ui.RectangleAnchor labelAnchor)
labelAnchor
- the new label anchorpublic org.jfree.ui.TextAnchor getLabelTextAnchor()
public void setLabelTextAnchor(org.jfree.ui.TextAnchor labelTextAnchor)
labelTextAnchor
- the new label text anchorpublic org.jfree.ui.TextAnchor getRotationAnchor()
public void setRotationAnchor(org.jfree.ui.TextAnchor rotationAnchor)
rotationAnchor
- the new rotation anchorpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object