public class VcsCommitStyleFactory
extends java.lang.Object
Constructor and Description |
---|
VcsCommitStyleFactory() |
Modifier and Type | Method and Description |
---|---|
static VcsLogHighlighter.VcsCommitStyle |
background(java.awt.Color background)
Creates VcsCommitStyleImpl with specified background color and no text color.
|
static VcsLogHighlighter.VcsCommitStyle |
bold()
Creates VcsCommitStyleImpl with bold text.
|
static VcsLogHighlighter.VcsCommitStyle |
combine(java.util.Collection<? extends VcsLogHighlighter.VcsCommitStyle> styles)
Combines a list of styles into one.
|
static VcsLogHighlighter.VcsCommitStyle |
createStyle(java.awt.Color foreground,
java.awt.Color background,
VcsLogHighlighter.TextStyle textStyle)
Creates VcsCommitStyle with specified text color and background color.
|
static VcsLogHighlighter.VcsCommitStyle |
foreground(java.awt.Color foreground)
Creates VcsCommitStyleImpl with specified text color and no background color.
|
public static VcsLogHighlighter.VcsCommitStyle createStyle(java.awt.Color foreground, java.awt.Color background, VcsLogHighlighter.TextStyle textStyle)
foreground
- text color or null if unspecified.background
- background color or null if unspecified.public static VcsLogHighlighter.VcsCommitStyle foreground(java.awt.Color foreground)
foreground
- text color or null if unspecified.public static VcsLogHighlighter.VcsCommitStyle background(java.awt.Color background)
background
- background color or null if unspecified.public static VcsLogHighlighter.VcsCommitStyle bold()
public static VcsLogHighlighter.VcsCommitStyle combine(java.util.Collection<? extends VcsLogHighlighter.VcsCommitStyle> styles)
styles
- list of styles to combine into one.