public class DiffDividerDrawUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DiffDividerDrawUtil.DividerPaintable |
static class |
DiffDividerDrawUtil.DividerPolygon
A polygon, which is drawn between editors in merge or diff dialogs, and which indicates the change flow from one editor to another.
|
static class |
DiffDividerDrawUtil.DividerSeparator |
static interface |
DiffDividerDrawUtil.DividerSeparatorPaintable |
Modifier and Type | Field and Description |
---|---|
static java.awt.BasicStroke |
BOLD_DOTTED_STROKE |
Constructor and Description |
---|
DiffDividerDrawUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<DiffDividerDrawUtil.DividerPolygon> |
createVisiblePolygons(Editor editor1,
Editor editor2,
DiffDividerDrawUtil.DividerPaintable paintable) |
static java.util.List<DiffDividerDrawUtil.DividerSeparator> |
createVisibleSeparators(Editor editor1,
Editor editor2,
DiffDividerDrawUtil.DividerSeparatorPaintable paintable) |
static java.awt.Graphics2D |
getDividerGraphics(java.awt.Graphics g,
java.awt.Component divider,
java.awt.Component base) |
static void |
paintPolygons(java.awt.Graphics2D gg,
int width,
boolean curved,
Editor editor1,
Editor editor2,
DiffDividerDrawUtil.DividerPaintable paintable) |
static void |
paintPolygons(java.awt.Graphics2D gg,
int width,
Editor editor1,
Editor editor2,
DiffDividerDrawUtil.DividerPaintable paintable) |
static void |
paintSeparators(java.awt.Graphics2D gg,
int width,
Editor editor1,
Editor editor2,
DiffDividerDrawUtil.DividerSeparatorPaintable paintable) |
public static java.awt.Graphics2D getDividerGraphics(java.awt.Graphics g, java.awt.Component divider, java.awt.Component base)
public static void paintSeparators(java.awt.Graphics2D gg, int width, Editor editor1, Editor editor2, DiffDividerDrawUtil.DividerSeparatorPaintable paintable)
public static void paintPolygons(java.awt.Graphics2D gg, int width, Editor editor1, Editor editor2, DiffDividerDrawUtil.DividerPaintable paintable)
public static void paintPolygons(java.awt.Graphics2D gg, int width, boolean curved, Editor editor1, Editor editor2, DiffDividerDrawUtil.DividerPaintable paintable)
public static java.util.List<DiffDividerDrawUtil.DividerPolygon> createVisiblePolygons(Editor editor1, Editor editor2, DiffDividerDrawUtil.DividerPaintable paintable)
public static java.util.List<DiffDividerDrawUtil.DividerSeparator> createVisibleSeparators(Editor editor1, Editor editor2, DiffDividerDrawUtil.DividerSeparatorPaintable paintable)