Interface ILabelElement<I extends ILabelElement>

All Superinterfaces:
IComponent<I>, IHtmlBasedComponent<I>, IXulElement<I>
All Known Subinterfaces:
IA<I>, IAuxheader<I>, IAvatar, IBreadcrumbitem, IButton, IButtonBase<I>, ICaption<I>, ICarouselitem<I>, ICheckbox, ICheckboxBase<I>, IChip, IColumn<I>, ICombobutton, IComboitem, IFileupload, IFisheye, IFooter<I>, IFooterElement<I>, IHeaderElement<I>, ILabelImageElement<I>, IListcell<I>, IListfooter<I>, IListheader<I>, IMenu, IMenuitem, INav, INavitem, IOrgnode<I>, IRadio, ITab, IToolbarbutton, ITreecell<I>, ITreecol<I>, ITreefooter<I>

public interface ILabelElement<I extends ILabelElement> extends IXulElement<I>
Immutable LabelElement interface
Author:
katherine
  • Method Details

    • getLabel

      default String getLabel()
      Returns the label (never null).

      Default: "".

    • withLabel

      I withLabel(String label)
      Returns a copy of this immutable component with the specified label.

      Sets the label of the component.

      Returns:
      A modified copy of the this object