public static interface StyledTextNode.DecorationStrategy
| Modifier and Type | Method and Description |
|---|---|
void |
attach(StyledTextNode node,
javafx.scene.text.Text textNode)
Attach the decoration on the text
|
void |
layout(StyledTextNode node,
javafx.scene.text.Text textNode)
Layout the decoration
|
void |
unattach(StyledTextNode node,
javafx.scene.text.Text textNode)
Remove the decoration from the text
|
void attach(StyledTextNode node, javafx.scene.text.Text textNode)
node - the node the decoration is attached totextNode - the text node decoratedvoid unattach(StyledTextNode node, javafx.scene.text.Text textNode)
node - the node the decoration is attached totextNode - the text node decoratedvoid layout(StyledTextNode node, javafx.scene.text.Text textNode)
node - the node the layout pass is done ontextNode - the text node decorated