Interface ProgramTableModel

    • Method Detail

      • getProgramLocation

        ProgramLocation getProgramLocation​(int row,
                                           int column)
        Returns a program location corresponding the given row and column. Motivation: Given a table that has a column that contains addresses. If the user clicks on this column, then it would be nice to have the CodeBrowser navigate to this address.
        Parameters:
        row - the row
        column - the column
        Returns:
        a program location corresponding the given row and column
      • getProgramSelection

        ProgramSelection getProgramSelection​(int[] rows)
        Returns a program selection corresponding to the specified row index array. This array will contain the currently selected rows.
        Parameters:
        rows - the currently selected rows.
        Returns:
        a program selection
      • getProgram

        Program getProgram()
        Returns the program associated with this ProgramTableModel.
        Returns:
        the program associated with this ProgramTableModel.