Module java.desktop

Class DefaultMenuLayout

    • Constructor Detail

      • DefaultMenuLayout

        public DefaultMenuLayout​(Container target,
                                 int axis)
        Constructs a new instance of DefaultMenuLayout.
        Parameters:
        target - the container that needs to be laid out
        axis - the axis to lay out components along. Can be one of: BoxLayout.X_AXIS, BoxLayout.Y_AXIS, BoxLayout.LINE_AXIS or BoxLayout.PAGE_AXIS