@OpenApiAll
public class NotificationViewConfig
extends java.lang.Object
Constructor and Description |
---|
NotificationViewConfig() |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getBackgroundColor()
Returns notification background color.
|
int |
getExpirationTime()
Returns time amount in seconds for how long notification will be displayed.
|
javax.swing.Icon |
getIcon()
Returns notification icon.
|
void |
setBackgroundColor(java.awt.Color backgroundColor)
Sets notification background color.
|
void |
setExpirationTime(int expirationTime)
Sets time amount in seconds for how long notification will be displayed.
|
void |
setIcon(javax.swing.Icon icon)
Sets notification icon.
|
void |
setShowMultipleNotifications(boolean showMultipleNotifications)
Sets if same notification can be displayed many times simultaneously.
|
boolean |
showMultipleNotifications()
Indicates if same notification can be shown many times simultaneously.
|
public javax.swing.Icon getIcon()
public void setIcon(javax.swing.Icon icon)
icon
- notification iconpublic java.awt.Color getBackgroundColor()
public void setBackgroundColor(java.awt.Color backgroundColor)
backgroundColor
- notification background color.public int getExpirationTime()
public void setExpirationTime(int expirationTime)
expirationTime
- time amount in secondspublic boolean showMultipleNotifications()
public void setShowMultipleNotifications(boolean showMultipleNotifications)
showMultipleNotifications
- notification simultaneous display state