Utility classes that relate to user interface items.
Interface Summary Interface Description DrawableAn interface for an object that can draw itself within an area on a
GradientPaintTransformerThe interface for a class that can transform a
GradientPaintto fit an arbitrary shape.
Class Summary Class Description AlignA utility class for aligning rectangles. ApplicationFrameA base class for creating the main frame for simple applications. FontChooserPanelA panel for choosing a font from the available system fonts - still a bit of a hack at the moment, but good enough for demonstration applications. FontDisplayFieldA field for displaying a font selection. GradientPaintTransformTypeRepresents a type of transform for a
HorizontalAlignmentAn enumeration of the horizontal alignment types (
LCBLayoutSpecialised layout manager for a grid of components. LengthAdjustmentTypeRepresents the three options for adjusting a length: expand, contract, and no change. NumberCellRendererA table cell renderer that formats numbers with right alignment in each cell. PaintSampleA panel that displays a paint sample. RectangleEdgeUsed to indicate the edge of a rectangle. RectangleInsetsRepresents the insets for a rectangle, specified in absolute or relative terms. Size2DA simple class for representing the dimensions of an object. StandardGradientPaintTransformerTransforms a
GradientPaintto range over the width of a target shape.
StrokeChooserPanelA component for choosing a stroke from a list of available strokes. StrokeSampleA panel that displays a stroke sample. TextAnchorUsed to indicate the position of an anchor point for a text string. UIUtilsA collection of utility methods relating to user interfaces. VerticalAlignmentAn enumeration of the vertical alignment types (
Enum Summary Enum Description LayerUsed to indicate either the foreground or background layer. RectangleAnchorUsed to indicate an anchor point for a rectangle.