FileDocCategorySizeDatePackage
DefaultMenuLayout.javaAPI DocJava SE 6 API1153Tue Jun 10 00:26:54 BST 2008javax.swing.plaf.synth

DefaultMenuLayout

public class DefaultMenuLayout extends BoxLayout implements UIResource
The default layout manager for Popup menus and menubars. This class is an extension of BoxLayout which adds the UIResource tag so that plauggable L&Fs can distinguish it from user-installed layout managers on menus. Derived from javax.swing.plaf.basic.DefaultMenuLayout
version
1.9 11/17/05
author
Georges Saab

Fields Summary
Constructors Summary
public DefaultMenuLayout(Container target, int axis)

	super(target, axis);
    
Methods Summary
public voidinvalidateLayout(java.awt.Container target)

        if (target instanceof JPopupMenu) {
            SynthPopupMenuUI popupUI = (SynthPopupMenuUI)((JPopupMenu)target).
                                  getUI();
            popupUI.resetAlignmentHints();
        }
        super.invalidateLayout(target);