public class CellAnnotation extends InteractiveObject
| Modifier and Type | Method and Description |
|---|---|
void |
draw(IRenderTarget target,
RenderContext context,
java.awt.Rectangle rect) |
Measure |
getActualHeight() |
Measure |
getActualWidth() |
ObjectAnchor |
getAnchor()
Gets the anchor of this object.
|
java.awt.Color |
getBackColor()
Gets the background color of the object.
|
protected boolean |
getExtendsOutsideBounds()
Gets a value indicating whether this object's visual can extend beyond the object's bounding rectangle.
|
java.lang.Boolean |
getFontBold()
Gets a value indicating whether the comment text is bold.
|
java.lang.Boolean |
getFontDoubleUnderline()
Gets a value indicating whether the comment text is double underlined.
|
java.lang.Boolean |
getFontItalic()
Gets a value indicating whether the comment text is italic.
|
java.lang.String |
getFontName()
Gets the name of the font to use in the comment.
|
java.lang.Double |
getFontSize()
Gets the size of the font to use in the comment.
|
java.lang.Boolean |
getFontStrikeout()
Gets a value indicating whether the comment text is with a line through the middle.
|
java.lang.Boolean |
getFontUnderline()
Gets a value indicating whether the comment text is underlined.
|
HorizontalAlignment |
getHorizontalAlignment()
Gets the horizontal alignment of the text used in the comment.
|
java.awt.Color |
getIndicatorColor()
Gets the color of the cell indicator.
|
int |
getInitialDelay()
Gets the time that passes before the annotation appears.
|
Measure |
getMargin()
Gets the text margins.
|
Annotation |
getParent()
Gets the parent
Annotation object of this instance. |
protected boolean |
getRegardsMergedCells()
Gets a value indicating whether this object is positioned relatively to the bounding rectangle
of the merged cell if the object's cell is a part of a merged cell.
|
Rotate |
getRotate()
Gets the Rotation.
|
boolean |
getShowAlways()
Gets a value indicating whether the annotation is always visible.
|
java.lang.String |
getText()
Gets the comment text of the annotation.
|
java.awt.Color |
getTextColor()
Gets the background color of the object.
|
VerticalAlignment |
getVerticalAlignment()
Gets the vertical alignment of the text used in the comment.
|
boolean |
isLockedToCell()
Gets a value indicating whether this object is always locked to a cell in the worksheet.
|
void |
onPropertyChanged(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
This method is called when the value of a property of this object is changed.
|
void |
setAnchor(ObjectAnchor value)
Sets the anchor of this object.
|
void |
setBackColor(java.awt.Color value)
Sets the background color of the object.
|
void |
setFontBold(java.lang.Boolean value)
Sets a value indicating whether the comment text is bold.
|
void |
setFontDoubleUnderline(java.lang.Boolean value)
Sets a value indicating whether the comment text is double underlined.
|
void |
setFontItalic(java.lang.Boolean value)
Sets a value indicating whether the comment text is italic.
|
void |
setFontName(java.lang.String value)
Sets the name of the font to use in the comment.
|
void |
setFontSize(java.lang.Double value)
Sets the size of the font to use in the comment.
|
void |
setFontStrikeout(java.lang.Boolean value)
Sets a value indicating whether the comment text is with a line through the middle.
|
void |
setFontUnderline(java.lang.Boolean value)
Sets a value indicating whether the comment text is underlined.
|
void |
setHorizontalAlignment(HorizontalAlignment value)
Sets the horizontal alignment of the text used in the comment.
|
void |
setIndicatorColor(java.awt.Color value)
Sets the color of the cell indicator.
|
void |
setInitialDelay(int value)
Gets the time that passes before the annotation appears.
|
void |
setMargin(Measure value)
Sets the text margins.
|
void |
setParent(Annotation value)
Sets the parent
Annotation object of this instance. |
void |
setRotate(Rotate value)
Sets the Rotation
|
void |
setShowAlways(boolean value)
Sets a value indicating whether the annotation is always visible.
|
void |
setText(java.lang.String value)
Sets the comment text of the annotation.
|
void |
setTextColor(java.awt.Color value)
Sets the background color of the object.
|
void |
setVerticalAlignment(VerticalAlignment value)
Sets the vertical alignment of the text used in the comment.
|
bringForward, bringToFront, dispose, getAnchorPosition, getDescription, getFromColumn, getFromRow, getHeight, getHorizontalOffset, getLineColor, getLineSize, getLineStyle, getLocked, getTitle, getVerticalOffset, getWidth, getWorksheet, invalidate, onAttach, onDetach, onPropertyChanged, onResized, onWorksheetPropertyChanged, refactorReferences, restoreReferences, sendBackward, sendToBack, setAnchorPosition, setDescription, setFromColumn, setFromRow, setHeight, setHorizontalOffset, setLineColor, setLineSize, setLineStyle, setLocked, setTitle, setVerticalOffset, setWidthpublic void draw(IRenderTarget target, RenderContext context, java.awt.Rectangle rect)
draw in class InteractiveObjectpublic void onPropertyChanged(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
InteractiveObjectonPropertyChanged in class InteractiveObjectpublic Measure getActualWidth()
getActualWidth in class InteractiveObjectpublic Measure getActualHeight()
getActualHeight in class InteractiveObjectpublic ObjectAnchor getAnchor()
getAnchor in class InteractiveObjectpublic void setAnchor(ObjectAnchor value)
setAnchor in class InteractiveObjectpublic boolean isLockedToCell()
isLockedToCell in class InteractiveObjectpublic java.lang.String getText()
public void setText(java.lang.String value)
public int getInitialDelay()
public void setInitialDelay(int value)
public boolean getShowAlways()
public void setShowAlways(boolean value)
public Annotation getParent()
Annotation object of this instance.public void setParent(Annotation value)
Annotation object of this instance.public java.awt.Color getBackColor()
public void setBackColor(java.awt.Color value)
public java.awt.Color getTextColor()
public void setTextColor(java.awt.Color value)
public java.lang.String getFontName()
public void setFontName(java.lang.String value)
public java.lang.Double getFontSize()
public void setFontSize(java.lang.Double value)
public java.lang.Boolean getFontBold()
public void setFontBold(java.lang.Boolean value)
public java.lang.Boolean getFontItalic()
public void setFontItalic(java.lang.Boolean value)
public java.lang.Boolean getFontUnderline()
public void setFontUnderline(java.lang.Boolean value)
public java.lang.Boolean getFontDoubleUnderline()
public void setFontDoubleUnderline(java.lang.Boolean value)
public java.lang.Boolean getFontStrikeout()
public void setFontStrikeout(java.lang.Boolean value)
public HorizontalAlignment getHorizontalAlignment()
public void setHorizontalAlignment(HorizontalAlignment value)
public VerticalAlignment getVerticalAlignment()
public void setVerticalAlignment(VerticalAlignment value)
public Rotate getRotate()
public void setRotate(Rotate value)
public java.awt.Color getIndicatorColor()
public void setIndicatorColor(java.awt.Color value)
public Measure getMargin()
public void setMargin(Measure value)
protected boolean getExtendsOutsideBounds()
getExtendsOutsideBounds in class InteractiveObjectprotected boolean getRegardsMergedCells()
getRegardsMergedCells in class InteractiveObject