public class RackLayout extends BoxLayout
BoxLayout
, except that for a horizontal/vertical layout it forces all
cells to be as high/wide as the cell provided by the enclosing container. Thus, with respect to
the fill behaviour more closely resembles a BorderLayout
.Constructor and Description |
---|
RackLayout(Container target,
int axis) |
Modifier and Type | Method and Description |
---|---|
void |
layoutContainer(Container target) |
addLayoutComponent, addLayoutComponent, getAxis, getLayoutAlignmentX, getLayoutAlignmentY, getTarget, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
public RackLayout(Container target, int axis)
target
- axis
- public void layoutContainer(Container target)
layoutContainer
in interface LayoutManager
layoutContainer
in class BoxLayout
Copyright © 2024 levigo holding gmbh. All rights reserved.