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