com.jgoodies.forms.util |
Consists of Forms framework helper classes for unit conversion and layout styles.
Related Documentation
For more information see:
@see com.jgoodies.forms.builder
@see com.jgoodies.forms.factories
|
Java Source File Name | Type | Comment |
AbstractUnitConverter.java | Class | An abstract implementation of the
UnitConverter interface that
minimizes the effort required to convert font-dependent sizes to pixels. |
DefaultUnitConverter.java | Class | This is the default implementation of the
UnitConverter interface.
It converts horizontal and vertical dialog base units to pixels.
The horizontal base unit is equal to the average width, in pixels,
of the characters in the system font; the vertical base unit is equal
to the height, in pixels, of the font.
Each horizontal base unit is equal to 4 horizontal dialog units;
each vertical base unit is equal to 8 vertical dialog units.
The DefaultUnitConverter computes dialog base units using a default font
and a test string for the average character width. |
LayoutStyle.java | Class | An abstract class that describes a layout and design style guide. |
MacLayoutStyle.java | Class | A
LayoutStyle that aims to provide layout constants as defined by
Microsoft's Design Specifications and Guidelines - Visual Design. |
UnitConverter.java | Interface | An interface that describes how to convert general sizes to pixel sizes.
For example, dialog units require a conversion that honors
the font and resolution. |
Utilities.java | Class | Consists only of static utility methods.
This class may be merged with the FormLayoutUtils extra - or not. |
WindowsLayoutStyle.java | Class | A
LayoutStyle that aims to provide layout constants as defined by
Microsoft's Design Specifications and Guidelines - Visual Design. |