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(@NotNull java.awt.Container textArea) |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(@NotNull java.lang.String name,
@NotNull java.awt.Component comp) |
void |
layoutContainer(@NotNull java.awt.Container parent) |
@NotNull java.awt.Dimension |
minimumLayoutSize(@NotNull java.awt.Container parent) |
@NotNull java.awt.Dimension |
preferredLayoutSize(@NotNull java.awt.Container parent) |
void |
removeLayoutComponent(@NotNull 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 @NotNull java.lang.String name, @NotNull @NotNull java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
public void removeLayoutComponent(@NotNull @NotNull java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
@NotNull public @NotNull java.awt.Dimension preferredLayoutSize(@NotNull @NotNull java.awt.Container parent)
preferredLayoutSize
in interface java.awt.LayoutManager
@NotNull public @NotNull java.awt.Dimension minimumLayoutSize(@NotNull @NotNull java.awt.Container parent)
minimumLayoutSize
in interface java.awt.LayoutManager
public void layoutContainer(@NotNull @NotNull java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager