Class Label

  • All Implemented Interfaces:
    Viewable, java.io.Serializable

    public class Label
    extends Model
    implements Viewable, java.io.Serializable
    A "label" may have some text and/or an icon. It probably should be a combination of text and image.
    See Also:
    Serialized Form
    • Constructor Detail

      • Label

        public Label()
      • Label

        public Label​(java.lang.String text)
    • Method Detail

      • makeView

        public void makeView​(Display display,
                             java.lang.Object where)
        Specified by:
        makeView in interface Viewable
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String text)