VerticalFlowLayout

class VerticalFlowLayout : AFlowLayout

A vertical layout manager similar to java.awt.FlowLayout. Like FlowLayout components do not expand to fill available space except when the horizontal alignment 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 anchor 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
open fun VerticalFlowLayout(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.
Link copied to clipboard
open fun VerticalFlowLayout(vgap: Int, ordered: Boolean)
Constructs a VerticalLayout instance with horizontal centering, anchored to the top with the specified vgap.
Link copied to clipboard
open fun VerticalFlowLayout(vgap: Int, alignment: Int, ordered: Boolean)
Constructs a VerticalLayout instance anchored to the top with the specified vgap and horizontal alignment.
Link copied to clipboard
open fun VerticalFlowLayout(vgap: Int, alignment: Int, anchor: Int, ordered: Boolean)
Constructs a VerticalLayout instance with the specified vgap, horizontal alignment and anchoring.

Functions

Link copied to clipboard
fun addLayoutComponent(name: String, comp: Component)
abstract fun addLayoutComponent(p: String, p1: Component)
Link copied to clipboard
open fun getComponentOrder(c: Component): Int
Link copied to clipboard
open fun getComponentsList(): List<Component>
Link copied to clipboard
open fun isOrdered(): Boolean
Link copied to clipboard
open fun layoutContainer(parent: Container)
Lays out the container.
abstract fun layoutContainer(p: Container)
Link copied to clipboard
fun minimumLayoutSize(parent: Container): Dimension
abstract fun minimumLayoutSize(p: Container): Dimension
Link copied to clipboard
fun preferredLayoutSize(parent: Container): Dimension
abstract fun preferredLayoutSize(p: Container): Dimension
Link copied to clipboard
fun removeLayoutComponent(comp: Component)
abstract fun removeLayoutComponent(p: Component)
Link copied to clipboard
fun setComponentOrder(c: Component, order: Int)
Link copied to clipboard
open fun toString(): String