Interface IStyledString.IComposedStyledString
- All Superinterfaces:
java.lang.Iterable<IStyledString>
- All Known Implementing Classes:
ComposedStyledString
- Enclosing interface:
- IStyledString
public static interface IStyledString.IComposedStyledString extends java.lang.Iterable<IStyledString>
An iterable of
IStyledString. It is appendable.-
Method Summary
Modifier and Type Method Description IStyledString.IComposedStyledStringappend(java.lang.String str)Append the given string with no style.IStyledString.IComposedStyledStringappend(java.lang.String str, IStyledString.Style style)Append the given string with the given style.IStyledString.IComposedStyledStringappend(IStyledString.IComposedStyledString composedStyledString)Appends the given composed styled string to this.java.lang.StringgetString()Returns the Java string for this composed styled string.
-
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
java.lang.String getString()Returns the Java string for this composed styled string.- Returns:
- the Java string for this composed styled string.
-