Class NameNode
java.lang.Object
com.grapecity.documents.excel.expressions.SyntaxNode
com.grapecity.documents.excel.expressions.TerminalNode
com.grapecity.documents.excel.expressions.NameNode
Represents a name node in the syntax tree.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newNameNodefromstring.NameNode(String name, WorkbookReference workbook, String worksheetName, String lastWorksheetName) Creates a newNameNodefrom a range of sheets of the specifiedworkbook.Creates a newNameNodefrom a range of sheets. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringIf the name represents a range of worksheets, represents the worksheet at the end of the range.final StringgetName()The short name.final WorkbookReferenceThe external workbook reference.final StringThe worksheet of the name.final voidsetLastWorksheetName(String value) If the name represents a range of worksheets, represents the worksheet at the end of the range.final voidThe short name.final voidsetWorkbook(WorkbookReference value) The external workbook reference.final voidsetWorksheetName(String value) The worksheet of the name.Methods inherited from class com.grapecity.documents.excel.expressions.TerminalNode
getChildren
-
Constructor Details
-
NameNode
Creates a newNameNodefromstring.- Parameters:
name- The short name.
-
NameNode
Creates a newNameNodefrom a range of sheets.- Parameters:
name- The short name.worksheetName- The name of start worksheet.lastWorksheetName- The name of end worksheet.
-
NameNode
public NameNode(String name, WorkbookReference workbook, String worksheetName, String lastWorksheetName) Creates a newNameNodefrom a range of sheets of the specifiedworkbook.- Parameters:
name- The short name.workbook- The workbook id.worksheetName- The name of start worksheet.lastWorksheetName- The name of end worksheet.
-
-
Method Details
-
getWorkbook
The external workbook reference. -
setWorkbook
The external workbook reference. -
getWorksheetName
The worksheet of the name. -
setWorksheetName
The worksheet of the name. -
getLastWorksheetName
If the name represents a range of worksheets, represents the worksheet at the end of the range. -
setLastWorksheetName
If the name represents a range of worksheets, represents the worksheet at the end of the range. -
getName
The short name. -
setName
The short name.
-