Package com.formdev.flatlaf.ui
Class FlatPopupMenuUI.FlatPopupMenuLayout
- java.lang.Object
-
- javax.swing.BoxLayout
-
- javax.swing.plaf.basic.DefaultMenuLayout
-
- com.formdev.flatlaf.ui.FlatPopupMenuUI.FlatPopupMenuLayout
-
- All Implemented Interfaces:
LayoutManager
,LayoutManager2
,Serializable
,UIResource
- Enclosing class:
- FlatPopupMenuUI
protected static class FlatPopupMenuUI.FlatPopupMenuLayout extends DefaultMenuLayout
- Since:
- 2.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlatPopupMenuLayout(Container target, int axis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension
preferredLayoutSize(Container target)
-
Methods inherited from class javax.swing.BoxLayout
addLayoutComponent, addLayoutComponent, getAxis, getLayoutAlignmentX, getLayoutAlignmentY, getTarget, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, removeLayoutComponent
-
-
-
-
Constructor Detail
-
FlatPopupMenuLayout
public FlatPopupMenuLayout(Container target, int axis)
-
-
Method Detail
-
preferredLayoutSize
public Dimension preferredLayoutSize(Container target)
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
- Overrides:
preferredLayoutSize
in classDefaultMenuLayout
-
-