Class GlassPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class GlassPane extends JPanel
Glass pane for the notification. This component is responsible for displaying the IOverlay found in INotificationStyle.getOverlay() and the ICloseButton found in INotificationStyle.getCloseButton()
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • fWindow

      private final JWindow fWindow
    • fStyle

      private final INotificationStyle fStyle
    • fCornerRadius

      private final int fCornerRadius
  • Constructor Details

    • GlassPane

      public GlassPane(JWindow window, INotificationStyle style, int cornerRadius)
      Create a new GlassPane
      Parameters:
      window - The glass pane is for this window
      style - Style of the notification
      cornerRadius - The corner radius of the window
  • Method Details