Class LabelPrototype

  • All Implemented Interfaces:
    com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, InfoModel, LabelModel, Model, Prototype

    public class LabelPrototype
    extends AbstractPrototype
    Contains prototype information for a label.
    Author:
    Garret Wilson
    • Constructor Detail

      • LabelPrototype

        public LabelPrototype()
        Default constructor.
      • LabelPrototype

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

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