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 StringGets the name of the last worksheet in the range.final StringgetName()Gets the short name.final WorkbookReferenceGets the external workbook reference.final StringGets the worksheet of the name.final voidsetLastWorksheetName(String value) Sets the name of the last worksheet in the range.final voidSets the short name.final voidsetWorkbook(WorkbookReference value) Sets the external workbook reference.final voidsetWorksheetName(String value) Sets 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
Gets the external workbook reference. -
setWorkbook
Sets the external workbook reference. -
getWorksheetName
Gets the worksheet of the name. -
setWorksheetName
Sets the worksheet of the name. -
getLastWorksheetName
Gets the name of the last worksheet in the range. -
setLastWorksheetName
Sets the name of the last worksheet in the range. -
getName
Gets the short name. -
setName
Sets the short name.
-