Class TableItemNode
java.lang.Object
com.grapecity.documents.excel.expressions.SyntaxNode
com.grapecity.documents.excel.expressions.TerminalNode
com.grapecity.documents.excel.expressions.TableItemNode
Represents a table item in the syntax tree.
-
Constructor Summary
ConstructorsConstructorDescriptionTableItemNode(String tableName, TableItemType itemType, String columnName) Creates a newTableItemNodefrom a column of a table.TableItemNode(String tableName, TableItemType itemType, String columnFrom, String columnTo) Creates a newTableItemNodefrom range of columns of a table. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringGets the start column.final StringGets the end column.final TableItemTypeThe part of the table.final StringGets the name of the table.final voidsetColumnFrom(String value) Sets the start column.final voidsetColumnTo(String value) Sets the end column.final voidsetItemType(TableItemType value) The part of the table.final voidsetTableName(String value) Sets the name of the table.Methods inherited from class com.grapecity.documents.excel.expressions.TerminalNode
getChildren
-
Constructor Details
-
TableItemNode
Creates a newTableItemNodefrom a column of a table.- Parameters:
tableName- The name of the table.itemType- The part of the table.columnName- The column of the table.
-
TableItemNode
Creates a newTableItemNodefrom range of columns of a table.- Parameters:
tableName- The name of the table.itemType- The part of the table.columnFrom- The start column.columnTo- The end column.
-
-
Method Details
-
getTableName
Gets the name of the table. -
setTableName
Sets the name of the table. -
getItemType
The part of the table. Values are defined in TableItemType. -
setItemType
The part of the table. Values are defined in TableItemType.- Parameters:
value- TableItemType value.
-
getColumnFrom
Gets the start column. -
setColumnFrom
Sets the start column. -
getColumnTo
Gets the end column. -
setColumnTo
Sets the end column.
-