DocumentTableColumnCollection
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public class DocumentTableColumnCollection implements Iterable
Represents a read-only collection of DocumentTableColumn objects of a particular DocumentTable instance. The collection is filled automatically while loading the corresponding table from a document and can not be modified. However, properties of DocumentTableColumn objects contained within the collection can be modified.
| Method | Description |
|---|---|
| iterator() | Returns an enumerator to iterate DocumentTableColumn objects of this collection. |
| contains(String name) | Returns a value indicating whether this collection contains a column with the specified name. |
| contains(DocumentTableColumn column) | Returns a value indicating whether this collection contains the specified column. |
| indexOf(String name) | Returns the index of a column with the specified name within this collection. |
| indexOf(DocumentTableColumn column) | Returns the index of the specified column within this collection. |
| get(int index) | Gets a DocumentTableColumn instance from the collection at the specified index. |
| get(String name) | Gets a DocumentTableColumn instance with the specified name from the collection. |
| getCount() | Gets the total number of DocumentTableColumn objects in the collection. |
public Iterator iterator()
Returns an enumerator to iterate DocumentTableColumn objects of this collection.
Returns: java.util.Iterator - An enumerator to iterate DocumentTableColumn objects of this collection.
public boolean contains(String name)
Returns a value indicating whether this collection contains a column with the specified name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | The case-insensitive name of a column to look for. |
Returns: boolean - A value indicating whether this collection contains a column with the specified name.
public boolean contains(DocumentTableColumn column)
Returns a value indicating whether this collection contains the specified column.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| column | DocumentTableColumn | A column to look for. |
Returns: boolean - A value indicating whether this collection contains the specified column.
public int indexOf(String name)
Returns the index of a column with the specified name within this collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | The case-insensitive name of a column to find. |
Returns: int - The zero-based index of a column with the specified name, or -1 if the column does not exist in this collection.
public int indexOf(DocumentTableColumn column)
Returns the index of the specified column within this collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| column | DocumentTableColumn | A column to find. |
Returns: int - The zero-based index of the specified column, or -1 if the column does not exist in this collection.
public DocumentTableColumn get(int index)
Gets a DocumentTableColumn instance from the collection at the specified index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero-based index of the column to return. |
Returns: DocumentTableColumn - A DocumentTableColumn instance from the collection at the specified index.
public DocumentTableColumn get(String name)
Gets a DocumentTableColumn instance with the specified name from the collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | The case-insensitive name of the column to return. |
Returns: DocumentTableColumn - A DocumentTableColumn instance with the specified name from the collection or null if such an instance does not exist.
public int getCount()
Gets the total number of DocumentTableColumn objects in the collection.
Returns: int - The total number of DocumentTableColumn objects in the collection.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.