Class Columns

java.lang.Object
org.bgerp.plugin.report.model.Columns

public class Columns extends Object
List of report's columns.
  • Constructor Details

    • Columns

      public Columns(Column... column)
  • Method Details

    • size

      public int size()
      Quantity of all columns.
      Returns:
    • getVisibleColumns

      public List<Column> getVisibleColumns()
      List of visible columns with not blank title.
      Returns:
    • get

      public Column get(String id)
      Column by ID.
      Parameters:
      id -
      Returns:
      Throws:
      IllegalArgumentException - - if no column found.
    • getByIndex

      public Column getByIndex(int index)
      Column by index.
      Parameters:
      index -
      Returns:
    • getIndex

      public int getIndex(String id)
      Column index by ID.
      Parameters:
      id -
      Returns:
      Throws:
      IllegalArgumentException - - if no column found.