Interface HasCaption


public interface HasCaption
A widget that implements this interface has a caption which can be set and retrieved using these methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets this widget's caption.
    void
    setCaption(String caption)
    Sets this widget's caption.
  • Method Details

    • getCaption

      String getCaption()
      Gets this widget's caption.
      Returns:
      the caption.
    • setCaption

      void setCaption(String caption)
      Sets this widget's caption.
      Parameters:
      caption - the new caption.