Interface IPosition
- All Known Implementing Classes:
Positions
public interface IPosition
Interface for positioning the notification.
-
Method Summary
Modifier and TypeMethodDescriptiongetPosition(Dimension screenSize, Insets screenInsets, JWindow window, INotificationStyle style) Calculate the position forwindow
-
Method Details
-
getPosition
Point getPosition(Dimension screenSize, Insets screenInsets, JWindow window, INotificationStyle style) Calculate the position forwindow- Parameters:
screenSize- The screen size including the task/menu barscreenInsets- Insets (task/menu bar) of the screenwindow- The window we want to set the position forstyle- The style of the notification.- Returns:
- The position for the window
-