Interface IPosition

  • All Known Implementing Classes:
    Positions

    public interface IPosition
    Interface for positioning the notification.
    • Method Detail

      • getPosition

        java.awt.Point getPosition​(java.awt.Dimension screenSize,
                                   java.awt.Insets screenInsets,
                                   javax.swing.JWindow window,
                                   INotificationStyle style)
        Calculate the position for window
        Parameters:
        screenSize - The screen size including the task/menu bar
        screenInsets - Insets (task/menu bar) of the screen
        window - The window we want to set the position for
        style - The style of the notification.
        Returns:
        The position for the window