public final class NotificationsManagerImpl extends NotificationsManager
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
BORDER_COLOR |
static java.awt.Color |
DEFAULT_TEXT_COLOR |
static java.awt.Color |
FILL_COLOR |
Constructor and Description |
---|
NotificationsManagerImpl() |
Modifier and Type | Method and Description |
---|---|
static int |
calculateContentHeight(int lines) |
static void |
configureBalloonScrollPane(javax.swing.JScrollPane pane,
java.awt.Color fillColor) |
static Balloon |
createBalloon(IdeFrame window,
Notification notification,
boolean showCallout,
boolean hideOnClickOutside,
Ref<BalloonLayoutData> layoutDataRef,
Disposable parentDisposable) |
static Balloon |
createBalloon(javax.swing.JComponent windowComponent,
Notification notification,
boolean showCallout,
boolean hideOnClickOutside,
Ref<BalloonLayoutData> layoutDataRef,
Disposable parentDisposable) |
static javax.swing.JScrollPane |
createBalloonScrollPane(java.awt.Component content,
boolean configure) |
void |
expire(Notification notification) |
static java.awt.Window |
findWindowForBalloon(Project project) |
static void |
frameActivateBalloonListener(Balloon balloon,
java.lang.Runnable callback) |
<T extends Notification> |
getNotificationsOfType(java.lang.Class<T> klass,
Project project) |
getNotificationsManager
public static final java.awt.Color DEFAULT_TEXT_COLOR
public static final java.awt.Color FILL_COLOR
public static final java.awt.Color BORDER_COLOR
public void expire(Notification notification)
expire
in class NotificationsManager
public <T extends Notification> T [] getNotificationsOfType(java.lang.Class<T> klass, Project project)
getNotificationsOfType
in class NotificationsManager
public static void frameActivateBalloonListener(Balloon balloon, java.lang.Runnable callback)
public static java.awt.Window findWindowForBalloon(Project project)
public static Balloon createBalloon(IdeFrame window, Notification notification, boolean showCallout, boolean hideOnClickOutside, Ref<BalloonLayoutData> layoutDataRef, Disposable parentDisposable)
public static Balloon createBalloon(javax.swing.JComponent windowComponent, Notification notification, boolean showCallout, boolean hideOnClickOutside, Ref<BalloonLayoutData> layoutDataRef, Disposable parentDisposable)
public static javax.swing.JScrollPane createBalloonScrollPane(java.awt.Component content, boolean configure)
public static void configureBalloonScrollPane(javax.swing.JScrollPane pane, java.awt.Color fillColor)
public static int calculateContentHeight(int lines)