| Modifier and Type | Field and Description |
|---|---|
| private final NoteRecord | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | HSSFComment(EscherContainerRecord spContainer, ObjRecord objRecord, TextObjectRecord textObjectRecord, NoteRecord note)
|
| public | HSSFComment(HSSFShape parent, HSSFAnchor
defines position of this anchor in the sheet anchor)Construct a new comment with the given parent and anchor. |
| private | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | afterInsert(HSSFPatriarch patriarch)
Overrides org.
|
| public void | afterRemove(HSSFPatriarch patriarch)
Overrides org. remove escher container from the patriarch.escherAggregate remove obj, textObj and note records if it's necessary in case of ShapeGroup remove all contained shapes |
| protected HSSFShape | |
| private static NoteRecord | |
| protected ObjRecord | |
| protected EscherContainerRecord | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public CellAddress | getAddress()
Implements org. Get the address of the cell that this comment is attached to |
| public String | Returns: the name of the original author of the commentImplements org. Name of the original comment author |
| public int | |
| public ClientAnchor | getClientAnchor()
Implements org. Return defined position of this anchor in the sheet. |
| public int | Returns: the 0-based column of the cell that contains the commentImplements org. Return the column of the cell that contains the comment |
| protected NoteRecord | |
| public int | Returns: the 0-based row of the cell that contains the commentImplements org. Return the row of the cell that contains the comment |
| public int | |
| public boolean | |
| public boolean | Returns: true if the comment is visible, false otherwiseImplements org. Returns whether this comment is visible. |
| public void | |
| public void | setAddress(CellAddress address)
Implements org. Set the address of the cell that this comment is attached to |
| public void | setAddress(int row, int col)
Implements org. Set the address of the cell that this comment is attached to |
| public void | setAuthor(String
the name of the original author of the comment author)Implements org. Name of the original comment author |
| public void | |
| public void | setColumn(int
the 0-based column of the cell that contains the comment col)Implements org. Set the column of the cell that contains the comment |
| private void | |
| public void | setRow(int
the 0-based row of the cell that contains the comment row)Implements org. Set the row of the cell that contains the comment |
| pack-priv void | setShapeId(int
- global shapeId which must be set to EscherSpRecord shapeId)Overrides org.
|
| public void | setShapeType(int
- shapeType shapeType)Overrides org.
|
| public void | setVisible(boolean
true if the comment is visible, false otherwiseImplements org. Sets whether this comment is visible. |
| _note | back to summary |
|---|---|
| private final NoteRecord _note | |
| FILL_TYPE_PICTURE | back to summary |
|---|---|
| private static final int FILL_TYPE_PICTURE | |
| FILL_TYPE_SOLID | back to summary |
|---|---|
| private static final int FILL_TYPE_SOLID | |
| GROUP_SHAPE_HIDDEN_MASK | back to summary |
|---|---|
| private static final int GROUP_SHAPE_HIDDEN_MASK | |
| GROUP_SHAPE_NOT_HIDDEN_MASK | back to summary |
|---|---|
| private static final int GROUP_SHAPE_NOT_HIDDEN_MASK | |
| GROUP_SHAPE_PROPERTY_DEFAULT_VALUE | back to summary |
|---|---|
| private static final int GROUP_SHAPE_PROPERTY_DEFAULT_VALUE | |
| HSSFComment | back to summary |
|---|---|
| public HSSFComment(EscherContainerRecord spContainer, ObjRecord objRecord, TextObjectRecord textObjectRecord, NoteRecord note) | |
| HSSFComment | back to summary |
|---|---|
| public HSSFComment(HSSFShape parent, HSSFAnchor anchor) Construct a new comment with the given parent and anchor.
| |
| HSSFComment | back to summary |
|---|---|
| private HSSFComment(HSSFShape parent, HSSFAnchor anchor, NoteRecord note) | |
| HSSFComment | back to summary |
|---|---|
| protected HSSFComment(NoteRecord note, TextObjectRecord txo) | |
| afterInsert | back to summary |
|---|---|
| pack-priv void afterInsert(HSSFPatriarch patriarch) Overrides org.
| |
| afterRemove | back to summary |
|---|---|
| public void afterRemove(HSSFPatriarch patriarch) Overrides org. Doc from org. remove escher container from the patriarch.escherAggregate remove obj, textObj and note records if it's necessary in case of ShapeGroup remove all contained shapes
| |
| cloneShape | back to summary |
|---|---|
| protected HSSFShape cloneShape() Overrides org.
| |
| createNoteRecord | back to summary |
|---|---|
| private static NoteRecord createNoteRecord() | |
| createObjRecord | back to summary |
|---|---|
| protected ObjRecord createObjRecord() Overrides org.
| |
| createSpContainer | back to summary |
|---|---|
| protected EscherContainerRecord createSpContainer() Overrides org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAddress | back to summary |
|---|---|
| public CellAddress getAddress() Implements org. Doc from org. Get the address of the cell that this comment is attached to
| |
| getAuthor | back to summary |
|---|---|
| public String getAuthor() Implements org. Name of the original comment author | |
| getBackgroundImageId | back to summary |
|---|---|
| public int getBackgroundImageId() | |
| getClientAnchor | back to summary |
|---|---|
| public ClientAnchor getClientAnchor() Implements org. Doc from org. Return defined position of this anchor in the sheet.
The anchor is the yellow box/balloon that is rendered on top of the sheets
when the comment is visible.
To associate a comment with a different cell, use
| |
| getColumn | back to summary |
|---|---|
| public int getColumn() Implements org. Return the column of the cell that contains the comment
| |
| getNoteRecord | back to summary |
|---|---|
| protected NoteRecord getNoteRecord() Returns the underlying Note record | |
| getRow | back to summary |
|---|---|
| public int getRow() Implements org. Return the row of the cell that contains the comment
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasPosition | back to summary |
|---|---|
| public boolean hasPosition() Do we know which cell this comment belongs to? | |
| isVisible | back to summary |
|---|---|
| public boolean isVisible() Implements org. Returns whether this comment is visible.
| |
| resetBackgroundImage | back to summary |
|---|---|
| public void resetBackgroundImage() | |
| setAddress | back to summary |
|---|---|
| public void setAddress(CellAddress address) Implements org. Doc from org. Set the address of the cell that this comment is attached to
| |
| setAddress | back to summary |
|---|---|
| public void setAddress(int row, int col) Implements org. Doc from org. Set the address of the cell that this comment is attached to
| |
| setAuthor | back to summary |
|---|---|
| public void setAuthor(String author) Implements org. Name of the original comment author | |
| setBackgroundImage | back to summary |
|---|---|
| public void setBackgroundImage(int pictureIndex) | |
| setColumn | back to summary |
|---|---|
| public void setColumn(int col) Implements org. Set the column of the cell that contains the comment
| |
| setHidden | back to summary |
|---|---|
| private void setHidden(boolean value) | |
| setRow | back to summary |
|---|---|
| public void setRow(int row) Implements org. Set the row of the cell that contains the comment
| |
| setShapeId | back to summary |
|---|---|
| pack-priv void setShapeId(int shapeId) Overrides org.
| |
| setShapeType | back to summary |
|---|---|
| public void setShapeType(int shapeType) Overrides org.
| |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean visible) Implements org. Sets whether this comment is visible.
| |