接口 Borders.Border

所有已知实现类:
Borders.StrokeBorder
封闭类:
Borders
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public static interface Borders.Border
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.
  • 方法概要

    修饰符和类型
    方法
    说明
    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.
  • 方法详细资料

    • wrap

      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.