Interface StyleAttributeHandler<C extends RichTextArea,T>
- Type Parameters:
-
C- the actual type of RichTextArea control -
T- 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.
@FunctionalInterface public interface StyleAttributeHandler<C extends RichTextArea,T>
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 Type | Method | Description |
|---|---|---|
void |
apply |
Executes the attribute handler for the given control, cell context, and the attribute value. |
Method Details
apply
void apply(C control, CellContext cx, T value)
Executes the attribute handler for the given control, cell context, and the attribute value.
- Parameters:
-
control- the control -
cx- the cell context -
value- the attribute value
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.