Class FileChooserBookmarksManagementPanel.TableModel

    • Constructor Detail

      • TableModel

        public TableModel()
        the constructor.
      • TableModel

        public TableModel​(List<com.googlecode.jfilechooserbookmarks.Bookmark> bookmarks)
        the constructor.
        Parameters:
        bookmarks - the bookmarks to display
      • TableModel

        public TableModel​(com.googlecode.jfilechooserbookmarks.Bookmark[] bookmarks)
        the constructor.
        Parameters:
        bookmarks - the bookmarks to display
    • Method Detail

      • getColumnClass

        public Class getColumnClass​(int columnIndex)
        Returns the class type of the column.
        Specified by:
        getColumnClass in interface TableModel
        Specified by:
        getColumnClass in class AbstractManagementTableModel<com.googlecode.jfilechooserbookmarks.Bookmark>
        Parameters:
        columnIndex - the column to get the class for
        Returns:
        the class for the column
      • getValueAt

        public Object getValueAt​(int row,
                                 int column)
        Returns the substance value at the given position.
        Specified by:
        getValueAt in interface TableModel
        Specified by:
        getValueAt in class AbstractManagementTableModel<com.googlecode.jfilechooserbookmarks.Bookmark>
        Parameters:
        row - the row
        column - the column (ignored, since only 1 column)
        Returns:
        the value