Class CommitGraphPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class CommitGraphPane extends JTable
Draws a commit graph in a JTable.

This class is currently a very primitive commit visualization tool. It shows a table of 3 columns:

  1. Commit graph and short message
  2. Author name and email address
  3. Author date and time
See Also:
  • Field Details

  • Constructor Details

    • CommitGraphPane

      public CommitGraphPane()
      Create a new empty panel.
  • Method Details

    • configureRowHeight

      private void configureRowHeight()
    • getCommitList

      public PlotCommitList getCommitList()
      Get the commit list this pane renders from.
      Returns:
      the list the caller must populate.
    • setModel

      public void setModel(TableModel dataModel)
      Overrides:
      setModel in class JTable
    • createDefaultDataModel

      protected TableModel createDefaultDataModel()
      Overrides:
      createDefaultDataModel in class JTable
    • configureHeader

      private void configureHeader()
    • stroke

      static Stroke stroke(int width)