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