Class DataField
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.DataField
The Class DataField.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()longGets the base field.longGets the base item.Gets the display format.longgetIndex()Gets the index.getName()Gets the name.longGets the number format id.Gets the subtotal.voidsetBaseField(long baseField)Sets the base field.voidsetBaseItem(long baseItem)Sets the base item.voidsetDisplayFormat(DisplayFormat displayFormat)Sets the display format.voidsetIndex(long index)Sets the index.voidSets the name.voidsetNumberFormatID(long numberFormatID)Sets the number format id.voidsetSubtotal(DataConsolidateFunction subtotal)Sets the subtotal.toString()
-
Constructor Details
-
DataField
public DataField()Instantiates a new data field. -
DataField
public DataField(int index)Instantiates a new data field.- Parameters:
index- the index
-
-
Method Details
-
clone
-
toString
-
getBaseField
public long getBaseField()Gets the base field.- Returns:
- the base field
-
setBaseField
public void setBaseField(long baseField)Sets the base field.- Parameters:
baseField- the new base field
-
getBaseItem
public long getBaseItem()Gets the base item.- Returns:
- the base item
-
setBaseItem
public void setBaseItem(long baseItem)Sets the base item.- Parameters:
baseItem- the new base item
-
getIndex
public long getIndex()Gets the index.- Returns:
- the index
-
setIndex
public void setIndex(long index)Sets the index.- Parameters:
index- the new index
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getNumberFormatID
public long getNumberFormatID()Gets the number format id.- Returns:
- the number format id
-
setNumberFormatID
public void setNumberFormatID(long numberFormatID)Sets the number format id.- Parameters:
numberFormatID- the new number format id
-
getDisplayFormat
Gets the display format.- Returns:
- the display format
-
setDisplayFormat
Sets the display format.- Parameters:
displayFormat- the new display format
-
getSubtotal
Gets the subtotal.- Returns:
- the subtotal
-
setSubtotal
Sets the subtotal.- Parameters:
subtotal- the new subtotal
-