public class ScrollLayout
extends java.lang.Object
implements java.awt.LayoutManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOTTOM |
static java.lang.String |
CENTER |
static java.lang.String |
RIGHT |
Constructor and Description |
---|
ScrollLayout(java.awt.Container textArea) |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp) |
void |
layoutContainer(java.awt.Container parent) |
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 RIGHT
public static final java.lang.String BOTTOM
public void addLayoutComponent(@NotNull java.lang.String name, @NotNull java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
public void removeLayoutComponent(@NotNull java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
@NotNull public java.awt.Dimension preferredLayoutSize(@NotNull java.awt.Container parent)
preferredLayoutSize
in interface java.awt.LayoutManager
@NotNull public java.awt.Dimension minimumLayoutSize(@NotNull java.awt.Container parent)
minimumLayoutSize
in interface java.awt.LayoutManager
public void layoutContainer(@NotNull java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager