public class FanLayout extends Layout
Like BoxLayout, except if there isn’t enough space to layout the children, it will overlap them, fanning them out.
| Modifier and Type | Field and Description |
|---|---|
static int |
X_AXIS |
| Constructor and Description |
|---|
FanLayout(int orientation) |
| Modifier and Type | Method and Description |
|---|---|
Dimension |
getPreferredSize(Container parent) |
boolean |
isOverlapSupported() |
void |
layoutContainer(Container parent) |
addLayoutComponent, cloneConstraint, equals, getChildrenInTraversalOrder, getComponentConstraint, hashCode, isConstraintTracking, obscuresPotential, overridesTabIndices, removeLayoutComponent, updateTabIndicespublic static final int X_AXIS
public void layoutContainer(Container parent)
layoutContainer in class Layoutpublic boolean isOverlapSupported()
isOverlapSupported in class Layoutpublic Dimension getPreferredSize(Container parent)
getPreferredSize in class LayoutCopyright © 2022. All Rights Reserved.