Package org.eclipse.jgit.awtui
Class SwingCommitList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.eclipse.jgit.revwalk.RevObjectList<E>
-
- org.eclipse.jgit.revwalk.RevCommitList<PlotCommit<L>>
-
- org.eclipse.jgit.revplot.PlotCommitList<SwingCommitList.SwingLane>
-
- org.eclipse.jgit.awtui.SwingCommitList
-
- All Implemented Interfaces:
java.lang.Iterable<PlotCommit<SwingCommitList.SwingLane>>
,java.util.Collection<PlotCommit<SwingCommitList.SwingLane>>
,java.util.List<PlotCommit<SwingCommitList.SwingLane>>
class SwingCommitList extends PlotCommitList<SwingCommitList.SwingLane>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
SwingCommitList.SwingLane
-
Nested classes/interfaces inherited from class org.eclipse.jgit.revwalk.RevObjectList
RevObjectList.Block
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.LinkedList<java.awt.Color>
colors
-
Fields inherited from class org.eclipse.jgit.revwalk.RevObjectList
contents, size
-
-
Constructor Summary
Constructors Constructor Description SwingCommitList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SwingCommitList.SwingLane
createLane()
Create a newPlotLane
appropriate for this particularPlotCommitList
.protected void
recycleLane(SwingCommitList.SwingLane lane)
Return colors and other reusable information to the plotter when a lane is no longer needed.private void
repackColors()
-
Methods inherited from class org.eclipse.jgit.revplot.PlotCommitList
clear, enter, findPassingThrough, source
-
Methods inherited from class org.eclipse.jgit.revwalk.RevCommitList
applyFlag, applyFlag, clearFlag, clearFlag, fillTo, fillTo, indexOf, isPending, lastIndexOf
-
Methods inherited from class org.eclipse.jgit.revwalk.RevObjectList
add, get, set, size
-
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
repackColors
private void repackColors()
-
createLane
protected SwingCommitList.SwingLane createLane()
Create a newPlotLane
appropriate for this particularPlotCommitList
.- Overrides:
createLane
in classPlotCommitList<SwingCommitList.SwingLane>
- Returns:
- a new
PlotLane
appropriate for this particularPlotCommitList
.
-
recycleLane
protected void recycleLane(SwingCommitList.SwingLane lane)
Return colors and other reusable information to the plotter when a lane is no longer needed.- Overrides:
recycleLane
in classPlotCommitList<SwingCommitList.SwingLane>
- Parameters:
lane
- a lane
-
-