java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.PivotFieldItem

public class PivotFieldItem extends Object
The Class PivotFieldItem.
  • Constructor Details

    • PivotFieldItem

      public PivotFieldItem()
      Instantiates a new pivot field item.
    • PivotFieldItem

      public PivotFieldItem(int index)
      Instantiates a new pivot field item.
      Parameters:
      index - the index
    • PivotFieldItem

      public PivotFieldItem(PivotItemType type)
      Instantiates a new pivot field item.
      Parameters:
      type - the type
  • Method Details

    • clone

      public PivotFieldItem clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hasChildItems

      public boolean hasChildItems()
      Checks for child items.
      Returns:
      true, if successful
    • setChildItems

      public void setChildItems(boolean hasChildItems)
      Sets the child items.
      Parameters:
      hasChildItems - the new child items
    • isExpanded

      public boolean isExpanded()
      Checks if is expanded.
      Returns:
      true, if is expanded
    • setExpanded

      public void setExpanded(boolean expanded)
      Sets the expanded.
      Parameters:
      expanded - the new expanded
    • isDrillAcrossAttributes

      public boolean isDrillAcrossAttributes()
      Checks if is drill across attributes.
      Returns:
      true, if is drill across attributes
    • setDrillAcrossAttributes

      public void setDrillAcrossAttributes(boolean drillAcrossAttributes)
      Sets the drill across attributes.
      Parameters:
      drillAcrossAttributes - the new drill across attributes
    • isCalculatedMember

      public boolean isCalculatedMember()
      Checks if is calculated member.
      Returns:
      true, if is calculated member
    • setCalculatedMember

      public void setCalculatedMember(boolean isCalculatedMember)
      Sets the calculated member.
      Parameters:
      isCalculatedMember - the new calculated member
    • isHidden

      public boolean isHidden()
      Checks if is hidden.
      Returns:
      true, if is hidden
    • setHidden

      public void setHidden(boolean isHidden)
      Sets the hidden.
      Parameters:
      isHidden - the new hidden
    • hasMissingValue

      public boolean hasMissingValue()
      Checks for missing value.
      Returns:
      true, if successful
    • setMissingValue

      public void setMissingValue(boolean hasMissingValue)
      Sets the missing value.
      Parameters:
      hasMissingValue - the new missing value
    • getCaption

      public String getCaption()
      Gets the caption.
      Returns:
      the caption
    • setCaption

      public void setCaption(String caption)
      Sets the caption.
      Parameters:
      caption - the new caption
    • hasStringValue

      public boolean hasStringValue()
      Checks for string value.
      Returns:
      true, if successful
    • setStringValue

      public void setStringValue(boolean hasStringValue)
      Sets the string value.
      Parameters:
      hasStringValue - the new string value
    • isHideDetails

      public boolean isHideDetails()
      Checks if is hide details.
      Returns:
      true, if is hide details
    • setHideDetails

      public void setHideDetails(boolean hideDetails)
      Sets the hide details.
      Parameters:
      hideDetails - the new hide details
    • getType

      public PivotItemType getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(PivotItemType type)
      Sets the type.
      Parameters:
      type - the new type
    • getIndex

      public int getIndex()
      Gets the index.
      Returns:
      the index
    • setIndex

      public void setIndex(int index)
      Sets the index.
      Parameters:
      index - the new index