com.alee.managers.notification
Class NotificationsLayoutUtils

java.lang.Object
  extended by com.alee.managers.notification.NotificationsLayoutUtils
All Implemented Interfaces:
javax.swing.SwingConstants

public final class NotificationsLayoutUtils
extends java.lang.Object
implements javax.swing.SwingConstants

Special general utilities for notification layout classes.

Author:
Mikle Garin

Field Summary
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
NotificationsLayoutUtils()
           
 
Method Summary
static void layout(java.util.List<? extends java.awt.Component> notifications, java.awt.Rectangle bounds)
          Lays out provided notifications by changing their bounds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationsLayoutUtils

public NotificationsLayoutUtils()
Method Detail

layout

public static void layout(java.util.List<? extends java.awt.Component> notifications,
                          java.awt.Rectangle bounds)
Lays out provided notifications by changing their bounds. This is a general method that used by different notification layouts.

Parameters:
notifications - notifications to lay out
bounds - available bounds