- 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.
The public interface used by the
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 Borders.Border
implementation for at least one border. In this case, you can simply
call Borders.addBorder(Border)
with your custom border, when
appropriate.-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
wrap
(javafx.scene.Node n) Given aNode
, this method should return a Node that contains the original Node and also has wrapped it with an appropriate border.
-
Method Details
-
wrap
javafx.scene.Node wrap(javafx.scene.Node n) Given aNode
, this method should return a Node that contains the original Node and also has wrapped it with an appropriate border.
-