接口 ITableColumn
public interface ITableColumn
Represents a column in a table. The
ITableColumn
object is a memberof the ITableColumns
collection. The ITableColumns
collectioncontains all the columns in a table ( ITable
object).-
方法概要
修饰符和类型方法说明void
delete()
Deletes the column of data in the table.Returns theIRange
object that is the size of the data portion of acolumn.Returns the name of data field of current table column.int
getIndex()
Returns the index number of theITableColumn
object within theITableColumns
collection.getName()
Gets the name of the table column.getRange()
Returns theIRange
object that represents the range to which thespecified list object in the above list applies.getTotal()
Returns the Total row for theITableColumn
object.Determines the type of calculation in the Totals row of the table column based on the value of theTotalsCalculation
enumeration.void
setDataField
(String value) Sets the name of data field of current table column.void
Sets the name of the table column.void
Determines the type of calculation in the Totals row of the table column based on the value of theTotalsCalculation
enumeration.
-
方法详细资料
-
getIndex
int getIndex()Returns the index number of theITableColumn
object within theITableColumns
collection. -
getName
String getName()Gets the name of the table column. This is also used as the display name of the table column. This name must be unique within the table. -
setName
Sets the name of the table column. This is also used as the display name of the table column. This name must be unique within the table. -
getTotalsCalculation
TotalsCalculation getTotalsCalculation()Determines the type of calculation in the Totals row of the table column based on the value of theTotalsCalculation
enumeration. -
setTotalsCalculation
Determines the type of calculation in the Totals row of the table column based on the value of theTotalsCalculation
enumeration. -
getTotal
IRange getTotal()Returns the Total row for theITableColumn
object. -
delete
void delete()Deletes the column of data in the table. -
getDataBodyRange
IRange getDataBodyRange()Returns theIRange
object that is the size of the data portion of acolumn. -
getRange
IRange getRange()Returns theIRange
object that represents the range to which thespecified list object in the above list applies. -
getDataField
String getDataField()Returns the name of data field of current table column. -
setDataField
Sets the name of data field of current table column.
-