Interface IPosition

All Known Implementing Classes:
Positions

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

    • getPosition

      Point getPosition(Dimension screenSize, Insets screenInsets, 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