org.apache.poi.xssf.usermodel
Class XSSFComment

java.lang.Object
  extended by 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.
 
Method Summary
 java.lang.String getAuthor()
           
 int getColumn()
           
 int getRow()
           
 org.apache.poi.ss.usermodel.RichTextString getString()
           
 boolean isVisible()
           
 void setAuthor(java.lang.String author)
           
 void setColumn(short col)
           
 void setRow(int row)
           
 void setString(org.apache.poi.ss.usermodel.RichTextString string)
           
 void setString(java.lang.String string)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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.