asposecells.api

Class CellsDataTableFactory

Utility to build ICellsDataTable from custom objects for user's convenience.

Method Summary
methodgetInstance(vals, vertial)
Creates ICellsDataTable from given sequence of double values.
methodgetInstance(vals, columnNames)
Creates ICellsDataTable from given sequence of double values.
methodgetInstance(vals)
Creates ICellsDataTable from given 2D array.
methodgetInstance(vals, vertial)
Creates ICellsDataTable from given sequence of int values.
methodgetInstance(vals, columnNames)
Creates ICellsDataTable from given sequence of int values.
methodgetInstance(vals)
Creates ICellsDataTable from given 2D array.
methodgetInstance(vals, vertial)
Creates ICellsDataTable from given sequence of objects.
methodgetInstance(vals, columnNames)
Creates ICellsDataTable from given sequence of objects.
methodgetInstance(vals)
Creates ICellsDataTable from given 2D array.
methodgetInstance(collection)
Creates ICellsDataTable from given collection.
 

    • Method Detail

      • getInstance

        ICellsDataTable getInstance(vals, columnNames)
        Creates ICellsDataTable from given sequence of int values.
        Parameters:
        vals: Number Array - int values to build table
        columnNames: String[] - Column names of the table. Its length can only be either 1(build table by the int values vertically) or length of the int values(build table by the int values horizontally)
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals, vertial)
        Creates ICellsDataTable from given sequence of int values.
        Parameters:
        vals: Number Array - int values to build table
        vertial: boolean - whether build table by the int values vertiacally(true) or horizontally(false)
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals, columnNames)
        Creates ICellsDataTable from given sequence of double values.
        Parameters:
        vals: Number Array - double values to build table
        columnNames: String[] - Column names of the table. Its length can only be either 1(build table by the double values vertically) or length of the double values(build table by the double values horizontally)
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals, vertial)
        Creates ICellsDataTable from given sequence of double values.
        Parameters:
        vals: Number Array - double values to build table
        vertial: boolean - whether build table by the double values vertiacally(true) or horizontally(false)
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals, columnNames)
        Creates ICellsDataTable from given sequence of objects.
        Parameters:
        vals: Object[] - objects to build table
        columnNames: String[] - Column names of the table. Its length can only be either 1(build table by the objects vertically) or length of the objects(build table by the objects horizontally)
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals, vertial)
        Creates ICellsDataTable from given sequence of objects.
        Parameters:
        vals: Object[] - objects to build table
        vertial: boolean - whether build table by the objects vertiacally(true) or horizontally(false)
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals)
        Creates ICellsDataTable from given 2D array.
        Parameters:
        vals: int[][] - int values to build table
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals)
        Creates ICellsDataTable from given 2D array.
        Parameters:
        vals: double[][] - double values to build table
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(vals)
        Creates ICellsDataTable from given 2D array.
        Parameters:
        vals: Object[][] - objects to build table
        Returns:
        Instance of ICellsDataTable
      • getInstance

        ICellsDataTable getInstance(collection)
        Creates ICellsDataTable from given collection.
        Parameters:
        collection: Collection - the collection to build table
        Returns:
        Instance of ICellsDataTable