Package net.sf.jguiraffe.gui.layout
This package contains the platform-independent base classes and helper classes for the layout managers provided by the JGUIraffe library.
The most important class in this package is PercentLayoutBase
which implements the basic functionality of the percent layout layout
manager. Percent layout organizes components in a tabular structure.
For each cell of the table properties like the initial size, the alignment, or
a weight factor can be defined. The weight factor controls how additional space
that becomes available if the user resizes the window is assigned to the cells
comprising the layout. The properties of a cell are specified by an instance of
CellConstraints
.
The PercentLayout
class is the platform-independent implementation
of percent layout. Based on the same concepts there are some other
platform-independent layout manager implementations:
BorderLayout
provides the same functionality as the AWT layout manager with the same name with some slight enhancements.ButtonLayout
is specialized on layouting the command buttons of a dialog (e.g. a bar at the bottom of the dialog containing buttons like Save, Cancel, or Help. All buttons have the same size and space between them.
The term platform-independent in this context means that the layout manager classes defined in this package implement the basic layouting algorithms, but they do not adhere to special layout manager interfaces. Other packages provide concrete sub classes of these classes that can be used in specific GUI toolkits, e.g. Swing.
$Id: package.html 205 2012-01-29 18:29:57Z oheger $
-
KlasseBeschreibungA GUI library independent implementation of the AWT layout manager BorderLayout.A layout manager that deals with button bars for dialogs.An enumeration class for the alignment of a
ButtonLayout
.An enumeration class that defines the possible alignments of components in the cells of a percent layout.A class for describing column and row constraints for thePercentLayout
layout manager.A builder class for creating instances ofCellConstraints
.A simple helper class to define columns and rows with identical size inPercentLayout
.An enumeration class that defines possible sizes for the cells of a percent layout.A class that combines a value with a unit.A constraints class used byPercentLayout
.A builder implementation for creating instances ofPercentData
.The concrete percent layout implementation.The main class of the percent layout manager.Definition of an interface that encapsulates platform (library) specific access to GUI components that are managed by a percent layout manager.An enumeration class for defining units.Definition of an interface for performing size calculations in a manner independent of a certain component model.