Java com.jgoodies.forms.layout RowSpec fields, constructors, methods, implement or subclass

Example usage for Java com.jgoodies.forms.layout RowSpec fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.jgoodies.forms.layout RowSpec.

The text is from its open source code.

Field

DefaultAlignmentTOP
By default put the components in the top.
DefaultAlignmentCENTER
By default put the components in the center.
DefaultAlignmentBOTTOM
By default put the components in the bottom.
DefaultAlignmentFILL
By default fill the component into the row.
DefaultAlignmentDEFAULT
Unless overridden the default alignment for a row is CENTER.

Constructor

RowSpec(DefaultAlignment defaultAlignment, Size size, double resizeWeight)
Constructs a RowSpec from the given default orientation, size, and resize weight.

The resize weight must be a non-negative double; you can use NO_FILL as a convenience value for no resize.

RowSpec(Size size)
Constructs a RowSpec for the given size using the default alignment, and no resizing.
RowSpec(String encodedDescription)
Constructs a RowSpec from the specified encoded description.

Method

RowSpecdecode(String encodedRowSpec)
Parses the encoded row specification and returns a RowSpec object that represents the string.
RowSpec[]decodeSpecs(String encodedRowSpecs)
Parses and splits encoded row specifications using the default LayoutMap and returns an array of RowSpec objects.
DefaultAlignmentgetDefaultAlignment()
Returns the default alignment.
doublegetResizeWeight()
Returns the current resize weight.
SizegetSize()
Returns the size.
StringtoString()
Returns a string representation of this form specification.