AbstractFlowLayout

Deprecated

The entire Swing UI is deprecated and is scheduled to be replaced with a modern UI.

A LayoutManager laying out components in a single row or column, optionally in a user-defined order.

Inheritors

Constructors

Link copied to clipboard
constructor(hGap: Int, alignment: Int, anchor: Int, ordered: Boolean)
Builds a new flow layout.

Properties

Link copied to clipboard
val BOTH: Int = 3
The horizontal alignment constant that designates stretching the component horizontally.
Link copied to clipboard
val CENTER: Int = 0
The horizontal alignment constant that designates centering.
Link copied to clipboard
val LEFT: Int = 2
The horizontal alignment constant that designates left justification.
Link copied to clipboard
val RIGHT: Int = 1
The horizontal alignment constant that designates the right justification.
Link copied to clipboard
val TOP: Int = 1
The anchoring constant that designates anchoring to the top of the display area.

Functions

Link copied to clipboard
Link copied to clipboard
Returns the position of the given component in the ordering.
Link copied to clipboard
Returns the ordered list of components.
Link copied to clipboard
open fun isOrdered(): Boolean
Checks whether the components are ordered.
Link copied to clipboard
abstract fun layoutContainer(parent: Container)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the position of the given component in the ordering.
Link copied to clipboard
open fun toString(): String