Interface StyleAttributeHandler<C extends RichTextArea,T>
- Type Parameters:
C
- the actual type of RichTextArea controlT
- the attribute value type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This functional interface defines a style attribute handler.
This interface is needed when extending the RichTextArea with support for other style attributes. Applications should not normally use this interface.
The purpose of this handler is to apply changes to the CellContext
based on the value
of the corresponding attribute.
- Since:
- 24
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(C control, CellContext cx, T value) Executes the attribute handler for the given control, cell context, and the attribute value.
-
Method Details
-
apply
Executes the attribute handler for the given control, cell context, and the attribute value.- Parameters:
control
- the controlcx
- the cell contextvalue
- the attribute value
-