com.aspose.cells

Class TableStyleCollection

  • java.lang.Object
  • All Implemented Interfaces:
    java.lang.Iterable
    public class TableStyleCollection 
    extends CollectionBase

Represents all custom table styles.

Property Getters/Setters Summary
intgetCount()
TableStyleget(int index)
Gets the table style by the index.
TableStyleget(java.lang.String name)
Gets the table style by the name.
 
Method Summary
intadd(java.lang.Object value)
Reserved for internal use.
intaddPivotTableStyle(java.lang.String name)
Adds a custom pivot table style.
intaddTableStyle(java.lang.String name)
Adds a custom table style.
voidclear()
booleancontains(java.lang.Object value)
Reserved for internal use.
java.lang.Objectget(int index)
Reserved for internal use.
TableStylegetBuiltinTableStyle(int type)
Gets the builtin table style
intindexOf(java.lang.Object value)
Reserved for internal use.
java.util.Iteratoriterator()
voidremoveAt(int index)
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
      • get

        public TableStyle get(int index)
        
        Gets the table style by the index.
        Parameters:
        index - The position of the table style in the list.
        Returns:
        The table style object.
      • get

        public TableStyle get(java.lang.String name)
        
        Gets the table style by the name.
        Parameters:
        name - The table style name.
        Returns:
        The table style object.
    • Method Detail

      • addTableStyle

        public int addTableStyle(java.lang.String name)
        Adds a custom table style.
        Parameters:
        name - The table style name.
        Returns:
        The index of the table style.
      • addPivotTableStyle

        public int addPivotTableStyle(java.lang.String name)
        Adds a custom pivot table style.
        Parameters:
        name - The pivot table style name.
        Returns:
        The index of the pivot table style.
      • getBuiltinTableStyle

        public TableStyle getBuiltinTableStyle(int type)
        Gets the builtin table style
        Parameters:
        type - A TableStyleType value. The builtin table style type.
        Returns:
      • clear

        public void clear()
      • removeAt

        public void removeAt(int index)
      • iterator

        public java.util.Iterator iterator()
      • get

        public java.lang.Object get(int index)
        Reserved for internal use.
      • contains

        public boolean contains(java.lang.Object value)
        Reserved for internal use.
      • add

        public int add(java.lang.Object value)
        Reserved for internal use.
      • indexOf

        public int indexOf(java.lang.Object value)
        Reserved for internal use.