- Enclosing class:
- 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 static interface Borders.BorderThe public interface used by the
BordersAPI to wrap nodes with zero or more Border implementations. ControlsFX ships with a few Border implementations (current
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
Borders.Borderimplementation for at least one border. In this case, you can simply call
Borders.addBorder(Border)with your custom border, when appropriate.