@FunctionalInterface
public static interface Borders.Border
Borders API to wrap nodes with
zero or more Border implementations. ControlsFX ships with a few
Border implementations (current Borders.EmptyBorders, Borders.LineBorders,
and Borders.EtchedBorders). As noted in Borders.addBorder(Border),
this interface is relatively pointless, unless you plan to wrap a node
with multiple borders and you want to use a custom Border
implementation for at least one border. In this case, you can simply
call Borders.addBorder(Border) with your custom border, when
appropriate.| Modifier and Type | Method and Description |
|---|---|
javafx.scene.Node |
wrap(javafx.scene.Node n)
Given a
Node, this method should return a Node that contains
the original Node and also has wrapped it with an appropriate border. |