Interface MutableOptionalTextHolder
- All Superinterfaces:
OptionalTextHolder
A
MutableOptionalTextHolder is a OptionalTextHolder whose
text can be set and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the text of the currentMutableOptionalTextHolder.voidSets the text of the currentMutableOptionalTextHolder.Methods inherited from interface OptionalTextHolder
getText, hasText
-
Method Details
-
removeText
void removeText()Removes the text of the currentMutableOptionalTextHolder. -
setText
Sets the text of the currentMutableOptionalTextHolder.- Parameters:
text-- Throws:
RuntimeException- if the given text is null
-