java.lang.Object
com.tlcsdm.core.javafx.control.Borders.EmptyBorders
- 封闭类:
Borders
A fluent API that is only indirectly instantiable via the
Borders
fluent API, and which allows for an empty border
to be wrapped around a given Node.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()Builds theBorders.Borderandadds itto the list of borders to wrap around the given Node (which will be constructed and returned whenBorders.build()is called.javafx.scene.NodebuildAll()A convenience method, this is equivalent to callingbuild()followed byBorders.build().private javafx.scene.layout.BorderStrokepadding(double padding) Specifies that the wrapped Node should have the given padding around all four sides of itself.padding(double top, double right, double bottom, double left) Specifies that the wrapped Node should be wrapped with the given padding for each of its four sides, going in the order top, right, bottom, and finally left.
-
字段详细资料
-
parent
-
top
private double top -
right
private double right -
bottom
private double bottom -
left
private double left
-
-
构造器详细资料
-
EmptyBorders
-
-
方法详细资料
-
padding
Specifies that the wrapped Node should have the given padding around all four sides of itself. -
padding
Specifies that the wrapped Node should be wrapped with the given padding for each of its four sides, going in the order top, right, bottom, and finally left. -
build
Builds theBorders.Borderandadds itto the list of borders to wrap around the given Node (which will be constructed and returned whenBorders.build()is called. -
buildAll
public javafx.scene.Node buildAll()A convenience method, this is equivalent to callingbuild()followed byBorders.build(). In other words, calling this will return the original Node wrapped in all its borders specified. -
buildStroke
private javafx.scene.layout.BorderStroke buildStroke()
-