Class Button

    • Constructor Detail

      • Button

        public Button()
        Default constructor.
      • Button

        public Button​(java.lang.String label)
        Label constructor.
        Parameters:
        label - The text of the label, or null if there should be no label.
      • Button

        public Button​(java.lang.String label,
                      java.net.URI icon)
        Label and icon constructor.
        Parameters:
        label - The text of the label, or null if there should be no label.
        icon - The icon URI, which may be a resource URI, or null if there is no icon URI.
      • Button

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

        public Button​(ActionPrototype actionPrototype)
        Prototype constructor.
        Parameters:
        actionPrototype - The prototype on which this component should be based.
        Throws:
        java.lang.NullPointerException - if the given prototype is null.