public interface IMutableMultilingualText extends IMultilingualText, IClearable
| Modifier and Type | Method and Description |
|---|---|
EChange |
addText(Locale aContentLocale,
String sText)
Add a text in the specified locale.
|
EChange |
assignFrom(IMultilingualText aMLT)
Assign all fields from the passed object.
|
CallbackList<IChangeCallback<IMutableMultilingualText>> |
changeNotifyCallbacks() |
EChange |
removeText(Locale aContentLocale)
Remove the text with the specified locale.
|
EChange |
setText(Locale aContentLocale,
String sText)
Set a text in the specified locale.
|
containsLocaleWithFallback, textsgetAsHasDisplayTextWithArgs, getTextWithArgs, getTextWithArgsgetAsHasDisplayText, getComparatorCollating, getTextremoveAll@Nonnull EChange addText(@Nonnull Locale aContentLocale, @Nullable String sText)
false is returned.aContentLocale - The locale in which the text should be set. May not be
null.sText - The text to be set. May be null.EChange.CHANGED if the text was added,
EChange.UNCHANGED otherwise.@Nonnull EChange setText(@Nonnull Locale aContentLocale, @Nullable String sText)
aContentLocale - The locale in which the text should be set. May not be
null .sText - The text to be set. May be null.EChange.CHANGED if the text was set,
EChange.UNCHANGED otherwise.@Nonnull EChange removeText(@Nonnull Locale aContentLocale)
aContentLocale - The locale to be removed. May not be null.EChange.CHANGED if the text was remove,
EChange.UNCHANGED otherwise.@Nonnull EChange assignFrom(@Nonnull IMultilingualText aMLT)
aMLT - The object to read the content from. May not be null.EChange.CHANGED if the assignment changed anything,
EChange.UNCHANGED otherwise.@Nonnull @ReturnsMutableObject(value="Design") CallbackList<IChangeCallback<IMutableMultilingualText>> changeNotifyCallbacks()
null.Copyright © 2014–2022 Philip Helger. All rights reserved.