com.aspose.cells
Class ListObjectCollection

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

public class ListObjectCollection 
extends CollectionBase

Returns a collection of ListObject objects in the worksheet.

Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
ListObjectget(int index)
           Gets the ListObject by index.
ListObjectget(java.lang.String tableName)
           Gets the ListObject by specified name.
 
Method Summary
intadd(int startRow, int startColumn, int endRow, int endColumn, boolean hasHeaders)
           Adds a ListObject to the worksheet.
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
intadd(java.lang.String startCell, java.lang.String endCell, boolean hasHeaders)
           Adds a ListObject to the worksheet.
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.
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
          
voidupdateColumnName()
           Update all column name of the tables.
 

Property Getters/Setters Detail

getCount

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

get

public ListObject get(int index)
Gets the ListObject by index.
Parameters:
index - The index.
Returns:
The ListObject

get

public ListObject get(java.lang.String tableName)
Gets the ListObject by specified name.
Parameters:
tableName - ListObject name.
Returns:
The ListObject

Method Detail

add

public int add(int startRow, int startColumn, int endRow, int endColumn, boolean hasHeaders)
Adds a ListObject to the worksheet.
Parameters:
startRow - The start row of the list range.
startColumn - The start row of the list range.
endRow - The start row of the list range.
endColumn - The start row of the list range.
hasHeaders - Whether the range has headers.
Returns:
The index of the new ListObject

add

public int add(java.lang.String startCell, java.lang.String endCell, boolean hasHeaders)
Adds a ListObject to the worksheet.
Parameters:
startCell - The start cell of the list range.
endCell - The end cell of the list range.
hasHeaders - Whether the range has headers.
Returns:
The index of the new ListObject

updateColumnName

public void updateColumnName()
Update all column name of the tables.

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.