Schnittstelle IMutableMultiTextHolder
- Alle Superschnittstellen:
IMultiTextHolder
A
IMutableMultiTextHolder is a IMultiTextHolder whose texts
can be added and removed programmatically.- Version:
- 2023-10-25
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds the given text to the currentIMutableMultiTextHolder.voidremoveText(String text) Removes the given text from the currentIMutableMultiTextHolder.voidRemoves all texts from the currentIMutableMultiTextHolder.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.multiattribute.IMultiTextHolder
getTexts
-
Methodendetails
-
addText
Adds the given text to the currentIMutableMultiTextHolder.- Parameter:
text-- Löst aus:
RuntimeException- if the given text is null.
-
removeText
Removes the given text from the currentIMutableMultiTextHolder.- Parameter:
text-- Löst aus:
RuntimeException- if the currentIMutableMultiTextHolderdoes not contain the given text.
-
removeTexts
void removeTexts()Removes all texts from the currentIMutableMultiTextHolder.
-