public class DefaultMenuLayout extends BoxLayout implements UIResource
| Constructor and Description |
|---|
DefaultMenuLayout(Container target,
int axis) |
| Modifier and Type | Method and Description |
|---|---|
Dimension |
preferredLayoutSize(Container target)
Returns the preferred dimensions for this layout, given the components
in the specified target container.
|
addLayoutComponent, addLayoutComponent, getAxis, getLayoutAlignmentX, getLayoutAlignmentY, getTarget, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, removeLayoutComponentpublic DefaultMenuLayout(Container target, int axis)
public Dimension preferredLayoutSize(Container target)
BoxLayoutpreferredLayoutSize in interface LayoutManagerpreferredLayoutSize in class BoxLayouttarget - the container that needs to be laid outContainer,
BoxLayout.minimumLayoutSize(java.awt.Container),
BoxLayout.maximumLayoutSize(java.awt.Container)aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.