com.jgoodies.forms.layout

Class FormLayout.LayoutInfo

public static final class FormLayout.LayoutInfo extends Object

Stores column and row origins.
Field Summary
int[]columnOrigins
Holds the origins of the columns.
int[]rowOrigins
Holds the origins of the rows.
Method Summary
intgetHeight()
Returns the layout's height, the size between the first and last row.
intgetWidth()
Returns the layout's width, the size between the first and the last column origin.
intgetX()
Returns the layout's horizontal origin, the origin of the first column.
intgetY()
Returns the layout's vertical origin, the origin of the first row.

Field Detail

columnOrigins

public final int[] columnOrigins
Holds the origins of the columns.

rowOrigins

public final int[] rowOrigins
Holds the origins of the rows.

Method Detail

getHeight

public int getHeight()
Returns the layout's height, the size between the first and last row.

Returns: the layout's height.

getWidth

public int getWidth()
Returns the layout's width, the size between the first and the last column origin.

Returns: the layout's width.

getX

public int getX()
Returns the layout's horizontal origin, the origin of the first column.

Returns: the layout's horizontal origin, the origin of the first column.

getY

public int getY()
Returns the layout's vertical origin, the origin of the first row.

Returns: the layout's vertical origin, the origin of the first row.

Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.