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 Details

    • LabelPrototype

      public LabelPrototype()
      Default constructor.
    • LabelPrototype

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

      public LabelPrototype(String label, 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.