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

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

Introduction

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

The text is from its open source code.

Field

ConstantSizeZERO
ConstantSizeDLUX1
ConstantSizeDLUX2
ConstantSizeDLUX3
ConstantSizeDLUX4
ConstantSizeDLUX5
ConstantSizeDLUX6
ConstantSizeDLUX7
ConstantSizeDLUX8
ConstantSizeDLUX9
ConstantSizeDLUX11
ConstantSizeDLUX14
ConstantSizeDLUY2
ConstantSizeDLUY3
ConstantSizeDLUY4
ConstantSizeDLUY5
ConstantSizeDLUY6
ConstantSizeDLUY7
ConstantSizeDLUY8
ConstantSizeDLUY9
ConstantSizeDLUY11
ConstantSizeDLUY14
ComponentSizeMINIMUM
Use the maximum of all component minimum sizes as column or row size.
ComponentSizePREFERRED
Use the maximum of all component preferred sizes as column or row size.
ComponentSizeDEFAULT
Use the maximum of all component sizes as column or row size; measures preferred sizes when asked for the preferred size and minimum sizes when asked for the minimum size.

Method

Sizebounded(Size basis, Size lowerBound, Size upperBound)
Creates and returns a BoundedSize for the given basis using the specified lower and upper bounds.
ConstantSizeconstant(String encodedValueAndUnit, boolean horizontal)
Creates and returns an instance of ConstantSize from the given encoded size and unit description.
intdialogUnitXAsPixel(int dluX, Component component)
Converts horizontal dialog units and returns pixels.
intdialogUnitYAsPixel(int dluY, Component component)
Converts vertical dialog units and returns pixels.
ConstantSizedluX(int value)
Creates and returns a ConstantSize for the specified value in horizontal dialog units.
ConstantSizedluY(int value)
Creates and returns a ConstantSize for the specified value in vertical dialog units.
ConstantSizepixel(int value)
Creates and returns a ConstantSize for the specified pixel value.