com.aspose.diagram

Class DataColumnCollection

  • java.lang.Object
    • Collection
      • com.aspose.diagram.DataColumnCollection
  • All Implemented Interfaces:
    java.lang.Iterable
    public class DataColumnCollection 
    extends Collection

DataColumn collection.

Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
intgetSortAsc()
void
setSortAsc(intvalue)
           Whether to sort the SortColumn column in ascending (1) or descending (0) order. The value of the property is BOOL integer constant.
java.lang.StringgetSortColumn()
void
setSortColumn(java.lang.Stringvalue)
           The column on which to sort the data.
DataColumnget(int index)
Gets the element at the specified index.
 
Method Summary
intadd(DataColumn dataColumn)
Add the dataColumn in the collection.
voidclear()
Removes all elements from collection.
booleanisExist(int index)
Is exist item in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
voidremove(DataColumn dataColumn)
Remove the dataColumn from the collection.
 

    • Property Getters/Setters Detail

      • getSortColumn/setSortColumn

        public java.lang.String getSortColumn() / public void setSortColumn(java.lang.String value)
        
        The column on which to sort the data.
      • getSortAsc/setSortAsc

        public int getSortAsc() / public void setSortAsc(int value)
        
        Whether to sort the SortColumn column in ascending (1) or descending (0) order. The value of the property is BOOL integer constant.
      • getCount

        public int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get

        public DataColumn get(int index)
        
        Gets the element at the specified index.
        Parameters:
        index -
        Returns:
    • Method Detail

      • add

        public int add(DataColumn dataColumn)
        Add the dataColumn in the collection.
        Parameters:
        dataColumn -
        Returns:
      • remove

        public void remove(DataColumn dataColumn)
        Remove the dataColumn from the collection.
        Parameters:
        dataColumn -
      • iterator

        public java.util.Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        public boolean isExist(int index)
        Is exist item in the collection.
        Parameters:
        index - index of element.
        Returns:
      • clear

        public void clear()
        Removes all elements from collection.