Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class Name

java.lang.Object
  extended by com.aspose.cells.Name
Direct Known Subclasses:
NamedRange

public class Name
extends java.lang.Object

Encapsulates the object that represents a name, including NamedRange


Method Summary
 java.lang.String getRefersTo()
           
 java.lang.String getText()
          Gets the name of the range.
 Worksheet getWorksheet()
          Gets the worksheet which contians this Name .
 void setInnerText(java.lang.String text)
           
 void setRefersTo(java.lang.String refersTo)
           
 void setText(java.lang.String text)
          Sets the name of the range.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getText

public java.lang.String getText()
Gets the name of the range.


setText

public void setText(java.lang.String text)
Sets the name of the range.

Throws:
java.lang.IllegalArgumentException - if text is invalid.

setInnerText

public void setInnerText(java.lang.String text)

getRefersTo

public java.lang.String getRefersTo()

getWorksheet

public Worksheet getWorksheet()
Gets the worksheet which contians this Name .

Returns:
the worksheet. null means this Name is global.

setRefersTo

public void setRefersTo(java.lang.String refersTo)