public class FullScreenLayout
extends java.lang.Object
implements java.awt.LayoutManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CENTER |
static java.lang.String |
SOUTH |
Constructor and Description |
---|
FullScreenLayout(boolean overlay,
int yGap)
Initializes a new FullScreenLayout instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Adds the given component to this layout.
|
void |
layoutContainer(java.awt.Container parent)
Lays out the components added in the given parent container
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent) |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent) |
void |
removeLayoutComponent(java.awt.Component comp) |
public static final java.lang.String CENTER
public static final java.lang.String SOUTH
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
name
- the name of the constraint (CENTER or SOUTH)comp
- the component to add to this layoutpublic void layoutContainer(java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager
parent
- the parent container to lay outpublic java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
minimumLayoutSize
in interface java.awt.LayoutManager
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
preferredLayoutSize
in interface java.awt.LayoutManager
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.