Specifying Content of Label

Specifying Content of Label

Previous Home Next

 

Specifying Content of Label

For creating and using Labels, we have to use the Label class contained in jxl.write package. jxl.write.Label class is used for creating the Labels inside a spreadsheet.
 To specify the contents of a Label we used the following method,

void setString(String str)
This method sets the string contents of this cell.
Thus for getting the string contents we can use the getString() or the getContents() methods.



 

Previous Home Next