public class XSSFTableColumn
extends java.lang.Object
XSSFTable
. Use XSSFTable.createColumn(java.lang.String)
to
create new table columns.Modifier | Constructor and Description |
---|---|
protected |
XSSFTableColumn(XSSFTable table,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableColumn ctTableColumn)
Create a new table column.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex()
Get the column's position in its table, staring with zero from left to
right.
|
long |
getId()
Get the identifier of this column, which is is unique per table.
|
java.lang.String |
getName()
Get the name of the column, which is is unique per table.
|
XSSFTable |
getTable()
Get the table which contains this column
|
XSSFXmlColumnPr |
getXmlColumnPr()
Get the XmlColumnPr (XML column properties) if this column has an XML
mapping.
|
void |
setId(long columnId)
Set the identifier of this column, which must be unique per table.
|
void |
setName(java.lang.String columnName)
Get the name of the column, which is is unique per table.
|
public XSSFTable getTable()
public long getId()
public void setId(long columnId)
public java.lang.String getName()
public void setName(java.lang.String columnName)
public XSSFXmlColumnPr getXmlColumnPr()
null
if this column has no XML
mappingpublic int getColumnIndex()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.