com.alee.utils.swing
Interface ScreenLayout<W extends java.awt.Window,C>

All Known Implementing Classes:
AbstractScreenLayout, NotificationsScreenLayout

public interface ScreenLayout<W extends java.awt.Window,C>

Special layout manager which handles window positions and sizes. It is similar to Swing layout managers but it handles windows only.

Author:
Mikle Garin

Method Summary
 void addWindow(W window, C constraints)
          Called when window added into this layout.
 void layoutScreen()
          Performs positioning and sizing of windows added into this ScreenLayout.
 void removeWindow(W window)
          Called when window removed from this layout.
 

Method Detail

addWindow

void addWindow(W window,
               C constraints)
Called when window added into this layout.

Parameters:
window - added window
constraints - component constraints

removeWindow

void removeWindow(W window)
Called when window removed from this layout.

Parameters:
window - removed window

layoutScreen

void layoutScreen()
Performs positioning and sizing of windows added into this ScreenLayout.