public final class IdeBackgroundUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IdeBackgroundUtil.Anchor |
static class |
IdeBackgroundUtil.Fill |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EDITOR_PROP |
static java.lang.String |
FRAME_PROP |
static Key<java.lang.Boolean> |
NO_BACKGROUND |
static java.lang.String |
TARGET_PROP |
| Constructor and Description |
|---|
IdeBackgroundUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createTemporaryBackgroundTransform(javax.swing.JPanel root,
java.awt.Image image,
IdeBackgroundUtil.Fill fill,
IdeBackgroundUtil.Anchor anchor,
float alpha,
java.awt.Insets insets,
Disposable disposable) |
static void |
createTemporaryBackgroundTransform(javax.swing.JPanel root,
java.lang.String tmp,
Disposable disposable) |
static java.lang.String |
getBackgroundSpec(Project project,
java.lang.String propertyName) |
static java.awt.Color |
getIdeBackgroundColor() |
static java.awt.Graphics2D |
getOriginalGraphics(java.awt.Graphics g) |
static boolean |
isEditorBackgroundImageSet(Project project) |
static void |
repaintAllWindows() |
static java.awt.Graphics2D |
withEditorBackground(java.awt.Graphics g,
javax.swing.JComponent component) |
static java.awt.Graphics2D |
withFrameBackground(java.awt.Graphics g,
javax.swing.JComponent component) |
public static final java.lang.String EDITOR_PROP
public static final java.lang.String FRAME_PROP
public static final java.lang.String TARGET_PROP
public static final Key<java.lang.Boolean> NO_BACKGROUND
public static java.awt.Graphics2D withEditorBackground(java.awt.Graphics g,
javax.swing.JComponent component)
public static java.awt.Graphics2D withFrameBackground(java.awt.Graphics g,
javax.swing.JComponent component)
public static java.awt.Graphics2D getOriginalGraphics(java.awt.Graphics g)
public static java.awt.Color getIdeBackgroundColor()
public static void createTemporaryBackgroundTransform(javax.swing.JPanel root,
java.lang.String tmp,
Disposable disposable)
public static void createTemporaryBackgroundTransform(javax.swing.JPanel root,
java.awt.Image image,
IdeBackgroundUtil.Fill fill,
IdeBackgroundUtil.Anchor anchor,
float alpha,
java.awt.Insets insets,
Disposable disposable)
public static java.lang.String getBackgroundSpec(Project project, java.lang.String propertyName)
public static boolean isEditorBackgroundImageSet(Project project)
public static void repaintAllWindows()