DroidDiagram Programmer's Guide
VerticalFlowLayout Members
Constructors Fields Methods
 


A version of FlowLayout which arranges its components vertically.

The following tables list the members exposed by the VerticalFlowLayout type.

 Public Constructors

  Name Description

VerticalFlowLayout

Overloaded.  

 Public Fields

  Name Description

BOTTOM

This value indicates that each row of components should be bottom-justified.

CENTER

This value indicates that each row of components should be centered.

LEFT

This value indicates that the components should be left-aligned.

MIDDLE

This value indicates that the components should be centered horizontally.

RIGHT

This value indicates that the components should be right-aligned.

STRETCH

This value indicates that the components should be stretched horizontally.

TOP

This value indicates that each row of components should be top-justified.

 Public Methods

  Name Description

addLayoutComponent

Overloaded.  

getAlignment

Gets the alignment for this layout.

getHAlignment

Gets the horizontal alignment of layout components.

getHgap

Gets the horizontal gap between components and between the components and the borders of the Container.

getLayoutAlignmentX

 

getLayoutAlignmentY

 

getVgap

Gets the vertical gap between components and between the components and the borders of the Container.

invalidateLayout

 

layoutContainer

Lays out the container. This method lets each visible component take its preferred size by reshaping the components in the target container in order to satisfy the alignment of this VerticalFlowLayout object.

maximumLayoutSize

 

minimumLayoutSize

Returns the minimum dimensions needed to layout the visible components contained in the specified target container.

preferredLayoutSize

Returns the preferred dimensions for this layout given the visible components in the specified target container.

removeLayoutComponent

 

setAlignment

Sets the alignment for this layout.

setHAlignment

Sets the horizontal alignment of layout components.

setHgap

Sets the horizontal gap between components and between the components and the borders of the Container.

setVgap

Sets the vertical gap between components and between the components and the borders of the Container.

toString

Returns a string representation of this VerticalFlowLayout object and its values.

 See Also

VerticalFlowLayout Class
com.mindfusion.diagramming Namespace