Interface INotificationStyle

All Known Implementing Classes:
AbstractNotificationStyle, DarkDefaultNotification, LightDefaultNotification

public interface INotificationStyle
Provides styling for the notification
  • Method Details

    • getWidth

      int getWidth()
      The width of the notification
      Returns:
      The width of the notification
    • getWindowCornerRadius

      int getWindowCornerRadius()
      Get the radius of the window corner
      Returns:
      the radius of the window corner
    • getTitleFontColor

      Color getTitleFontColor()
      Get the title font color of the notification
      Returns:
      the font color of the notification
    • getTitleFont

      Font getTitleFont()
      Get the font for the title
      Returns:
      the font for the title
    • getMessageFontColor

      Color getMessageFontColor()
      Get the message font color of the notification
      Returns:
      the message font color of the notification
    • getMessageFont

      Font getMessageFont()
      Get the font for the message
      Returns:
      the font for the message
    • getWindowInsets

      Insets getWindowInsets()
      Get the insets of the notification window
      Returns:
      the insets of the notification window
    • getAlpha

      float getAlpha()
      Get the alpha that should be applied to a notification where the mouse is not over
      Returns:
      the alpha of the notification window
    • getBackground

      IBackground getBackground()
      Get the IBackground that should be applied to the notification
      Returns:
      the IBackground of the notification
    • getOverlay

      IOverlay getOverlay()
      Get the IOverlay that should be applied to the notification
      Returns:
      The IOverlay of the notification
    • getCloseButton

      ICloseButton getCloseButton()
      Get the ICloseButton that should be applied to the notification
      Returns:
      The ICloseButton of the notification
    • getNotificationWindowCreator

      ICreateNotificationWindow getNotificationWindowCreator()
      Get the notification window creator
      Returns:
      the notification window creator
    • getCustomParams

      Map<String,Object> getCustomParams()
      Get a map of custom parameters
      Returns:
      a map of custom parameters