Class Label

    • Constructor Detail

      • Label

        public Label()
        Default constructor with a default info model.
      • Label

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

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

        public Label​(InfoModel infoModel)
        Info model constructor.
        Parameters:
        infoModel - The component info model.
        Throws:
        java.lang.NullPointerException - if the given info model is null.
      • Label

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