This class is currently a very primitive commit visualization tool. It shows a table of 3 columns:
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SwingCommitList | |
| private static final long | |
| pack-priv static final Stroke[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| protected TableModel | createDefaultDataModel()
Overrides javax. Returns the default table model object, which is
a |
| public PlotCommitList | Returns: the list the caller must populate.Get the commit list this pane renders from. |
| public void | setModel(TableModel
the new data source for this table dataModel)Overrides javax. Sets the data model for this table to |
| pack-priv static Stroke |
| allCommits | back to summary |
|---|---|
| private final SwingCommitList allCommits | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| strokeCache | back to summary |
|---|---|
| pack-priv static final Stroke[] strokeCache | |
| CommitGraphPane | back to summary |
|---|---|
| public CommitGraphPane() Create a new empty panel. | |
| configureHeader | back to summary |
|---|---|
| private void configureHeader() | |
| configureRowHeight | back to summary |
|---|---|
| private void configureRowHeight() | |
| createDefaultDataModel | back to summary |
|---|---|
| protected TableModel createDefaultDataModel() Overrides javax. Doc from javax. Returns the default table model object, which is
a
| |
| getCommitList | back to summary |
|---|---|
| public PlotCommitList Get the commit list this pane renders from.
| |
| setModel | back to summary |
|---|---|
| public void setModel(TableModel dataModel) Overrides javax. Doc from javax. Sets the data model for this table to
| |
| stroke | back to summary |
|---|---|
| pack-priv static Stroke stroke(int width) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv PersonIdent | |
| pack-priv PlotCommit | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv PersonIdent | |
| public int | getColumnCount()
Implements javax. Returns the number of columns in the model. |
| public int | getRowCount()
Implements javax. Returns the number of rows in the model. |
| public Object | getValueAt(int
the row whose value is to be queried rowIndex, int the column whose value is to be queried columnIndex)Implements javax. Returns the value for the cell at |
| lastAuthor | back to summary |
|---|---|
| pack-priv PersonIdent lastAuthor | |
| lastCommit | back to summary |
|---|---|
| pack-priv PlotCommit<SwingCommitList. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CommitTableModel | back to summary |
|---|---|
| pack-priv CommitTableModel() | |
| authorFor | back to summary |
|---|---|
| pack-priv PersonIdent authorFor(PlotCommit<SwingCommitList. | |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Implements javax. Doc from javax. Returns the number of columns in the model. A
| |
| getRowCount | back to summary |
|---|---|
| public int getRowCount() Implements javax. Doc from javax. Returns the number of rows in the model. A
| |
| getValueAt | back to summary |
|---|---|
| public Object getValueAt(int rowIndex, int columnIndex) Implements javax. Doc from javax. Returns the value for the cell at | |
| Modifier and Type | Field and Description |
|---|---|
| private final DateFormat | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Component | getTableCellRendererComponent(final JTable
the table, final Object JTablethe value to assign to the cell at
value, final boolean [row, column]true if cell is selected isSelected, final boolean true if cell has focus hasFocus, final int the row of the cell to render row, final int the column of the cell to render column)Overrides javax. Implements javax. Returns the default table cell renderer. |
| fmt | back to summary |
|---|---|
| private final DateFormat fmt | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DateCellRender | back to summary |
|---|---|
| pack-priv DateCellRender() | |
| getTableCellRendererComponent | back to summary |
|---|---|
| public Component getTableCellRendererComponent(final JTable table, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) Overrides javax. Implements javax. Doc from javax. Returns the default table cell renderer.
During a printing operation, this method will be called with
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv PlotCommit | |
| private final AWTPlotRenderer | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Component | getTableCellRendererComponent(final JTable
the table, final Object JTablethe value to assign to the cell at
value, final boolean [row, column]true if cell is selected isSelected, final boolean true if cell has focus hasFocus, final int the row of the cell to render row, final int the column of the cell to render column)Overrides javax. Implements javax. Returns the default table cell renderer. |
| protected void | paintComponent(Graphics
the inputGraphics)Graphics object to protectOverrides javax. Calls the UI delegate's paint method, if the UI delegate
is non- |
| commit | back to summary |
|---|---|
| pack-priv PlotCommit<SwingCommitList. | |
| renderer | back to summary |
|---|---|
| private final AWTPlotRenderer renderer | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| GraphCellRender | back to summary |
|---|---|
| pack-priv GraphCellRender() | |
| getTableCellRendererComponent | back to summary |
|---|---|
| public Component getTableCellRendererComponent(final JTable table, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) Overrides javax. Implements javax. Doc from javax. Returns the default table cell renderer.
During a printing operation, this method will be called with
| |
| paintComponent | back to summary |
|---|---|
| protected void paintComponent(Graphics inputGraphics) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Component | getTableCellRendererComponent(final JTable
the table, final Object JTablethe value to assign to the cell at
value, final boolean [row, column]true if cell is selected isSelected, final boolean true if cell has focus hasFocus, final int the row of the cell to render row, final int the column of the cell to render column)Overrides javax. Implements javax. Returns the default table cell renderer. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NameCellRender | back to summary |
|---|---|
| pack-priv NameCellRender() | |
| getTableCellRendererComponent | back to summary |
|---|---|
| public Component getTableCellRendererComponent(final JTable table, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) Overrides javax. Implements javax. Doc from javax. Returns the default table cell renderer.
During a printing operation, this method will be called with
| |