[]
        
(Showing Draft Content)

ITables

Interface ITables

All Superinterfaces:
Iterable<ITable>

public interface ITables extends Iterable<ITable>
Represents a collection of all the ITable objects on a worksheet.Each ITable object represents a list in the worksheet.
  • Method Summary

    Modifier and Type
    Method
    Description
    add(IRange range)
    Creates a table that includes the specified range of cells and returns the newly created object.
    add(IRange range, boolean containsHeader)
    Creates a table that includes the specified range of cells and returns the newly created object.
    void
    Generate the tables from json string
    get(int index)
    Gets the ITable at the specified index.
    get(String name)
    Gets the ITable with the specified name.
    int
    Returns the number of objects in the collection.
    Generate the string from tables

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • get

      ITable get(String name)
      Gets the ITable with the specified name.
      Parameters:
      name - The ITable name.
    • get

      ITable get(int index)
      Gets the ITable at the specified index.
      Parameters:
      index - The index.
    • getCount

      int getCount()
      Returns the number of objects in the collection.
    • add

      ITable add(IRange range)
      Creates a table that includes the specified range of cells and returns the newly created object.
      Parameters:
      range - The applied range.
    • add

      ITable add(IRange range, boolean containsHeader)
      Creates a table that includes the specified range of cells and returns the newly created object.
      Parameters:
      range - The applied range.
      containsHeader - Whether the range contains a header.
    • fromJson

      void fromJson(String json)
      Generate the tables from json string
      Parameters:
      json - The JSON string representing the tables.
    • toJson

      String toJson()
      Generate the string from tables
      Returns:
      The JSON string representing the tables.