Schnittstelle IFluentMutableMultiTokenHolder<H extends IFluentMutableMultiTokenHolder<H>>
- Typparameter:
H- is the type of aIFluentMutableMultiTokenHolder.
- Alle Superschnittstellen:
IMultiTokenHolder
- Alle bekannten Unterschnittstellen:
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>
- Alle bekannten Implementierungsklassen:
AbstractComponent,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 IFluentMutableMultiTokenHolder<H extends IFluentMutableMultiTokenHolder<H>>
extends IMultiTokenHolder
A
IFluentMutableMultiTokenHolder is a IMultiTokenHolder whose
tokens can be added and removed programmatically and fluently.- Version:
- 2023-06-16
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAdds the given token to the currentIFluentMutableMultiTokenHolder.voidremoveToken(String token) Removes the token that equals the given token from the currentIFluentMutableMultiTokenHolderif the currentIFluentMutableMultiTokenHoldercontains such a token.voidRemoves all tokens from the currentIFluentMutableMultiTokenHolder.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.multiattribute.IMultiTokenHolder
getTokens
-
Methodendetails
-
addToken
Adds the given token to the currentIFluentMutableMultiTokenHolder.- Parameter:
token-- Gibt zurück:
- the current
IFluentMutableMultiTokenHolder. - Löst aus:
RuntimeException- if the given token is null or blank.
-
removeToken
Removes the token that equals the given token from the currentIFluentMutableMultiTokenHolderif the currentIFluentMutableMultiTokenHoldercontains such a token.- Parameter:
token-
-
removeTokens
void removeTokens()Removes all tokens from the currentIFluentMutableMultiTokenHolder.
-