Interface IFluentMutableOptionalIdHolder<H extends IFluentMutableOptionalIdHolder<H>>
- Type Parameters:
H- is the type of aIFluentMutableOptionalIdHolder.
- All Superinterfaces:
IOptionalIdHolder
- All Known Subinterfaces:
IAccordion, IButton, ICheckbox, IComponent, IContainer<C,S>, IControl<C, S>, IDropdownMenu, IGrid, IHorizontalStack, IImageControl, IItemMenu<M, S>, ILabel, ILayer<L>, ILinearContainer<C, S>, ILink, ISingleContainer, IStylableElement<E>, IStyleElement<E>, ITabContainer, ITextbox, IUploader, IValidationLabel, IVerticalStack, IWebGui<G>
- All Known Implementing Classes:
AbstractContainer, AbstractItemMenu, AbstractLinearContainer, AbstractStylableElement, AbstractStyleElement, Button, Component, ComponentWithAdapterFactory, Control, DropdownMenu, FloatContainer, Grid, HorizontalStack, ImageControl, Label, Layer, Link, SingleContainer, Textbox, Uploader, ValidationLabel, VerticalStack, WebGui
public interface IFluentMutableOptionalIdHolder<H extends IFluentMutableOptionalIdHolder<H>>
extends IOptionalIdHolder
A
IFluentMutableOptionalIdHolder is a IOptionalIdHolder whose
id can be set and removed programmatically and fluently.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidremoveId()Removes the id of the currentIFluentMutableOptionalIdHolder.Sets the id of the currentIFluentMutableOptionalIdHolder.Methods inherited from interface IOptionalIdHolder
getId, getIdInQuotes, hasId, hasId
-
Method Details
-
removeId
void removeId()Removes the id of the currentIFluentMutableOptionalIdHolder. -
setId
Sets the id of the currentIFluentMutableOptionalIdHolder.- Parameters:
id-- Returns:
- the current
IFluentMutableOptionalIdHolder. - Throws:
RuntimeException- if the given id is null.RuntimeException- if the given id is blank.
-