Class DropMenu

    • Constructor Detail

      • DropMenu

        public DropMenu​(Flow axis)
        Axis constructor.
        Parameters:
        axis - The axis along which the menu is oriented.
        Throws:
        java.lang.NullPointerException - if the given axis is null.
      • DropMenu

        public DropMenu​(InfoModel infoModel,
                        ActionModel actionModel,
                        Enableable enableable,
                        Flow axis)
        Info model, action model, enableable, and menu layout constructor.
        Parameters:
        infoModel - The component info model.
        actionModel - The component action model.
        enableable - The enableable object in which to store enabled status.
        axis - The axis along which the menu is oriented.
        Throws:
        java.lang.NullPointerException - if the given info model, action model, enableable, and/or layout is null.
      • DropMenu

        public DropMenu​(MenuPrototype menuPrototype,
                        Flow axis)
        Prototype and axis constructor.
        Parameters:
        menuPrototype - The prototype on which this component should be based.
        axis - The axis along which the menu is oriented.
        Throws:
        java.lang.NullPointerException - if the given prototype and/or axis is null.