public abstract class AbstractScreenLayout<W extends java.awt.Window,C> extends java.lang.Object implements ScreenLayout<W,C>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<W,C> |
constraints
Windows constraints.
|
protected java.lang.Object |
lock
Constraints lock.
|
protected java.util.List<W> |
windows
Windows added into this screen layout.
|
| Constructor and Description |
|---|
AbstractScreenLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWindow(W window)
Called when window added into this layout.
|
void |
addWindow(W window,
C constraints)
Called when window added into this layout.
|
void |
removeWindow(W window)
Called when window removed from this layout.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlayoutScreenprotected final java.util.List<W extends java.awt.Window> windows
protected final java.util.Map<W extends java.awt.Window,C> constraints
protected final java.lang.Object lock
public void addWindow(W window)
window - added windowpublic void addWindow(W window, C constraints)
ScreenLayoutaddWindow in interface ScreenLayout<W extends java.awt.Window,C>window - added windowconstraints - component constraintspublic void removeWindow(W window)
ScreenLayoutremoveWindow in interface ScreenLayout<W extends java.awt.Window,C>window - removed window