See: Description
Interface | Description |
---|---|
PercentLayoutPlatformAdapter |
Definition of an interface that encapsulates platform (library) specific
access to GUI components that are managed by a percent layout manager.
|
UnitSizeHandler |
Definition of an interface for performing size calculations in a manner
independent of a certain component model.
|
Class | Description |
---|---|
BorderLayout |
A GUI library independent implementation of the AWT layout manager
BorderLayout.
|
ButtonLayout |
A layout manager that deals with button bars for dialogs.
|
CellConstraints |
A class for describing column and row constraints for the
PercentLayout layout manager. |
CellConstraints.Builder |
A builder class for creating instances of
CellConstraints . |
CellGroup |
A simple helper class to define columns and rows with identical size in
PercentLayout . |
NumberWithUnit |
A class that combines a value with a unit.
|
PercentData |
A constraints class used by
PercentLayout . |
PercentData.Builder |
A builder implementation for creating instances of
PercentData . |
PercentLayout |
The concrete percent layout implementation.
|
PercentLayoutBase |
The main class of the percent layout manager.
|
Enum | Description |
---|---|
ButtonLayout.Alignment |
An enumeration class for the alignment of a
ButtonLayout . |
CellAlignment |
An enumeration class that defines the possible alignments of components in
the cells of a percent layout.
|
CellSize |
An enumeration class that defines possible sizes for the cells of a
percent layout.
|
Unit |
An enumeration class for defining units.
|
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 $
Copyright © 2016 The JGUIraffe Team. All rights reserved.