Module omix.api

Interface HHeaderTable

All Superinterfaces:
Table
All Known Subinterfaces:
HHeaderTable, HVHeadersTable, HVHeadersTable

public interface HHeaderTable
extends Table
Since:
Omix 1.8.5
Author:
Dr. Peter Droste
  • Method Details

    • columns

      int columns()
      returns the number of columns (except header).
      Specified by:
      columns in interface Table
      Returns:
      rows
    • isColumnAvailable

      boolean isColumnAvailable​(String columnIdentifier)
      checks the availability of a column identifier
      Parameters:
      columnIdentifier -
      Returns:
      availability
    • columnLabels

      List<String> columnLabels()
      returns a list of all available columns.
      Returns:
      column list
    • columnLabel

      String columnLabel​(int column)
      returns the label of the given column.
      Parameters:
      column -
      Returns:
      label
    • getValueByColumn

      @IsVarType Object getValueByColumn​(String columnIdentifier, int row)
      returns the content of a cell accessed by column identifier and row index if available, otherwise null.
      Parameters:
      columnIdentifier -
      row -
      Returns:
      cell content
    • getColumn

      List<@IsVarType Object> getColumn​(String columnIdentifier)
      returns the content of a column accessed by identifier if available, otherwise null.
      Parameters:
      columnIdentifier -
      Returns:
      column content
    • getColumn

      List<@IsVarType Object> getColumn​(String columnIdentifier, int startRow, int lastRow)
      returns the content of a column accessed by identifier if available, otherwise null.
      Parameters:
      columnIdentifier -
      startRow -
      lastRow -
      Returns:
      column content
    • getRowByIdentifiers

      Map<String,​@IsVarType Object> getRowByIdentifiers​(int row)
      returns the content of a row accessed by index if available, otherwise null.
      Parameters:
      row -
      Returns:
      row content
    • getRowByIdentifiers

      Map<String,​@IsVarType Object> getRowByIdentifiers​(int row, int startColumn, int lastColumn)
      returns the content of a row accessed by index if available, otherwise null.
      Parameters:
      row -
      startColumn -
      lastColumn -
      Returns:
      row content
    • transposed

      VHeaderTable transposed()
      Description copied from interface: Table
      Returns the transposed table matrix of the current table. The returned table is a new object which does no longer represent the actual table representation in the data manager sidebar, i.e. Table.getSelection() will always return an empty list.
      Specified by:
      transposed in interface Table
      Returns:
      transposed table