-
- Enclosing class:
- Borders
- 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.Border
The public interface used by theBorders
API to wrap nodes with zero or more Border implementations. ControlsFX ships with a few Border implementations (currentBorders.EmptyBorders
,Borders.LineBorders
, andBorders.EtchedBorders
). As noted inBorders.addBorder(Border)
, this interface is relatively pointless, unless you plan to wrap a node with multiple borders and you want to use a customBorders.Border
implementation for at least one border. In this case, you can simply callBorders.addBorder(Border)
with your custom border, when appropriate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Node
wrap(Node n)
Given aNode
, this method should return a Node that contains the original Node and also has wrapped it with an appropriate border.
-