Interface FlattenerListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FlattenerListener
A listener accepting styled information from flattened components.
- Since:
- 4.7.0
-
Method Summary
-
Method Details
-
pushStyle
Begin a region of style in the component.- Parameters:
style
- the style to push- Since:
- 4.7.0
-
component
Accept the plain-text content of a single component.- Parameters:
text
- the component text- Since:
- 4.7.0
-
popStyle
Pop a pushed style.The popped style will always be the most recent un-popped style that has been
pushed
.- Parameters:
style
- the style popped, as passed topushStyle(Style)
- Since:
- 4.7.0
-