public class Annotation extends java.lang.Object implements IInplaceEditable
| Modifier and Type | Method and Description |
|---|---|
CellAnnotation |
getCellAnnotation()
Gets the interactive object associated with this annotation.
|
boolean |
getShowAlways()
Gets a value indicating whether the annotation is always visible.
|
java.lang.String |
getText()
Gets the comment text of the annotation.
|
java.lang.String |
getTextToEdit()
Returns the text of the object which should be displayed initially when the object is in-place edited.
|
void |
remove()
Removes this annotation from its owner
Cell object. |
void |
setEditedText(java.lang.String newText)
Sets the edited text to the object after the in-place editing operation has been completed successfully.
|
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.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getTextToEdit()
getTextToEdit in interface IInplaceEditablepublic void setEditedText(java.lang.String newText)
setEditedText in interface IInplaceEditablenewText - The new text of the in-place edited object.public void remove()
Cell object.public boolean getShowAlways()
public void setShowAlways(boolean value)
public java.lang.String getText()
public void setText(java.lang.String value)
public CellAnnotation getCellAnnotation()