Interface IStyledString.IComposedStyledString
- All Superinterfaces:
Iterable<IStyledString>
- All Known Implementing Classes:
ComposedStyledString
- Enclosing interface:
- IStyledString
An iterable of
IStyledString
. It is appendable.-
Method Summary
Modifier and TypeMethodDescriptionAppend the given string with no style.append
(String str, IStyledString.Style style) Append the given string with the given style.append
(IStyledString.IComposedStyledString composedStyledString) Appends the given composed styled string to this.Returns the Java string for this composed styled string.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
append
Append the given string with no style.- Parameters:
str
- the string to append.- Returns:
- this instance to let you chain the calls.
-
append
Append the given string with the given style.- Parameters:
str
- the string to append.style
- the style of the appended string.- Returns:
- this instance to let you chain the calls.
-
append
IStyledString.IComposedStyledString append(IStyledString.IComposedStyledString composedStyledString) Appends the given composed styled string to this.- Parameters:
composedStyledString
- the styled string to append.- Returns:
- this instance.
- Since:
- 4.0
-
getString
String getString()Returns the Java string for this composed styled string.- Returns:
- the Java string for this composed styled string.
-