org.apache.poi.xssf.usermodel
Class XSSFComment
java.lang.Object
org.apache.poi.xssf.usermodel.XSSFComment
- All Implemented Interfaces:
- org.apache.poi.ss.usermodel.Comment
public class XSSFComment
- extends java.lang.Object
- implements org.apache.poi.ss.usermodel.Comment
Constructor Summary |
XSSFComment(CommentsTable comments,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment)
Creates a new XSSFComment, associated with a given
low level comment object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSSFComment
public XSSFComment(CommentsTable comments,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment)
- Creates a new XSSFComment, associated with a given
low level comment object.
If, as an end user, you want a new XSSFComment
object, the please ask your sheet for one.
getAuthor
public java.lang.String getAuthor()
- Specified by:
getAuthor
in interface org.apache.poi.ss.usermodel.Comment
getColumn
public int getColumn()
- Specified by:
getColumn
in interface org.apache.poi.ss.usermodel.Comment
getRow
public int getRow()
- Specified by:
getRow
in interface org.apache.poi.ss.usermodel.Comment
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interface org.apache.poi.ss.usermodel.Comment
setAuthor
public void setAuthor(java.lang.String author)
- Specified by:
setAuthor
in interface org.apache.poi.ss.usermodel.Comment
setColumn
public void setColumn(short col)
- Specified by:
setColumn
in interface org.apache.poi.ss.usermodel.Comment
setRow
public void setRow(int row)
- Specified by:
setRow
in interface org.apache.poi.ss.usermodel.Comment
getString
public org.apache.poi.ss.usermodel.RichTextString getString()
- Specified by:
getString
in interface org.apache.poi.ss.usermodel.Comment
setString
public void setString(org.apache.poi.ss.usermodel.RichTextString string)
- Specified by:
setString
in interface org.apache.poi.ss.usermodel.Comment
setString
public void setString(java.lang.String string)
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible
in interface org.apache.poi.ss.usermodel.Comment
Copyright 2008 The Apache Software Foundation or
its licensors, as applicable.