DefaultMenuLayout.javaAPI DocJava SE 5 API1197Fri Aug 26 14:58:06 BST 2005javax.swing.plaf.basic


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.
1.8 12/19/03
Georges Saab

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

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

        if (target instanceof JPopupMenu) {
                                 BasicMenuItemUI.MAX_TEXT_WIDTH, null); 
                                 BasicMenuItemUI.MAX_ACC_WIDTH, null);
        return super.preferredLayoutSize(target);