Class ToolButton

    • Constructor Detail

      • ToolButton

        public ToolButton()
        Default constructor.
      • ToolButton

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

        public ToolButton​(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.
      • ToolButton

        public ToolButton​(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.
      • ToolButton

        public ToolButton​(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.