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, updateTabIndices
public static final int X_AXIS
public void layoutContainer(Container parent)
layoutContainer
in class Layout
public boolean isOverlapSupported()
isOverlapSupported
in class Layout
public Dimension getPreferredSize(Container parent)
getPreferredSize
in class Layout
Copyright © 2021. All Rights Reserved.