com.hp.lft.sdk.winforms

Interface ComponentOneGrid

  • All Superinterfaces:
    CustomGrid
    All Known Subinterfaces:
    C1FlexGrid, C1TrueDbGrid


    public interface ComponentOneGrid
    extends CustomGrid
    Base interface for ComponentOne C1FlexGrid control and ComponentOne C1TrueDBGrid control.
    • Method Summary

      Modifier and TypeMethod and Description
      voidactivateCell(int row, java.lang.String columnHeader)
      Double-clicks the specified cell in this grid.
      voidcollapseRow(int row)
      Collapses the specified row.
      voidexpandRow(int row)
      Expands the specified row.
      C1TableCellgetCell(int row, java.lang.String columnHeader)
      Returns a cell in the grid.
      java.util.List<TableRow<C1TableCell>>getRows()
      Returns the rows.
      voidmakeCellVisible(int row, java.lang.String columnHeader)
      Scrolls the specified cell into view.
      voidopenCellElement(int row, int column)
      Selects the specified cell and opens a cell's pop-up cell element.
      voidopenCellElement(int row, java.lang.String columnHeader)
      Selects the specified cell and opens a cell's pop-up cell element.
      voidselectCell(int row, java.lang.String columnHeader)
      Selects (clicks) the specified cell in this grid.
      voidselectColumn(int column)
      Selects (clicks) the specified column header in the grid.
      voidselectColumn(java.lang.String columnHeader)
      Selects (clicks) the specified column header in the grid.
      voidsetFilter(int column, java.lang.String filter)
      Applies the specified filter string to the specified column.
      voidsetFilter(java.lang.String columnHeader, java.lang.String filter)
      Applies the specified filter string to the specified column.
      voidsort(int column)
      Sorts this table by the specified column (ascending).
      voidsort(java.lang.String columnHeader)
      Sorts this table by the specified column (ascending).
      voidsortDescending(int column)
      Sorts this table by the specified column (descending).
      voidsortDescending(java.lang.String columnHeader)
      Sorts this table by the specified column (descending).
    • Method Detail

      • activateCell

        void activateCell(int row,
                          java.lang.String columnHeader)
                   throws GeneralLeanFtException
        Double-clicks the specified cell in this grid.
        Parameters:
        row - 0-based row number.
        columnHeader - the column caption.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • makeCellVisible

        void makeCellVisible(int row,
                             java.lang.String columnHeader)
                      throws GeneralLeanFtException
        Scrolls the specified cell into view.
        Parameters:
        row - 0-based row number.
        columnHeader - the column caption.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • openCellElement

        void openCellElement(int row,
                             int column)
                      throws GeneralLeanFtException
        Selects the specified cell and opens a cell's pop-up cell element.
        Parameters:
        row - 0-based row number
        column - 0-based column index
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • openCellElement

        void openCellElement(int row,
                             java.lang.String columnHeader)
                      throws GeneralLeanFtException
        Selects the specified cell and opens a cell's pop-up cell element.
        Parameters:
        row - 0-based row number
        columnHeader - the column caption
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectCell

        void selectCell(int row,
                        java.lang.String columnHeader)
                 throws GeneralLeanFtException
        Selects (clicks) the specified cell in this grid.
        Parameters:
        row - 0-based row number.
        columnHeader - the column caption.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectColumn

        void selectColumn(int column)
                   throws GeneralLeanFtException
        Selects (clicks) the specified column header in the grid.
        Parameters:
        column - 0-based column index.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectColumn

        void selectColumn(java.lang.String columnHeader)
                   throws GeneralLeanFtException
        Selects (clicks) the specified column header in the grid.
        Parameters:
        columnHeader - the column caption
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setFilter

        void setFilter(int column,
                       java.lang.String filter)
                throws GeneralLeanFtException
        Applies the specified filter string to the specified column.
        Parameters:
        column - 0-based column index.
        filter - the filter name.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setFilter

        void setFilter(java.lang.String columnHeader,
                       java.lang.String filter)
                throws GeneralLeanFtException
        Applies the specified filter string to the specified column.
        Parameters:
        columnHeader - the column caption
        filter - the filter
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • sort

        void sort(java.lang.String columnHeader)
           throws GeneralLeanFtException
        Sorts this table by the specified column (ascending).
        Parameters:
        columnHeader - the column caption
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • sortDescending

        void sortDescending(int column)
                     throws GeneralLeanFtException
        Sorts this table by the specified column (descending).
        Parameters:
        column - 0-based column index
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • sortDescending

        void sortDescending(java.lang.String columnHeader)
                     throws GeneralLeanFtException
        Sorts this table by the specified column (descending).
        Parameters:
        columnHeader - the column caption
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getCell

        C1TableCell getCell(int row,
        		     java.lang.String columnHeader)
        	throws GeneralLeanFtException
        Returns a cell in the grid.
        Parameters:
        row - 0-based row number
        columnHeader - the column caption
        Returns:
        the cell
        Throws:
        GeneralLeanFtException - if an error occurs during execution.