B-1 Properties That Can Be Applied to All Nodes Type in Java

Create QR Code in Java B-1 Properties That Can Be Applied to All Nodes Type
Table B-1 Properties That Can Be Applied to All Nodes Type
Creating QR In Java
Using Barcode printer for Java Control to generate, create QR Code image in Java applications.
Cursor
Print Bar Code In Java
Using Barcode maker for Java Control to generate, create bar code image in Java applications.
Property Name
Decoding Bar Code In Java
Using Barcode decoder for Java Control to read, scan read, scan image in Java applications.
-fx-cursor
QR Code Maker In C#.NET
Using Barcode maker for .NET Control to generate, create QR Code image in Visual Studio .NET applications.
Comment
QR Code Drawer In .NET
Using Barcode maker for ASP.NET Control to generate, create QR image in ASP.NET applications.
Cursor name as defined by the Cursor class, such as HAND An effect specification as described in 23
QR-Code Generator In VS .NET
Using Barcode printer for .NET framework Control to generate, create QR Code ISO/IEC18004 image in .NET framework applications.
true or false
QR Code Generator In VB.NET
Using Barcode creation for .NET Control to generate, create QR Code image in .NET framework applications.
-fx-effect
Code-39 Encoder In Java
Using Barcode creation for Java Control to generate, create Code 39 Full ASCII image in Java applications.
Effect
Encoding Bar Code In Java
Using Barcode creation for Java Control to generate, create barcode image in Java applications.
-fx-focus-traversable -fx-opacity -fx-rotate
Creating UCC.EAN - 128 In Java
Using Barcode printer for Java Control to generate, create EAN / UCC - 14 image in Java applications.
Boolean Number Number
Bar Code Generator In Java
Using Barcode drawer for Java Control to generate, create barcode image in Java applications.
Value range is 00 to 10 inclusive Rotation angle in degrees Positive value for a clockwise rotation
Generate Data Matrix ECC200 In Java
Using Barcode generator for Java Control to generate, create DataMatrix image in Java applications.
-fx-scale-x -fx-scale-y -fx-scale-z -fx-translate-x
Generating RoyalMail4SCC In Java
Using Barcode generator for Java Control to generate, create Royal Mail Barcode image in Java applications.
Number Number Number Number
UPC Symbol Generator In .NET
Using Barcode printer for Visual Studio .NET Control to generate, create UPC A image in .NET applications.
Appendix B CSS Properties
Generating Barcode In C#.NET
Using Barcode maker for .NET Control to generate, create bar code image in .NET applications.
Table B-1
Draw Data Matrix 2d Barcode In VB.NET
Using Barcode maker for VS .NET Control to generate, create Data Matrix ECC200 image in .NET framework applications.
Properties That Can Be Applied to All Nodes (Continued) Type
ANSI/AIM Code 39 Generation In VB.NET
Using Barcode creator for .NET framework Control to generate, create Code 39 Extended image in Visual Studio .NET applications.
Number Number
UCC - 12 Scanner In .NET
Using Barcode scanner for .NET framework Control to read, scan read, scan image in Visual Studio .NET applications.
Property Name
Barcode Maker In Visual C#.NET
Using Barcode creation for Visual Studio .NET Control to generate, create barcode image in .NET applications.
-fx-translate-y -fx-translate-z
Barcode Printer In .NET
Using Barcode generator for Visual Studio .NET Control to generate, create bar code image in .NET framework applications.
Comment
Negative values move the node closer to the viewer; positive values, farther away
Group Properties
The Group node has a single property that specifies the blend mode to be used, as described in Table B-2
Table B-2 Properties That Can Be Applied to a Group Type
BlendMode
Property Name
-fx-blend-mode
Comment
The name of a blend mode, such as SRC_OVER
ImageView Properties
The ImageView class lets you specify the image to be loaded from the style sheet See Table B-3
Table B-3 Properties That Can Be Applied to an ImageView Type
Property Name
-fx-image
Comment
The URL of an image in string form, such as http://historynasagov/ap11ann/kippsphotos/ logojpg Note that the quotes are required
Text Properties
The additional CSS properties that can be applied to a Text node are listed in Table B-4
Table B-4 Properties That Can Be Applied to a Text Node Type
Font Boolean TextAlignment TextOrigin Boolean
Property Name
-fx-font -fx-strikethrough -fx-text-alignment -fx-text-origin -fx-underline
Comment
A font definition (see 23)
true or false CENTER, JUSTIFY, LEFT, or RIGHT BASELINE, BOTTOM, or TOP true or false
Properties Applicable to Shapes
Properties Applicable to Shapes
Some properties can be applied to all Shape subclassesThese properties are listed in Table B-5
Table B-5 Properties That Can Be Applied to Shapes Type
Paint
Property Name
-fx-fill
Comment
A paint specification (see 23)
true or false
-fx-smooth -fx-stroke
Boolean Paint
A paint specification (see 23) See text below
-fx-stroke-dash-array -fx-stroke-dash-offset -fx-stroke-line-cap -fx-stroke-line-join -fx-stroke-miter-limit -fx-stroke-width
Number[] Number StrokeLineCap StrokeLineJoin Number Number
ROUND, SQUARE, or BUTT ROUND, BEVEL, or MITER
The value of the -fx-stroke-dash-array property is a sequence of numbers separated by spaces, representing the lengths of the gaps and dashes in the stroke, as described in the Outline Dashing section in 16, Shapes,Text, and Images As an example, the following style sheet rule, when applied to a Rectangle, gives the result shown in Figure B-1
Figure B-1
rectangle { -fx-fill: yellow; -fx-stroke: red; -fx-stroke-width: 2;
The -fx-stroke-dash-array property
Appendix B CSS Properties
-fx-stroke-dash-offset: 8; -fx-stroke-dash-array: 2 4; }
ClipView Properties
The ClipView class lets you control its pannable variable from a style sheetTable B-6 shows the details
Table B-6 Properties That Can Be Applied to a ClipView Type
Boolean
Property Name
-fx-pannable
Comment
true or false
Rectangle Properties
You can set the width and height of the arc of the rounded corners of a Rectangle from a style sheet using the properties listed in Table B-7
Table B-7
Properties That Can Be Applied to a Rectangle Type
Number
Property Name
-fx-arc-height
Comment
The height of the rounded corner arc, or 0 for a squared corner The width of the rounded corner arc, or 0 for a squared corner
-fx-arc-width
Number
Properties Applicable to Containers
A single property, listed in Table B-8, can be applied to all containers In addition, some container subclasses have properties of their own (as covered in the following sections)
Table B-8
Properties That Can Be Applied to all Containers Type
Boolean
Property Name
-fx-snap-to-pixel
Comment
true or false
Properties Applicable to Containers
Flow Properties
Table B-9 lists the additional CSS properties for the Flow container
Table B-9 Properties That Can Be Applied to a Flow Container Type
Number HPos HPos VPos Boolean Number VPos
Property Name
-fx-hgap -fx-hpos -fx-node-hpos -fx-node-vpos -fx-vertical -fx-vgap -fx-vpos
Comment
A valid HPos value, such as CENTER A valid HPos value, such as CENTER A valid VPos value, such as CENTER
true or false
A valid VPos value, such as CENTER
HBox Properties
The HBox container provides the CSS properties listed in Table B-10
Table B-10 Properties That Can Be Applied to a Flow Container Type
HPos VPos Number VPos
Property Name
-fx-hpos -fx-node-vpos -fx-spacing -fx-vpos
Comment
A valid HPos value, such as CENTER A valid VPos value, such as CENTER
A valid VPos value, such as CENTER
Stack Properties
Table B-11 lists the CSS properties for the Stack container
Table B-11 Properties That Can Be Applied to a Stack Container Type
HPos VPos
Property Name
-fx-node-hpos -fx-node-vpos
Comment
A valid HPos value, such as CENTER A valid VPos value, such as CENTER
Appendix B CSS Properties
Table B-11
Properties That Can Be Applied to a Stack Container (Continued) Type
Number
Property Name
-fx-padding
Comment
Tile Properties
The CSS properties for the Tile container are listed in Table B-12
Table B-12 Properties That Can Be Applied to a Tile Container Type
Number Number HPos HPos VPos Number Number Number Boolean Number VPos true or false
Property Name
-fx-columns -fx-hgap -fx-hpos -fx-node-hpos -fx-node-vpos -fx-rows -fx-tile-height -fx-tile-width -fx-vertical -fx-vgap -fx-vpos
Comment
A valid HPos value, such as CENTER A valid HPos value, such as CENTER A valid VPos value, such as CENTER
A valid VPos value, such as CENTER
VBox Properties
The VBox container provides the CSS properties listed in Table B-13You can see that this property set is almost identical to that of the related HBox container
Table B-13 Properties That Can Be Applied to a VBox Container Type
HPos HPos Number VPos
Property Name
-fx-hpos -fx-node-hpos -fx-spacing -fx-vpos
Comment
A valid HPos value, such as CENTER A valid HPos value, such as CENTER
A valid VPos value, such as CENTER
Properties Applicable to Controls
Properties Applicable to Controls
Many of the JavaFX control classes provide CSS properties that you can use to configure their appearance (in addition to those inherited from the Node class listed in Table B-1) The following sections list the properties that are defined by the control classes themselves In addition to the CSS properties described here, there are others that belong to the skins that render these controls Because these properties are defined entirely by the skin in use, they are not described here If you would like to see which properties are available when the controls are skinned by the default Caspian theme, you can find a file called caspiancss in the file javafx-ui-controlsjar, which is part of the JavaFX SDK, which defines all the properties that are used Some of the properties that are used by the Caspian theme and which are applied to many of the controls are listed in Table B-14
Table B-14 Common Properties That Are Used by the Caspian Theme Type
Paint Paint
Property Name
-fx-background -fx-text-fill
Comment
A paint specification (see 23) A paint specification (see 23)
Properties Applicable to Labeled Nodes
The set of properties listed in Table B-15 apply to all controls that incorporate the Labeled mixin, such as Label, Button, and Tooltip
Table B-15 Properties That Can Be Applied to Labeled Nodes Type
Font URL
Property Name
-fx-font -fx-graphic
Comment
A font definition (see 23) The URL of an image in string form, such as http://historynasagov/ap11ann/ kippsphotos/logojpg Note that the quotes are required A valid HPos value, such as CENTER A valid VPos value, such as CENTER A number