Show TOC

Object documentationFlow Layout Locate this document in the navigation structure

 

Control API

The flowLayout is a simple container that renders its contents without additions. It allows to align controls that do not need to be aligned with other elements in an interface. Controls that are added to the flowLayout are able to wrap if the available space for displaying all controls in one line does not suffice.

flowLayout has no tag. It has one method getUI which returns an identification string for the renderer that is unique for all supported components. The following attributes are inherited from container.

Attribute

M

Description

Case sens

Classlib

addComponent

Adds a component to the container.The component is added to the end of the already added text/components.

yes

addComponent ((component) component)

addRawText

Adds text - without encoding - to the container for example, if HTML commands have to be added. The text is added to the end of the already added text/components.

-

addRawText (java.lang.String text)

addText

Adds text encoded to the container.The text is added to the end of the already added text/components.

-

addText (java.lang.String text)

remove Component

Removes a component from the container

yes

removeComponent ((component) component)

flowLayout method:

  • wrapping

    Sets the line wrapping for the flow control.

Attributes

M

Values

Usage

wrapping

FALSE (d)

TRUE

Taglib

wrapping="TRUE"

Classlib

setWrapping(true)