HorizontalFlowLayout

Deprecated

A vertical layout manager similar to java.awt.FlowLayout. Like FlowLayout components do not expand to fill available space except when the horizontal getAlignment() is BOTH in which case components are stretched horizontally. Unlike FlowLayout, components will not wrap to form another column if there isn't enough space vertically. VerticalLayout can optionally getAnchor() components to the top or bottom of the display area or center them between the top and bottom. Revision date 12th July 2001 Homepage:www.kagi.com/equitysoft - Based on 'FlexLayout' in Java class libraries Vol 2 Chan/Lee Addison-Wesley 1998

Constructors

Link copied to clipboard
constructor(ordered: Boolean)
Constructs an instance of VerticalLayout with a vertical vgap of 5 pixels, horizontal centering and anchored to the top of the display area.
constructor(hgap: Int, ordered: Boolean)
Constructs a VerticalLayout instance with horizontal centering, anchored to the top with the specified vgap.
constructor(hgap: Int, align: Int, ordered: Boolean)
Constructs a VerticalLayout instance anchored to the top with the specified hgap and horizontal alignment.
constructor(hgap: Int, align: Int, anchor: Int, ordered: Boolean)
Constructs a VerticalLayout instance with the specified vgap, horizontal getAlignment() and anchoring.

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 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
abstract fun addLayoutComponent(p: String, p1: Component)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isOrdered(): Boolean
Link copied to clipboard
open fun layoutContainer(parent: Container)
abstract fun layoutContainer(p: Container)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toString(): String