Class FlatPopupMenuUI.FlatPopupMenuLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable, javax.swing.plaf.UIResource
    Enclosing class:
    FlatPopupMenuUI

    protected static class FlatPopupMenuUI.FlatPopupMenuLayout
    extends javax.swing.plaf.basic.DefaultMenuLayout
    Since:
    2.4
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.BoxLayout

        LINE_AXIS, PAGE_AXIS, X_AXIS, Y_AXIS
    • Constructor Summary

      Constructors 
      Constructor Description
      FlatPopupMenuLayout​(java.awt.Container target, int axis)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Dimension preferredLayoutSize​(java.awt.Container target)  
      • Methods inherited from class javax.swing.BoxLayout

        addLayoutComponent, addLayoutComponent, getAxis, getLayoutAlignmentX, getLayoutAlignmentY, getTarget, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, removeLayoutComponent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlatPopupMenuLayout

        public FlatPopupMenuLayout​(java.awt.Container target,
                                   int axis)
    • Method Detail

      • preferredLayoutSize

        public java.awt.Dimension preferredLayoutSize​(java.awt.Container target)
        Specified by:
        preferredLayoutSize in interface java.awt.LayoutManager
        Overrides:
        preferredLayoutSize in class javax.swing.plaf.basic.DefaultMenuLayout