Interface IMutableMultiTextHolder
- All Superinterfaces:
IMultiTextHolder
A
IMutableMultiTextHolder is a IMultiTextHolder whose texts
can be added and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given text to the currentIMutableMultiTextHolder.voidremoveText(String text) Removes the given text from the currentIMutableMultiTextHolder.voidRemoves all texts from the currentIMutableMultiTextHolder.Methods inherited from interface IMultiTextHolder
getTexts
-
Method Details
-
addText
Adds the given text to the currentIMutableMultiTextHolder.- Parameters:
text-- Throws:
RuntimeException- if the given text is null.
-
removeText
Removes the given text from the currentIMutableMultiTextHolder.- Parameters:
text-- Throws:
RuntimeException- if the currentIMutableMultiTextHolderdoes not contain the given text.
-
removeTexts
void removeTexts()Removes all texts from the currentIMutableMultiTextHolder.
-