com.aspose.cells
Class TableStyleElementCollection

java.lang.Object
  extended by CollectionBase
      extended by com.aspose.cells.TableStyleElementCollection
All Implemented Interfaces:
com.aspose.cells.c.b.a.a.a.c.b.e

public class TableStyleElementCollection 
extends CollectionBase

Represents all elements of the table style.

Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
TableStyleElementget(int index)
           Gets an element of the table style by the index.
TableStyleElementgetByTableStyleElementType(int type)
           Gets the element of the table style by the TableStyleElementType
 
Method Summary
intadd(int type)
           Adds an element.
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
voidclear()→ inherited from com.aspose.cells.CollectionBase
          
booleancontains(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.lang.Objectget(int index)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
TableStyleElementgetTableStyleElementWithIndex(int index)
           Gets an element of the table style by the index.
TableStyleElementgetTableStyleElementWithType(int type)
           Gets the element of the table style by the TableStyleElementType
intindexOf(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from com.aspose.cells.CollectionBase
          
voidremoveAt(int index)→ inherited from com.aspose.cells.CollectionBase
          
 

Property Getters/Setters Detail

getCount

→ inherited from com.aspose.cells.CollectionBase
public int getCount()

get

public TableStyleElement get(int index)
Gets an element of the table style by the index.
Parameters:
index - The index.
Returns:
Returns TableStyleElement object

getByTableStyleElementType

public TableStyleElement getByTableStyleElementType(int type)
Gets the element of the table style by the TableStyleElementType
Parameters:
type - A TableStyleElementType value. The element type.
Returns:
Returns TableStyleElement object

Method Detail

getTableStyleElementWithIndex

public TableStyleElement getTableStyleElementWithIndex(int index)
Gets an element of the table style by the index. NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Tables.TableStyleElementCollection.this[int index] property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

getTableStyleElementWithType

public TableStyleElement getTableStyleElementWithType(int type)
Gets the element of the table style by the TableStyleElementType NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Tables.TableStyleElementCollection.this[TableStyleElementType type] property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.
Parameters:
type - A TableStyleElementType value.

add

public int add(int type)
Adds an element.
Parameters:
type - A TableStyleElementType value. The type of the element
Returns:
Returns the index of the element in the list.

clear

→ inherited from com.aspose.cells.CollectionBase
public void clear()

removeAt

→ inherited from com.aspose.cells.CollectionBase
public void removeAt(int index)

iterator

→ inherited from com.aspose.cells.CollectionBase
public java.util.Iterator iterator()

get

→ inherited from com.aspose.cells.CollectionBase
public java.lang.Object get(int index)
Reserved for internal use.

contains

→ inherited from com.aspose.cells.CollectionBase
public boolean contains(java.lang.Object value)
Reserved for internal use.

add

→ inherited from com.aspose.cells.CollectionBase
public int add(java.lang.Object value)
Reserved for internal use.

indexOf

→ inherited from com.aspose.cells.CollectionBase
public int indexOf(java.lang.Object value)
Reserved for internal use.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.