Package ch.swingfx.twinkle.window
Interface IPosition
-
- All Known Implementing Classes:
Positions
public interface IPositionInterface for positioning the notification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.PointgetPosition(java.awt.Dimension screenSize, java.awt.Insets screenInsets, javax.swing.JWindow window, INotificationStyle style)Calculate the position forwindow
-
-
-
Method Detail
-
getPosition
java.awt.Point getPosition(java.awt.Dimension screenSize, java.awt.Insets screenInsets, javax.swing.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
-
-