java.lang.Object
com.tlcsdm.core.javafx.control.Borders.EtchedBorders
- 封闭类:
Borders
A fluent API that is only indirectly instantiable via the
Borders
fluent API, and which allows for an etched border
to be wrapped around a given Node.-
字段概要
字段修饰符和类型字段说明private doubleprivate doubleprivate javafx.scene.paint.Colorprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate final Bordersprivate booleanprivate javafx.scene.paint.Colorprivate Stringprivate doubleprivate double -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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().highlight(javafx.scene.paint.Color highlight) Specifies the highlight colour to use in the etched border.innerPadding(double padding) Specifies the inner padding of the four lines of this border.innerPadding(double topPadding, double rightPadding, double bottomPadding, double leftPadding) Specifies that the line wrapping the node should have inner padding as specified, with each padding being independently configured, going in the order top, right, bottom, and left.outerPadding(double padding) Specifies the outer padding of the four lines of this border.outerPadding(double topPadding, double rightPadding, double bottomPadding, double leftPadding) Specifies that the line wrapping the node should have outer padding as specified, with each padding being independently configured, going in the order top, right, bottom, and left.radius(double radius) Specifies the radius of the four corners of the lines of this border.radius(double topLeft, double topRight, double bottomRight, double bottomLeft) Specifies that the etched line wrapping the node should have corner radii as specified, with each radius being independently configured, going in the order top-left, top-right, bottom-right, and finally bottom-left.raised()Specifies the order in which the highlight and shadow colours are placed.shadow(javafx.scene.paint.Color shadow) Specifies the shadow colour to use in the etched border.If desired, this specifies the title text to show in this border.
-
字段详细资料
-
parent
-
title
-
raised
private boolean raised -
outerTopPadding
private double outerTopPadding -
outerRightPadding
private double outerRightPadding -
outerBottomPadding
private double outerBottomPadding -
outerLeftPadding
private double outerLeftPadding -
innerTopPadding
private double innerTopPadding -
innerRightPadding
private double innerRightPadding -
innerBottomPadding
private double innerBottomPadding -
innerLeftPadding
private double innerLeftPadding -
topLeftRadius
private double topLeftRadius -
topRightRadius
private double topRightRadius -
bottomRightRadius
private double bottomRightRadius -
bottomLeftRadius
private double bottomLeftRadius -
highlightColor
private javafx.scene.paint.Color highlightColor -
shadowColor
private javafx.scene.paint.Color shadowColor
-
-
构造器详细资料
-
EtchedBorders
-
-
方法详细资料
-
highlight
Specifies the highlight colour to use in the etched border. -
shadow
Specifies the shadow colour to use in the etched border. -
raised
Specifies the order in which the highlight and shadow colours are placed. A raised etched border has the shadow colour on the outside of the border, whereas a non-raised (or lowered) etched border has the shadow colour on the inside of the border. -
title
If desired, this specifies the title text to show in this border. -
outerPadding
Specifies the outer padding of the four lines of this border. -
outerPadding
public Borders.EtchedBorders outerPadding(double topPadding, double rightPadding, double bottomPadding, double leftPadding) Specifies that the line wrapping the node should have outer padding as specified, with each padding being independently configured, going in the order top, right, bottom, and left. -
innerPadding
Specifies the inner padding of the four lines of this border. -
innerPadding
public Borders.EtchedBorders innerPadding(double topPadding, double rightPadding, double bottomPadding, double leftPadding) Specifies that the line wrapping the node should have inner padding as specified, with each padding being independently configured, going in the order top, right, bottom, and left. -
radius
Specifies the radius of the four corners of the lines of this border. -
radius
public Borders.EtchedBorders radius(double topLeft, double topRight, double bottomRight, double bottomLeft) Specifies that the etched line wrapping the node should have corner radii as specified, with each radius being independently configured, going in the order top-left, top-right, bottom-right, and finally bottom-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.
-