1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 <html lang="en-US"> 3 <head> 4 <meta name="description" content="This document describes the JavaFX 5 Cascading Style Sheets (CSS) for JavaFX 8 and explains the 6 styles, values, properties and associated grammar."> 7 <meta name="keywords" content="JavaFX, JavaFX CSS, JavaFX CSS reference, 8 JavaFX CSS guide, JavaFX styling, CSS styles, CSS, cascading style sheets, 9 JavaFX GUI development, JavaFX application development"> 10 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 11 <title>JavaFX CSS Reference Guide</title> 12 <style type="text/css"> 13 body { 14 font-family: Helvetica, Arial, sans-serif; 15 font-size: 14px; 16 } 17 h1 { 18 font-size: 28px; 19 color:#385E76 20 } 21 h2 { 22 border-top: 3px dashed #DDD; 23 margin-top: 30px; 24 padding-top: 15px; 25 font-size: 22px; 26 color:#385E76 27 } 28 h3 { 29 background-color: #EEE; 30 padding: 3px; 31 font-size: 18px; 32 } 33 h4 { 34 font-size: 16px; 35 margin: 18px 0px 10px 0px; 36 } 37 ul.contents li { 38 font-size: 12px; 39 font-weight:bold; 40 list-style-type:circle; 41 margin: 3px 0px 3px 0px; 42 } 43 ul.contents li li { 44 font-weight:normal; 45 list-style-type:circle; 46 } 47 /*ul.contents a { 48 color:#000 49 }*/ 50 a { 51 text-decoration:none; 52 color:#06C 53 } 54 .csspropertytable { 55 background-color: #CCC; 56 } 57 .csspropertytable th { 58 font-size: 10px; 59 } 60 .csspropertytable td { 61 background-color:#FFF; 62 font-size: 12px; 63 } 64 /*.csspropertytable td:first-child { 65 color:#06C; 66 font-weight:bold; 67 white-space:nowrap; 68 }*/ 69 .package { 70 margin: 15px 0px 0px 0px; 71 padding: 2px; 72 background-color:#666; 73 color:#FFF; 74 font-weight:bold; 75 border:none 76 } 77 .package td { 78 background-color:#666; 79 font-size: 14px; 80 } 81 td.parents { 82 font-weight:bold; 83 color:#C00; 84 background-color:#DDD; 85 padding: 4px; 86 text-align:center; 87 font-size: 10px; 88 } 89 .propertyname { 90 color:#06C; 91 font-weight:bold; 92 white-space:nowrap; 93 } 94 td.value { 95 font-family:"Lucida Console", Monaco, monospace; 96 font-size: 10px; 97 } 98 td.default { 99 font-family:"Lucida Console", Monaco, monospace; 100 font-size: 10px; 101 text-align:center; 102 white-space:nowrap; 103 } 104 td.range { 105 font-family:"Lucida Console", Monaco, monospace; 106 font-size: 10px; 107 text-align:center; 108 white-space:nowrap; 109 } 110 td.implemented { 111 text-align:center; 112 white-space:nowrap; 113 } 114 .grammar { 115 font-family:"Lucida Console", Monaco, monospace; 116 font-size: 14px; 117 color:#039; 118 } 119 p.example { 120 font-family:"Lucida Console", Monaco, monospace; 121 font-size: 14px; 122 /* white-space: pre; */ 123 124 padding: 0px 0px 0px 40px; 125 color:#090; 126 margin: 0px; 127 } 128 span.example { 129 font-family:"Lucida Console", Monaco, monospace; 130 font-size: 14px; 131 color:#090; 132 } 133 p.subtitle { 134 font-style: italic; 135 color:#999; 136 } 137 p.styleclass { 138 font-style: italic; 139 } 140 .grammar .typelink , p .typelink , td .typelink{ 141 font-family:"Lucida Console", Monaco, monospace; 142 font-size: 14px; 143 color:#039; 144 } 145 td.value .typelink { 146 font-family:"Lucida Console", Monaco, monospace; 147 font-size: 10px; 148 color:#039; 149 } 150 151 /* Oracle FX style */ 152 .fx-code-header { 153 background: #ffffff; 154 background-image:url(fx_code_header.jpg); 155 height: 50px; 156 width: 656px; 157 } 158 159 /* Oracle FX style */ 160 .version { 161 font-family:Verdana, Arial, Helvetica, sans-serif; 162 font-size:10px; 163 padding-top:2px; 164 color:#265F7F; 165 line-height:1.2em; 166 position:relative; 167 left:425px; 168 top:10px; 169 width:200px; 170 text-align:right; 171 } 172 173 /* Color Table Styles */ 174 table.html4colortable {margin:auto; width:80%; border:none } 175 table.html4colortable TD {border:none; padding:0} 176 td .colorsquare { display:block;width:16px;height:16px;border:2px solid black } 177 </style> 178 </head> 179 <body> 180 <div class="fx-code-header"> 181 <div class="version"><br> 182 Release: JavaFX 8</div> 183 </div> 184 <h1>JavaFX CSS Reference Guide</h1> 185 <h2>Contents</h2> 186 <ul class="contents"> 187 <li><a href="#intro">Introduction</a> 188 <ul> 189 <li><a href="#introscenegraph">CSS and the JavaFX Scene Graph</a></li> 190 <li><a href="#introstylesheets">Scene, Parent and SubScene Stylesheets</a></li> 191 <li><a href="#intronaming">Naming Conventions</a></li> 192 <li><a href="#intropublicapi">CSS Public API</a></li> 193 <li><a href="#introinheritance">Inheritance</a></li> 194 <li><a href="#introatrules">@ Rules</a></li> 195 <li><a href="#introexamples">Examples</a></li> 196 <li><a href="#introparserwarnings">Understanding Parser Warnings</a></li> 197 <li><a href="#introlimitations">Limitations</a></li> 198 </ul> 199 </li> 200 <li><a href="#types">Types</a> 201 <ul> 202 <li><a href="#typeinherit">inherit</a></li> 203 <li><a href="#typeboolean"><boolean></a></li> 204 <li><a href="#typestring"><string></a></li> 205 <li><a href="#typenumber"><number> & <integer></a> </li> 206 <li><a href="#typesize"><size></a></li> 207 <li><a href="#typelength"><length></a></li> 208 <li><a href="#typepercentage"><percentage></a></li> 209 <li><a href="#typeangle"><angle></a></li> 210 <li><a href="#typeduration"><duration></a></li> 211 <li><a href="#typepoint"><point></a></li> 212 <li><a href="#typecolorstop"><color-stop></a></li> 213 <li><a href="#typeurl"><uri></a></li> 214 <li><a href="#typeeffect"><effect></a></li> 215 <li><a href="#typefont"><font></a></li> 216 <li><a href="#typepaint"><paint></a></li> 217 <li><a href="#typecolor"><color></a></li> 218 </ul> 219 </li> 220 <li><a href="#stage">Stage</a> 221 <ul> 222 <li>javafx.stage 223 <ul> 224 <li><a href="#popupwindow">PopupWindow</a></li> 225 </ul> 226 </li> 227 </ul> 228 </li> 229 <li><a href="#nodes">Nodes</a> 230 <ul> 231 <li>javafx.scene 232 <ul> 233 <li><a href="#group">Group</a></li> 234 <li><a href="#node">Node</a></li> 235 <li><a href="#parent">Parent</a></li> 236 <li><a href="#scene">Scene</a></li> 237 </ul> 238 </li> 239 </ul> 240 <ul> 241 <li>javafx.scene.image 242 <ul> 243 <li><a href="#imageview">ImageView</a></li> 244 </ul> 245 </li> 246 </ul> 247 <ul> 248 <li>javafx.scene.layout 249 <ul> 250 <li><a href="#anchorpane">AnchorPane</a></li> 251 <li><a href="#border">BorderPane</a></li> 252 <li><a href="#dialogpane">DialogPane</a></li> 253 <li><a href="#flowpane">FlowPane</a></li> 254 <li><a href="#gridpane">GridPane</a></li> 255 <li><a href="#hbox">HBox</a></li> 256 <li><a href="#pane">Pane</a></li> 257 <li><a href="#region">Region</a></li> 258 <li><a href="#stackpane">StackPane</a></li> 259 <li><a href="#tilepane">TilePane</a></li> 260 <li><a href="#vbox">VBox</a></li> 261 </ul> 262 </li> 263 </ul> 264 <ul> 265 <li>javafx.scene.media 266 <ul> 267 <li><a href="#mediaview">MediaView</a></li> 268 </ul> 269 </li> 270 </ul> 271 <ul> 272 <li>javafx.scene.shape 273 <ul> 274 <li><a href="#shape">Shape</a></li> 275 <li><a href="#arc">Arc</a></li> 276 <li><a href="#circle">Circle</a></li> 277 <li><a href="#cubiccurve">CubicCurve</a></li> 278 <li><a href="#ellipse">Ellipse</a></li> 279 <li><a href="#line">Line</a></li> 280 <li><a href="#path">Path</a></li> 281 <li><a href="#polygon">Polygon</a></li> 282 <li><a href="#quadcurve">QuadCurve</a></li> 283 <li><a href="#rectangle">Rectangle</a></li> 284 <li><a href="#svgpath">SVGPath</a></li> 285 </ul> 286 </li> 287 </ul> 288 <ul> 289 <li>javafx.scene.text 290 <ul> 291 <li><a href="#text">Text</a></li> 292 </ul> 293 </li> 294 </ul> 295 <ul> 296 <li>javafx.scene.web 297 <ul> 298 <li><a href="#webview">WebView</a></li> 299 </ul> 300 </li> 301 </ul> 302 </li> 303 <li><a href="#controls">Controls</a> 304 <ul> 305 <li>javafx.scene.control 306 <ul> 307 <li><a href="#accordion">Accordion</a></li> 308 <li><a href="#button">Button</a></li> 309 <li><a href="#buttonbase">ButtonBase</a></li> 310 <li><a href="#cell">Cell</a></li> 311 <li><a href="#checkbox">CheckBox</a></li> 312 <li><a href="#checkmenuitem">CheckMenuItem</a></li> 313 <li><a href="#choicebox">ChoiceBox</a></li> 314 <li><a href="#colorpicker">ColorPicker</a></li> 315 <li><a href="#combobox">ComboBox</a></li> 316 <li><a href="#contextmenu">ContextMenu</a></li> 317 <li><a href="#control">Control</a></li> 318 <li><a href="#datepicker">DatePicker</a></li> 319 <li><a href="#htmleditor">HTMLEditor</a></li> 320 <li><a href="#hyperlink">Hyperlink</a></li> 321 <li><a href="#indexedcell">IndexedCell</a></li> 322 <li><a href="#label">Label</a></li> 323 <li><a href="#labeled">Labeled</a></li> 324 <li><a href="#listcell">ListCell</a></li> 325 <li><a href="#listview">ListView</a></li> 326 <li><a href="#menu">Menu</a></li> 327 <li><a href="#menubar">MenuBar</a></li> 328 <li><a href="#menubutton">MenuButton</a></li> 329 <li><a href="#menuitem">MenuItem</a></li> 330 <li><a href="#menuitembase">MenuItemBase</a></li> 331 <li><a href="#pagination">Pagination</a></li> 332 <li><a href="#passwordfield">PasswordField</a></li> 333 <li><a href="#progressbar">ProgressBar</a></li> 334 <li><a href="#progressindicator">ProgressIndicator</a></li> 335 <li><a href="#radiobutton">RadioButton</a></li> 336 <li><a href="#radiomenuitem">RadioMenuItem</a></li> 337 <li><a href="#scrollbar">ScrollBar</a></li> 338 <li><a href="#scrollpane">ScrollPane</a></li> 339 <li><a href="#separator">Separator</a></li> 340 <li><a href="#spinner">Spinner</a></li> 341 <li><a href="#slider">Slider</a></li> 342 <li><a href="#splitmenubutton">SplitMenuButton</a></li> 343 <li><a href="#splitpane">SplitPane</a></li> 344 <li><a href="#tabpane">TabPane</a></li> 345 <li><a href="#tablecolumnheader">TableColumnHeader</a></li> 346 <li><a href="#tableview">TableView</a></li> 347 <li><a href="#text-area">TextArea</a></li> 348 <li><a href="#textinputcontrol">TextInputControl</a></li> 349 <li><a href="#textfield">TextField</a></li> 350 <li><a href="#titledpane">TitledPane</a></li> 351 <li><a href="#togglebutton">ToggleButton</a></li> 352 <li><a href="#toolbar">ToolBar</a></li> 353 <li><a href="#tooltip">Tooltip</a></li> 354 <li><a href="#treecell">TreeCell</a></li> 355 <li><a href="#treetablecell">TreeTableCell</a></li> 356 <li><a href="#treetableview">TreeTableView</a></li> 357 <li><a href="#treeview">TreeView</a></li> 358 <li><a href="#webview">WebView</a></li> 359 </ul> 360 </li> 361 </ul> 362 </li> 363 <li><a href="#charts">Charts</a> 364 <ul> 365 <li> javafx.scene.chart 366 <ul> 367 <li><a href="#areachart">AreaChart</a> </li> 368 <li><a href="#axis">Axis</a> </li> 369 <li><a href="#barchart">BarChart</a> </li> 370 <li><a href="#bubblechart">BubbleChart</a> </li> 371 <li><a href="#categoryaxis">CategoryAxis</a> </li> 372 <li><a href="#chart">Chart</a> </li> 373 <li><a href="#legend">Legend</a> </li> 374 <li><a href="#linechart">LineChart</a> </li> 375 <li><a href="#numberaxis">NumberAxis</a> </li> 376 <li><a href="#piechart">PieChart</a> </li> 377 <li><a href="#scatterchart">ScatterChart</a> </li> 378 <li><a href="#valueaxis">ValueAxis</a> </li> 379 <li><a href="#xychart">XYChart</a> </li> 380 </ul> 381 </li> 382 </ul> 383 </li> 384 <li><a href="#references">References</a></li> 385 </ul> 386 <h2><a name="intro" id="intro">Introduction</a></h2> 387 <p> 388 Never has styling a Java UI been easier than with JavaFX and Cascading Style Sheets (CSS). Going from one 389 theme to another, or customizing the look of just one control, can all be done through CSS. To the novice, 390 this may be unfamiliar territory; but the learning curve is not that great. Give CSS styling a try and the 391 benefits will soon be apparent. You can also split the design and development workflow, or defer design 392 until later in the project. Up to the last minute changes, and even post-deployment changes, in the UI's 393 look can be achieved through JavaFX CSS. 394 </p> 395 <p> 396 The structure of this document is as follows. First, there is a 397 description of all value types for JavaFX CSS properties.Where 398 appropriate, this includes a grammar for the syntax of values of that 399 type. Then, for each scene‑graph node that supports CSS styles, a table is 400 given that lists the properties that are supported, along with type and 401 semantic information. The pseudo‑classes for each class are also given. 402 The description of CSS properties continues for the controls. For each 403 control, the substructure of that control's skin is given, along with the 404 style‑class names for the Region objects that implement that substructure. 405 </p> 406 <h3><a name="introscenegraph" id="introscenegraph">CSS and the JavaFX Scene Graph</a></h3> 407 <p> 408 JavaFX Cascading Style Sheets (CSS) is based on the W3C CSS version 2.1 <a href="#references">[1]</a> 409 with some additions from current work on version 3 <a href="#references">[2]</a>. 410 JavaFX CSS also has some extensions to CSS in support of specific JavaFX 411 features. The goal for JavaFX CSS is to allow web developers already 412 familiar with CSS for HTML to use CSS to customize and develop themes for 413 JavaFX controls and scene‑graph objects in a natural way. 414 </p> 415 <p> 416 JavaFX has a rich set of extensions to CSS in support of features such as 417 color derivation, property lookup, and multiple background colors and 418 borders for a single node. These features add significant new power for 419 developers and designers and are described in detail in this document. 420 </p> 421 422 <p> 423 To the extent possible, JavaFX CSS follows the W3C standards; however, with few exceptions, JavaFX 424 property names have been prefixed with a vendor extension of "-fx-". Even if these properties seem to be 425 compatible with standard HTML CSS, JavaFX CSS processing assumes that the property values 426 make use of JavaFX CSS extensions. 427 </p> 428 429 <p>CSS styles are applied to nodes in the JavaFX scene‑graph in a way 430 similar to the way CSS styles are applied to elements in the HTML DOM. 431 Styles are first applied to the parent, then to its children. The code is 432 written such that only those branches of the scene‑graph that might need 433 CSS reapplied are visited. A node is styled after it is added to the scene 434 graph. Styles are reapplied when there is a change to the node's 435 pseudo‑class state, style‑class, id, inline style, or parent, or stylesheets 436 are added to or removed from the scene. Note that the Node must be in the 437 scene‑graph for CSS to be applied. The Node does not have 438 to be shown, but must have a non‑null value for its sceneProperty. See 439 <a href="../../../javafx/scene/Node.html#applyCss--">applyCss</a> for more details.</p> 440 441 <p> 442 During a normal scene‑graph pulse, CSS styles are applied before the scene‑graph is 443 laid out and painted. Styles for events that trigger a pseudo‑class state change, 444 such as MouseEvent.MOUSE_ENTERED which triggers the "hover" state, are 445 applied on the next pulse following the event. 446 </p> 447 <p> 448 <a href="http://www.w3.org/TR/css3-selectors/">CSS selectors</a> are used to match styles to scene‑graph 449 nodes. 450 The relationship of a Node to a CSS selector is as follows: 451 <ul> 452 <li> 453 Node's <a href="../../../javafx/scene/Node.html#getTypeSelector--">getTypeSelector</a> method returns a 454 String which is analogous to a CSS <a href="http://www.w3.org/TR/css3-selectors/#type-selectors">Type 455 Selector</a>. 456 By default, this method returns the simple name of the class. Note that the simple name of an inner class 457 or of an anonymous class may not be usable as a type selector. In such a case, this method should be 458 overridden to return 459 a meaningful value. 460 </li> 461 <li> 462 Each node in the scene‑graph has a <a href="../../../javafx/scene/Node.html#getStyleClass--">styleClass 463 property</a>. 464 Note that a node may have more than one style‑class. 465 A Node's styleClass is analogous to the class="..." attribute that can 466 appear on HTML elements. See <a href="http://www.w3.org/TR/css3-selectors/#class-html">Class Selectors</a>. 467 </li> 468 <li> 469 Each node in the scene‑graph has an <strong>id</strong> variable, a 470 string. This is analogous to the id="..." attribute that can appear HTML 471 elements. See <a href="http://www.w3.org/TR/css3-selectors/#id-selectors">ID Selectors</a>. 472 </li> 473 </ul> 474 <p> 475 JavaFX CSS also supports pseudo‑classes, but does not implement the full range of pseudo‑classes as 476 specified in <a href="http://www.w3.org/TR/css3-selectors/#pseudo-classes">Pseudo‑classes</a>. The pseudo‑classes 477 supported by each Node type are given in the tables within this reference. Note that JavaFX does not currently 478 support structural pseudo‑classes. 479 </p> 480 <p> 481 Each node honors a set of properties that depends on the node's JavaFX 482 class (as distinct from its styleClass). The properties honored by each 483 node class are shown in detail in tables later in this document. The 484 property value that is actually applied depends on the precedence of the 485 origin of the rule, as described above, as well as the specificity of the 486 rule's selector as described in CSS 2 <a href="cssref.html#references">[1]</a> 487 . Ultimately, a property value string is converted into a JavaFX value of 488 the appropriate type and is then assigned to an instance variable of the 489 JavaFX object. 490 </p> 491 <h3><a name="introstylesheets" id="introstylesheets">Scene, Parent and SubScene Stylesheets</a></h3> 492 <p> 493 CSS styles can come from style sheets or inline styles. Style sheets are 494 loaded from the URLs specified in the 495 <a href="../../../javafx/scene/Scene.html#getStylesheets--">getStylesheets</a> 496 property of the Scene object. If the scene‑graph contains a Control, a 497 default user agent style sheet is loaded. Inline styles are specified via 498 the Node <span style="font-weight: bold;">setStyle</span> API. Inline 499 styles are analogous to the style="..." attribute of an HTML element. 500 Styles loaded from a Scene's style sheets take precedence over selectors from 501 the user agent style sheet. Inline styles take precedence over 502 styles originating elsewhere. The precedence order of style selectors can be 503 modified using "!important" in a style declaration. 504 </p> 505 <p> 506 Beginning with JavaFX 2.1, the Parent class has a 507 <a href="../../../javafx/scene/Parent.html#getStylesheets--">getStylesheets</a> property, 508 allowing style sheets to be set on a container. This allows for one branch 509 of of the scene‑graph to have a distinct set of styles. Any instance of 510 Parent can have style sheets. A child will take its styles from its own 511 inline styles, the style sheets of all its ancestors, and any style sheets 512 from the Scene. 513 </p> 514 <p> 515 Beginning with JavaFX 8u20, the Scene class has a 516 <a href="../../../javafx/scene/Scene.html#getUserAgentStylesheet--">getUserAgentStylesheet</a> property, 517 allowing a user‑style sheet to be set on a Scene. This allows a Scene 518 to have a set of user‑agent styles distinct from the platform default. When a user‑agent 519 stylesheet is set on a Scene, the user‑agent styles are used instead of the styles from the 520 platform default user‑agent stylesheet. 521 </p> 522 <p> 523 Beginning with JavaFX 8u20, the SubScene class has a 524 <a href="../../../javafx/scene/SubScene.html#getUserAgentStylesheet--">getUserAgentStylesheet</a> property, 525 allowing a user‑style sheet to be set on a SubScene. This allows a SubScene 526 of the scene‑graph to have set of user‑agent styles distinct from the platform default 527 or from the Scene in which the SubScene is contained. When a user‑agent 528 stylesheet is set on a SubScene, the user‑agent styles are used instead of the styles from the 529 platform default user‑agent stylesheet or any user‑agent stylesheet set on the Scene. 530 </p> 531 <p>It is important to note that styles from a stylesheet added to a Scene or Parent, do not affect 532 a SubScene which is a child or descendent of the Scene or Parent. Unless a user‑agent has 533 been set on the SubScene, the SubScene will get styles 534 from the a Scene's user‑agent stylesheet or the platform user‑agent stylesheet.</p> 535 The implementation allows designers to style an application by using style 536 sheets to override property values set from code. For example, a call to <code>rectangle.setFill(Color.YELLOW)</code> 537 can be overridden by an inline‑style or a style from an author stylesheet. This has implications for 538 the cascade; particularly, when does a style from a style sheet override a 539 value set from code? The JavaFX CSS implementation applies the following 540 order of precedence: <cite>a style from a user agent style sheet has lower 541 priority than a value set from code, which has lower priority than a Scene 542 or Parent style sheet. Inline styles have highest precedence. Style sheets 543 from a Parent instance are considered to be more specific than those styles 544 from Scene style sheets.</cite> 545 <h3><a name="intronaming" id="introsnaming">Naming Conventions</a></h3> 546 <p>Naming conventions have been established for deriving CSS style‑class 547 names from JavaFX class names, and for deriving CSS property names from 548 JavaFX variable names. Note that this is only a naming convention; there 549 is no automatic name conversion. Most JavaFX names use "camel case," that 550 is, mixed case names formed from compound words, where the initial letter 551 of each sub-word is capitalized. Most CSS names in the HTML world are all 552 lower case, with compound words separated by hyphens. The convention is 553 therefore to take JavaFX class names and form their corresponding CSS 554 style‑class name by separating the compound words with hyphens and 555 convering the letters to all lower case. For example, the JavaFX 556 ToggleButton class would have a style‑class of "toggle-button". The 557 convention for mapping JavaFX variable names to CSS property names is 558 similar, with the addition of the "-fx-" prefix. For example, the 559 blendMode variable would have a corresponding CSS property name of 560 "-fx-blend-mode". </p> 561 <h3><a name="intropublicapi" id="intropublicapi">CSS Public API</a></h3> 562 Beginning with JavaFX 8.0, public API is available for developers to create styleable properties and manage 563 pseudo-class state. Refer to <a href="../../../javafx/css/package-summary.html">javafx.css</a> for details. 564 <h3><a name="introinheritance" id="introinheritance">Inheritance</a></h3> 565 <p>CSS also provides for certain properties to be inherited by default, or 566 to be inherited if the property value is 'inherit'. If a value is 567 inherited, it is inherited from the computed value of the element's parent 568 in the document tree. In JavaFX, inheritance is similar, except that 569 instead of elements in the document tree, inheritance occurs from parent 570 nodes in the scene‑graph. </p> 571 <p>The following properties inherit by default. Any property can be made to 572 inherit by giving it the value <a href="#typeinherit" class="typelink">"inherit"</a>.</p> 573 <table summary="property table" style="width: 100%;" border="1"> 574 <caption><br> 575 </caption> <colgroup><col> <col> <col> <col> </colgroup> 576 <tbody> 577 <tr> 578 <th>Class</th> 579 <th>Property</th> 580 <th>CSS Property</th> 581 <th>Initial Value</th> 582 </tr> 583 <tr> 584 <td>javafx.scene.Node</td> 585 <td>cursor</td> 586 <td>-fx-cursor</td> 587 <td>javafx.scene.Cursor.DEFAULT</td> 588 </tr> 589 <tr> 590 <td>javafx.scene.text.Text</td> 591 <td>textAlignment</td> 592 <td>-fx-text-alignment</td> 593 <td>javafx.scene.text.TextAlignment.LEFT</td> 594 </tr> 595 <tr> 596 <td>javafx.scene.text.Font</td> 597 <td>font</td> 598 <td>-fx-font, -fx-font-family, -fx-font-size, -fx-font-weight, -fx-font-style</td> 599 <td>Font.DEFAULT (12px system)</td> 600 </tr> 601 </tbody> 602 </table> 603 <p>Within the hierarchy of JavaFX classes (for example, Rectangle is a 604 subclass of Shape, which in turn is a subclass of Node), the CSS 605 properties of an ancestor are also CSS properties of the descendant. This 606 means that a subclass will respond to the same set of properties as its 607 ancestor classes, and to additional properties it defines itself. So, a 608 Shape supports all the properties of Node plus several more, and Rectangle 609 supports all the properties of Shape plus a couple more. However, because 610 using a JavaFX class name as a type selector is an exact match, providing 611 style declarations for a Shape will not cause a Rectangle to use those 612 values (unless the .css value for the Rectangle's property is "inherit").</p> 613 <p>For font inheritance, the CSS engine looks <span style="font-style:italic;">only</span> for the styles in the table above. When 614 looking for a font to inherit, the search 615 terminates at any node that has a Font property that was set by the user. The user-set font is 616 inherited provided there is not an author or an inline-style that applies specifically to that node. 617 In this case, the inherited font is created from the user-set font and any parts of the applicable 618 author or in-line style. 619 <h3><a name="introatrules" id="introatrules">@ Rules</a></h3> 620 <p> 621 Beginning with JavaFX 8u20, the CSS 622 <a href="http://www.w3.org/TR/CSS21/cascade.html#at-import">@import</a> is also partially supported. 623 Only unconditional import is supported. In other words, the media‑type qualifier is not supported. 624 Also, the JavaFX CSS parser is non-compliant with regard to where an @import may appear within a stylesheet 625 (see <a href="http://www.w3.org/TR/CSS21/syndata.html#at-rules">At‑rules</a>). 626 Users are cautioned that this will be fixed in a future release. Adherence to the W3C standard is strongly advised. 627 </p> 628 <p>Since JavaFX 8, the implementation partially supports the CSS3 syntax to load a font from a URL using the 629 <a href="http://www.w3.org/TR/css3-fonts/#the-font-face-rule">@font‑face</a> rule:</p> 630 <textarea rows="8" cols="132"> 631 632 @font-face { 633 font-family: 'sample'; 634 font-style: normal; 635 font-weight: normal; 636 src: local('sample'), url('http://font.samples/resources/sample.ttf';) format('truetype'); 637 } 638 </textarea> 639 <p>This allows public resources for fonts to be used in a JavaFX application. For example, assume the URL 640 "http://font.samples/web?family=samples" returns the @font‑face rule given above. Then the 641 following code shows how the sample font could be used in a JavaFX application.</p> 642 <textarea rows="20" cols="132"> 643 644 import javafx.application.Application; 645 import javafx.scene.Scene; 646 import javafx.scene.control.Label; 647 import javafx.stage.Stage; 648 649 public class HelloFontFace extends Application { 650 @Override public void start(Stage primaryStage) { 651 Label label = new Label("Hello @FontFace"); 652 label.setStyle("-fx-font-family: sample; -fx-font-size: 80;"); 653 Scene scene = new Scene(label); 654 scene.getStylesheets().add("http://font.samples/web?family=samples"); 655 primaryStage.setTitle("Hello @FontFace"); 656 primaryStage.setScene(scene); 657 primaryStage.show(); 658 } 659 660 public static void main(String[] args) { launch(args); } 661 } 662 </textarea> 663 <p>Or, the URL could be imported into a stylesheet with the @import rule.</p> 664 <p>Although the parser will parse the syntax, all @font‑face descriptors are ignored except for 665 the <code>src</code> descriptor. The <code>src</code> descriptor is expected to be a 666 <a href="#typeurl" class="typelink"><url></a>. The <code>format</code> hint is ignored.</p> 667 <h3><a name="introexamples" id="introexamples">Examples</a></h3> 668 <p>Consider the following simple JavaFX application: </p> 669 <p class="example">Scene scene = new Scene(new Group()); <br> 670 scene.getStylesheets().add(“test.css”); <br> 671 Rectangle rect = new Rectangle(100,100); <br> 672 rect.setLayoutX(50); <br> 673 rect.setLayoutY(50); <br> 674 rect.getStyleClass().add("my-rect"); <br> 675 ((Group)scene.getRoot()).getChildren().add(rect); </p> 676 <p>Without any styles, this will display a plain black rectangle. If 677 test.css contains the following: </p> 678 <p class="example">.my-rect { -fx-fill: red; }</p> 679 <p>the rectangle will be red instead of black: </p> 680 <p><img src="cssexample1.png" alt="A rectangle with red fill"></p> 681 <p>If test.css contains the following: </p> 682 <p class="example">.my-rect {<br> 683 -fx-fill: yellow;<br> 684 -fx-stroke: green;<br> 685 -fx-stroke-width: 5;<br> 686 -fx-stroke-dash-array: 12 2 4 2;<br> 687 -fx-stroke-dash-offset: 6;<br> 688 -fx-stroke-line-cap: butt;<br> 689 }<br> 690 </p> 691 <p>the result will be a yellow rectangle with a nicely dashed green border: 692 </p> 693 <p><img src="cssexample2.png" alt="A rectangle with yellow fill and a green, dashed border"></p> 694 <h3><a name="introparserwarnings" id="introparserwarnings">Understanding 695 Parser Warnings</a></h3> 696 <p>When the JavaFX CSS parser encounters a syntax error, a warning message 697 is emitted which conveys as much information as is available to help 698 resolve the error. For example </p> 699 <p class="example"> WARNING: javafx.css.CssParser declaration 700 Expected '<percent>' while parsing '-fx-background-color' at ?[1,49] 701 </p> 702 <p>The cryptic '<span class="p example">?[1,49]</span>' pertains to the 703 location of the error. The format of the location string is </p> 704 <p class="grammar"><url>[line, position]</p> 705 <p>If the error is found while parsing a file, the file URL will be given. 706 If the error is from an inline style (as in the example above), the URL is 707 given as a question mark. The line and position give an offset into the 708 file or string where the token begins. <em>Please note that the line and 709 position may not be accurate in releases prior to JavaFX 2.2.</em><br> 710 </p> 711 <p>Applications needing to detect errors from the parser can add a listener 712 to the errors property of javafx.css.CssParser. <br> 713 </p> 714 <h3><a name="introlimitations" id="introlimitations">Limitations</a></h3> 715 <ol> 716 <li> While the JavaFX CSS parser will parse valid CSS syntax, it is not a 717 fully compliant CSS parser. One should not expect the parser to handle 718 syntax not specified in this document.</li> 719 <li>With the exception of @font‑face and @import, @-keyword statements are ignored.</li> 720 <li>The <media-query-list> of the @import statement is not parsed.</li> 721 <li>The structural pseudo‑classes are not supported. </li> 722 <li>The ":active" and ":focus" dynamic pseudo‑classes are not supported. 723 However, <a href="#node">Nodes</a> do support the ":pressed" and 724 ":focused" pseudo‑classes, which are similar. </li> 725 <li>The ":link" and ":visited" pseudo‑classes are not supported in general. 726 However, <a href="#hyperlink">Hyperlink</a> objects can be styled, and 727 they support the ":visited" pseudo‑class. </li> 728 <li>JavaFX CSS does not support comma-separated series of font family names 729 in the -fx-font-family property. The optional line height parameter when 730 specifying fonts is not supported. There is no equivalent for the 731 font-variant property.</li> 732 <li>JavaFX CSS uses the HSB color model instead of the HSL color model. </li> 733 <li>If a property of a node is initialized by calling the set method of the 734 property, the CSS implementation will see this as a user set value and the 735 value will not be overwritten by a style from a user agent style 736 sheet.</li> 737 <li>When parsing a <a href="http://www.w3.org/TR/CSS2/syndata.html#uri">URI</a>, 738 the parser doesn't handle URI escapes nor \<hex-digit>[1,6] code points.</li> 739 </ol> 740 <h2><a name="types" id="types">Types</a></h2> 741 <h3><a name="typeinherit" id="typeinherit">inherit</a></h3> 742 <p>Each property has a type, which determines what kind of value and the 743 syntax for specifying those values. In addition, each property may have a 744 specified value of 'inherit', which means that, for a given node, the 745 property takes the same computed value as the property for the node's 746 parent. The 'inherit' value can be used on properties that are not 747 normally inherited. 748 </p> 749 <p>If the 'inherit' value is set on the root element, the property is 750 assigned its initial value.</p> 751 <h3><a name="typeboolean" id="typeboolean"><boolean></a></h3> 752 <p>Boolean values can either have the string value of "true" or "false", the 753 values are case insensitive as all CSS is case insensitive.</p> 754 <h3><a name="typestring" id="typestring"><string></a></h3> 755 <p>Strings can either be written with double quotes or with single quotes. 756 Double quotes cannot occur inside double quotes, unless escaped (e.g., as 757 '\"' or as '\22'). Analogously for single quotes (e.g., "\'" or "\27").</p> 758 <p class="example">"this is a 'string'"<br> 759 "this is a \"string\""<br> 760 'this is a "string"'<br> 761 'this is a \'string\''</p> 762 <p>A string cannot directly contain a newline. To include a newline in a 763 string, use an escape representing the line feed character in ISO-10646 764 (U+000A), such as "\A" or "\00000a". This character represents the generic 765 notion of "newline" in CSS. See the 'content' property for an example.</p> 766 <h3><a name="typenumber" id="typenumber"><number> & 767 <integer></a></h3> 768 <p>Some value types may have integer values (denoted by <integer>) or 769 real number values (denoted by <number>). Real numbers and integers 770 are specified in decimal notation only. An <integer> consists of one 771 or more digits "0" to "9". A <number> can either be an 772 <integer>, or it can be zero or more digits followed by a dot (.) 773 followed by one or more digits. Both integers and real numbers may be 774 preceded by a "-" or "+" to indicate the sign. -0 is equivalent to 0 and 775 is not a negative number.</p> 776 <p class="grammar">[+|-]? [[0-9]+|[0-9]*"."[0-9]+]</p> 777 <p>Note that many properties that allow an integer or real number as a value 778 actually restrict the value to some range, often to a non-negative value.</p> 779 <h3><a name="typesize" id="typesize"><size></a></h3> 780 <p>A size is a <a href="#typenumber" class="typeref"><number></a> 781 with units of <a href="#typelength" class="typeref"><length></a> or 782 <a href="#typepercentage" class="typeref"><percentage></a>. If a unit 783 is not specified then 'px' is assumed.</p> 784 <h4><a name="typelength" id="typelength"><length></a></h4> 785 <p class="grammar"><a href="#typenumber"><number></a>[ px | mm | cm | 786 in | pt | pc | em | ex ]?</p> 787 <p>No whitespace is allowed between the number and units if provided. Some 788 units are relative and others absolute. </p> 789 <p><strong>Relative</strong></p> 790 <ul> 791 <li><strong>px</strong>: pixels, relative to the viewing device</li> 792 <li><strong>em</strong>: the 'font-size' of the relevant font</li> 793 <li><strong>ex</strong>: the 'x-height' of the relevant font</li> 794 </ul> 795 <p><strong>Absolute</strong></p> 796 <ul> 797 <li><strong>in</strong>: inches — 1 inch is equal to 2.54 798 centimeters.</li> 799 <li><strong>cm</strong>: centimeters</li> 800 <li><strong>mm</strong>: millimeters</li> 801 <li><strong>pt</strong>: points — the points used by CSS 2.1 are 802 equal to 1/72nd of an inch.</li> 803 <li><strong>pc</strong>: picas — 1 pica is equal to 12 points.</li> 804 </ul> 805 <h4><a name="typepercentage" id="typepercentage"><percentage></a></h4> 806 <p>These are a percentage of some length, typically to the width or height 807 of a node.</p> 808 <p class="grammar"><a href="#typenumber"><number></a>[ % ]</p> 809 <h3><a name="typeangle" id="typeangle"><angle></a></h3> 810 <p>An angle is a <a href="#typenumber" class="typeref"><number></a> 811 with one of the following units.</p> 812 <p> </p> 813 <p class="grammar"><a href="#typenumber"><number></a>[ deg | rad | 814 grad | turn ]</p> 815 <ul> 816 <li><strong>deg</strong>: angle in degrees — all other angle units are 817 converted to degrees.</li> 818 <li><strong>rad</strong>: angle in radians</li> 819 <li><strong>grad</strong>: angle in gradians</li> 820 <li><strong>turn</strong>: angle in turns</li> 821 </ul> 822 <h3><a name="typeduration" id="typeduration"><duration></a></h3> 823 <p>A duration is a <a href="#typenumber" class="typeref"><number></a> 824 with second or millisecond units, or the value <span class="grammar">indefinite</span>.</p> 825 <p> </p> 826 <p class="grammar">[<a href="#typenumber"><number></a>[ s | ms ]] | indefinite</p> 827 <ul> 828 <li><strong>s</strong>: duration in seconds</li> 829 <li><strong>ms</strong>: duration in milliseconds. One second is 1000 milliseconds.</li> 830 <li><strong>indefinite</strong>: See <a href="../../util/Duration.html#INDEFINITE" class="typelink">Duration.INDEFINITE</a></li> 831 </ul> 832 <p>See also <a href="http://www.w3.org/TR/css3-values/#time" class="typelink">W3C time units</a>.</p> 833 <h3><a name="typepoint" id="typepoint"><point></a></h3> 834 <p>A point is an {x,y} coordinate.</p> 835 <p class="grammar">[ [ <length> <length> ] | [ 836 <percentage> | <percentage> ] ]</p> 837 <h3><a name="typecolorstop" id="typecolorstop"><color-stop></a></h3> 838 <p>Stops are per <a href="http://dev.w3.org/csswg/css3-images/#color-stop-syntax." 839 class="typelink">W3C 840 color-stop syntax</a>.</p> 841 <p class="grammar">[ <a href="#typecolor" class="typeref"><color></a> 842 [ <a href="#typepercentage" class="typeref"><percentage></a> | <a 843 href="#typelength" 844 class="typeref"><length></a>]? 845 ]</p> 846 <p>In a series of <color-stop>, stop distance values must all be 847 <percentage> or <length>. Furthermore, if <length> 848 values are used, then the distance value for first and last stop in the 849 series must be specified. This restriction may be removed in a future 850 release.</p> 851 <p>"<span style="color: #009900; ">red, white 70%, blue</span>" is valid since the 852 distance for red and blue is assumed to be 0% and 100%, respectively.</p> 853 <p>"<span style="color: #009900; ">red 10, white, blue 90</span>" is valid. Because 854 distance for red and blue is 10 and 90, respectively, the distance for 855 white can be calculated.</p> 856 <p>"<span style="color: #009900; ">red, white 70, blue</span>" is <span style="font-style:italic;">not</span> valid 857 since distance units do not agree.</p> 858 <p>"<span style="color: #009900; ">red, white, blue</span>" is valid. The stops are 859 distributed evenly between 0% and 100%.</p> 860 <h3><a name="typeurl" id="typeurl"><uri></a></h3> 861 <p class="grammar">url ( [\"\']? <address> [\"\']? )</p> 862 <p><span class="grammar"><address></span> is a hierarchical URI of the form [scheme:][//authority][path] <a href="#references">(see [2])</a>. 863 For example:</p> 864 <p class="example"> 865 url(http://example.com/images/Duke.png)<br> 866 url(/com/example/javafx/app/images/Duke.png)<br> 867 </p> 868 <p>If the <span class="grammar"><address></span> does not have a [scheme:] component, the <span class="grammar"><address></span> 869 is considered to be the [path] component only. 870 A leading '/' character indicates that the [path] is relative to the 871 root of the classpath. If the the style appears in a stylesheet and 872 has no leading '/' character, the path is relative to the base URI of 873 the stylesheet. If the style appears in an inline style, the path is 874 relative to the root of the classpath (regardless of whether or not 875 there is a leading '/'). 876 </p> 877 <table class="csspropertytable" cellspacing="3" cellpadding="4"> 878 <caption>Examples of Resolving URLs in Stylesheets</caption> 879 <tr> 880 <th>Stylesheet URL</th><th>URL in Style</th><th>Resolves to</th> 881 </tr> 882 <tr> 883 <td>file:///some/path/build/classes/com/mycompany/myapp/mystyles.css</td> 884 <td>url(images/Duke.png)</td> 885 <td>file:///some/path/build/classes/com/mycompany/myapp/images/Duke.png</td> 886 </tr> 887 <tr> 888 <td>file:///some/path/build/classes/com/mycompany/myapp/mystyles.css</td> 889 <td>url(../images/Duke.png)</td> 890 <td>file:///some/path/build/classes/com/mycompany/images/Duke.png</td> 891 </tr> 892 <tr> 893 <td>jar:file:/some/path/build/myapp.jar!/com/mycompany/myapp/mystyles.css</td> 894 <td>url(images/Duke.png)</td> 895 <td>jar:file:/some/path/build/myapp.jar!/com/mycompany/myapp/images/Duke.png</td> 896 </tr> 897 </table> 898 <p></p> 899 <table class="csspropertytable" cellspacing="3" cellpadding="4"> 900 <caption>Examples of Resolving URLs in Inline Styles</caption> 901 <tr> 902 <th>Classpath</th><th>URL in Style</th><th>Resolved URL</th> 903 </tr> 904 <tr> 905 <td>file:///some/path/build/classes</td> 906 <td>url(/com/mycompany/resources/images/Duke.png)</td> 907 <td>file:///some/path/build/classes/com/mycompany/resources/images/Duke.png</td> 908 </tr> 909 <tr> 910 <td>file:///some/path/build/myapp.jar</td> 911 <td>url(/com/mycompany/resources/images/Duke.png)</td> 912 <td>jar:file:/some/path/build/myapp.jar!/com/mycompany/resources/images/Duke.png</td> 913 </tr> 914 </table> 915 <p>Note that for inline styles, leading dot-segments (e.g. '..' or '.') do resolve since the path is always 916 anchored at the root of the classpath.</p> 917 <p>This snippet of code creates a scene filled with the "paste" image from HTMLEditor which is found in jfxrt.jar.</p> 918 <textarea rows="9" cols="132"> 919 920 @Override public void start(Stage stage) { 921 StackPane root = new StackPane(); 922 root.setStyle("-fx-background-image: url(/com/sun/javafx/scene/control/skin/modena/HTMLEditor-Paste.png);"); 923 Scene scene = new Scene(root, 300, 250); 924 stage.setScene(scene); 925 stage.show(); 926 } 927 </textarea> 928 <p>The same style would work equally as well from a stylesheet.</p> 929 <h3><a name="typeeffect" id="typeeffect"><effect></a></h3> 930 <p>JavaFX CSS currently supports the DropShadow and InnerShadow effects from 931 the JavaFX platform. See the class documentation in javafx.scene.effect 932 for further details about the semantics of the various effect parameters.</p> 933 <h4>Drop Shadow</h4> 934 <p>A high-level effect that renders a shadow of the given content behind the 935 content.</p> 936 <p><span class="grammar">dropshadow( <blur-type> , <a href="#typecolor" 937 class="typelink"><color></a> 938 , <a href="#typenumber" class="typelink"><number></a> , <a href="#typenumber" 939 class="typelink"><number></a> 940 , <a href="#typenumber" class="typelink"><number></a> , <a href="#typenumber" 941 class="typelink"><number></a> 942 )</span></p> 943 <p style="margin-left: 40px;"><span class="grammar"><blur-type> = [ 944 gaussian | one-pass-box | three-pass-box | two-pass-box ]<br> 945 <a href="#typecolor" class="typelink"><color></a></span> The 946 shadow Color.<br> 947 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 948 The radius of the shadow blur kernel. In the range [0.0 ... 127.0], 949 typical value 10.<br> 950 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 951 The spread of the shadow. The spread is the portion of the radius where 952 the contribution of the source material will be 100%. The remaining 953 portion of the radius will have a contribution controlled by the blur 954 kernel. A spread of 0.0 will result in a distribution of the shadow 955 determined entirely by the blur algorithm. A spread of 1.0 will result in 956 a solid growth outward of the source material opacity to the limit of the 957 radius with a very sharp cutoff to transparency at the radius. Values 958 should be in the range [0.0 ... 1.0].<br> 959 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 960 The shadow offset in the x direction, in pixels. <br> 961 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 962 The shadow offset in the y direction, in pixels. </p> 963 <h4>Inner Shadow</h4> 964 <p>A high-level effect that renders a shadow inside the edges of the given 965 content.</p> 966 <p><span class="grammar">innershadow( <blur-type> , <a href="#typecolor" 967 class="typelink"><color></a> 968 , <a href="#typenumber" class="typelink"><number></a> , <a href="#typenumber" 969 class="typelink"><number></a> 970 , <a href="#typenumber" class="typelink"><number></a> , <a href="#typenumber" 971 class="typelink"><number></a> 972 )</span></p> 973 <p style="margin-left: 40px;"><span class="grammar"><blur-type> = [ 974 gaussian | one-pass-box | three-pass-box | two-pass-box ]<br> 975 </span><span class="grammar"><a href="#typecolor" class="typelink"><color></a></span> 976 The shadow Color.<br> 977 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 978 The radius of the shadow blur kernel. In the range [0.0 ... 127.0], 979 typical value 10.<br> 980 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 981 The choke of the shadow. The choke is the portion of the radius where the 982 contribution of the source material will be 100%. The remaining portion of 983 the radius will have a contribution controlled by the blur kernel. A choke 984 of 0.0 will result in a distribution of the shadow determined entirely by 985 the blur algorithm. A choke of 1.0 will result in a solid growth inward of 986 the shadow from the edges to the limit of the radius with a very sharp 987 cutoff to transparency inside the radius. Values should be in the range 988 [0.0 ... 1.0].<br> 989 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 990 The shadow offset in the x direction, in pixels. <br> 991 <span class="grammar"><a href="#typenumber" class="typelink"><number></a></span> 992 The shadow offset in the y direction, in pixels. </p> 993 <h3><a name="typefont" id="typefont"><font></a></h3> 994 <p>JavaFX CSS supports the ability to specify fonts using separate family, 995 size, style, and weight properties, as well as the ability to specify a 996 font using a single shorthand property. There are four value types related 997 to fonts plus a shorthand property that encompasses all four properties. 998 The font-related types are as follows. </p> 999 <p><span class="grammar"><font-family></span>The string name of the 1000 font family. An actual font family name available on the system can be 1001 used, or one of the following generic family names can be used:</p> 1002 <ul> 1003 <li>'serif' (e.g., Times)</li> 1004 <li>'sans-serif' (e.g., Helvetica)</li> 1005 <li>'cursive' (e.g., Zapf-Chancery)</li> 1006 <li>'fantasy' (e.g., Western)</li> 1007 <li>'monospace' (e.g., Courier)</li> 1008 </ul> 1009 <p><span class="grammar"><font-size></span> The size of the font, 1010 using the <span class="grammar"><size></span> syntax.</p> 1011 <p><span class="grammar"><font-style></span> The font's style, using 1012 the following syntax:<br> 1013 <span class="grammar">[ normal | italic | oblique ]</span></p> 1014 <p><span class="grammar"><font-weight></span> The font's weight, using 1015 the following syntax:<br> 1016 <span class="grammar">[ normal | bold | bolder | lighter | 100 | 200 | 300 1017 | 400 | 500 | 600 | 700 | 800 | 900 ]</span></p> 1018 <p><span class="grammar"><font></span> This font shorthand property 1019 can be used in place of the above properties. It uses the following 1020 syntax:<br> 1021 <span class="grammar">[[ <font-style> || <font-weight> ]? 1022 <font-size> <font-family> ]</span></p> 1023 <h4><a name="fontprops" id="fontprops">Font Properties</a></h4> 1024 <p>Most classes that use text will support the following font properties. In 1025 some cases a similar set of properties will be supported but with a 1026 different prefix instead of "-fx-font".</p> 1027 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 1028 <thead> 1029 <tr> 1030 <th class="propertyname">CSS Property</th> 1031 <th class="value">Values</th> 1032 <th>Default</th> 1033 <th>Comments</th> 1034 </tr> 1035 </thead> 1036 <tbody> 1037 <tr> 1038 <td class="propertyname">-fx-font</td> 1039 <td class="value"><a href="#typefont" class="typelink"><font></a></td> 1040 <td>inherit</td> 1041 <td>shorthand property for font-size, font-family, font-weight and 1042 font-style</td> 1043 </tr> 1044 <tr> 1045 <td class="propertyname">-fx-font-family</td> 1046 <td class="value"><a href="#typefont" class="typelink"><font-family></a></td> 1047 <td>inherit</td> 1048 <td> </td> 1049 </tr> 1050 <tr> 1051 <td class="propertyname">-fx-font-size</td> 1052 <td class="value"><a href="#typefont" class="typelink"><font-size></a></td> 1053 <td>inherit</td> 1054 <td> </td> 1055 </tr> 1056 <tr> 1057 <td class="propertyname">-fx-font-style</td> 1058 <td class="value"><a href="#typefont" class="typelink"><font-style></a></td> 1059 <td>inherit</td> 1060 <td> </td> 1061 </tr> 1062 <tr> 1063 <td class="propertyname">-fx-font-weight</td> 1064 <td class="value"><a href="#typefont" class="typelink"><font-weight></a></td> 1065 <td>inherit</td> 1066 <td> </td> 1067 </tr> 1068 </tbody> 1069 </table> 1070 <h3><a name="typepaint" id="typepaint"><paint></a></h3> 1071 <p>Paint values can either be a solid color specified in one of the color 1072 syntaxes, they can be a linear or radial gradient, or an image-pattern.</p> 1073 <p class="grammar"><a href="#typecolor" class="typelink"><color></a> | 1074 <a href="#typelinear-gradient" class="typelink"><linear-gradient></a> | 1075 <a href="#typeradial-gradient" class="typelink"><radial-gradient></a> | 1076 <a href="#typeimage-pattern" class="typelink"><image-pattern></a> 1077 <a href="#typeimage-pattern" class="typelink"><repeating-image-pattern></a></p> 1078 <h4>Linear Gradients<span class="grammar" style="font-size: smaller;"> 1079 <a name="typelinear-gradient" id="typelinear-gradient"><linear-gradient></a> 1080 </span></h4> 1081 <p class="grammar">linear-gradient( [ [from <a href="#typepoint" class="typelink"><point></a> 1082 to <a href="#typepoint" class="typelink"><point></a>] | [ to 1083 <side-or-corner>], ]? [ [ repeat | reflect ], ]? <a href="#typecolorstop" 1084 class="typelink"><color-stop></a>[, 1085 <a href="#typecolorstop" class="typelink"><color-stop></a>]+) <br> 1086 <br> 1087 where <side-or-corner> = [left | right] || [top | bottom] </p> 1088 <p> </p> 1089 <p>Linear gradient creates a gradient going though all the stop colors along 1090 the line between the "from" <a href="#typepoint" class="typelink"><point></a> 1091 and the "to" <a href="#typepoint" class="typelink"><point></a>. If 1092 the points are percentages, then they are relative to the size of the area 1093 being filled. Percentage and length sizes can not be mixed in a single 1094 gradient function.</p> 1095 <p> If neither repeat nor reflect are given, then the CycleMethod defaults 1096 "NO_CYCLE".<br> 1097 If neither [from <point> to <point>] nor [ to 1098 <side-or-corner> ] are given, then the gradient direction defaults 1099 to 'to bottom'.<br> 1100 Stops are per <a href="http://dev.w3.org/csswg/css3-images/#color-stop-syntax." 1101 class="typelink">W3C 1102 color-stop syntax</a> and are normalized accordingly. </p> 1103 <p>This example will create a gradient from top left to bottom right of the 1104 filled area with red at the top left corner and black at the bottom right.</p> 1105 <p class="example">linear-gradient(to bottom right, red, black)</p> 1106 <p>This is equivalent to: </p> 1107 <p class="example">linear-gradient(from 0% 0% to 100% 100%, red 0%, black 1108 100%)</p> 1109 <p>This more complex example will create a 50px high bar at the top with a 3 1110 color gradient with white underneath for the rest of the filled area.</p> 1111 <p class="example">linear-gradient(from 0px 0px to 0px 50px, gray, darkgray 1112 50%, dimgray 99%, white)</p> 1113 <p><span style="color: #af0000; ">The following syntax for linear gradient does not 1114 conform to the CSS grammar and is deprecated in JavaFX 2.0. The JavaFX 1115 2.0 CSS parser supports the syntax but this support may be removed in 1116 later releases.</span></p> 1117 <p class="grammar"><span style="color: #af0000; ">linear (<size>, <size>) 1118 to (<size>, <size>) stops [ (<number>,<color>) 1119 ]+ [ repeat | reflect ]?</span></p> 1120 <h4>Radial Gradients <span class="grammar" style="font-size: smaller;"> 1121 <a name="typeradial-gradient" id="typeradial-gradient"><radial-gradient></a> 1122 </span></h4> 1123 <p class="grammar">radial-gradient([ focus-angle <a href="#typeangle" class="typelink"><angle></a>, 1124 ]? [ focus-distance <a href="#typepercentage" class="typelink"><percentage></a>, 1125 ]? [ center <a href="#typepoint" class="typelink"><point></a>, ]? 1126 radius [ <a href="#typelength" class="typelink"><length></a> | <a 1127 href="#typepercentage" 1128 class="typelink"><percentage></a> 1129 ] [ [ repeat | reflect ], ]? <a href="#typecolorstop" class="typelink"><color-stop></a>[, 1130 <a href="#typecolorstop" class="typelink"><color-stop></a>]+) </p> 1131 <p>Radial gradient creates a gradient going though all the stop colors radiating outward from 1132 the <a href="#typepoint" class="typelink">center point</a> 1133 to the <a href="#typelength" class="typelink">radius</a>. If the center point is not given, 1134 the center defaults to (0,0). Percentage values are relative to the size of the area 1135 being filled. Percentage and length sizes can not be mixed in a single gradient function.</p> 1136 <p> If neither repeat nor reflect are given, then the CycleMethod defaults 1137 "NO_CYCLE".<br> 1138 Stops are per <a href="http://dev.w3.org/csswg/css3-images/#color-stop-syntax." 1139 class="typelink">W3C 1140 color-stop syntax</a> and are normalized accordingly. </p> 1141 <p>Following are examples of the use of radial-gradient:</p> 1142 <p class="example">radial-gradient(radius 100%, red, darkgray, black)</p> 1143 <p class="example">radial-gradient(focus-angle 45deg, focus-distance 20%, 1144 center 25% 25%, radius 50%, reflect, gray, darkgray 75%, dimgray)</p> 1145 <p><span style="color: #af0000; ">The following syntax for radial gradient does not 1146 conform to the CSS grammar and is deprecated in JavaFX 2.0. The JavaFX 1147 2.0 CSS parser supports the syntax but this support may be removed in 1148 later releases.</span></p> 1149 <p class="grammar"><span style="color: #af0000; ">radial [focus-angle <number> 1150 | <number> ] ]? [ focus-distance <size> ]? [ center 1151 <size,size> ]? <size> stops [ ( <number>, 1152 <color> ) ]+ [ repeat | reflect ]?</span></p> 1153 <h4>Image Paint <span class="grammar" style="font-size: smaller;"> 1154 <a name="typeimage-pattern" id="typeimage-pattern"><image-pattern></a> 1155 </span></h4> 1156 <p class="grammar">image-pattern(<a href="#typestring" class="typelink"><string></a>, 1157 [<a href="#typesize" class="typelink"><size></a>, 1158 <a href="#typesize" class="typelink"><size></a>, 1159 <a href="#typesize" class="typelink"><size></a>, 1160 <a href="#typesize" class="typelink"><size></a>[, 1161 <a href="#typeboolean" class="typelink"><boolean></a>]?]?)</p> 1162 <p>The parameters, in order, are:<br> 1163 <p style="margin-left: 40px;"> 1164 <span class="grammar"><a href="#typestring" class="typelink"><string></a></span> 1165 The URL of the image.<br> 1166 <span class="grammar"><a href="#typesize" class="typelink"><size></a></span> 1167 The <span style="font-style:italic;">x</span> origin of the anchor rectangle.<br> 1168 <span class="grammar"><a href="#typesize" class="typelink"><size></a></span> 1169 The <span style="font-style: italic;">y</span> origin of the anchor rectangle.<br> 1170 <span class="grammar"><a href="#typesize" class="typelink"><size></a></span> 1171 The width of the anchor rectangle.<br> 1172 <span class="grammar"><a href="#typesize" class="typelink"><size></a></span> 1173 The height of the anchor rectangle.<br> 1174 <span class="grammar"><a href="#typeboolean" class="typelink"><boolean></a></span> 1175 The proportional flag which indicates whether start and end locations are proportional or absolute<br> 1176 </p> 1177 <p>For a full explanation of the parameters, refer to the 1178 <a href="../paint/ImagePattern.html" class="typelink">ImagePattern</a> javadoc.</p> 1179 <p>Following are examples of the use of image-pattern:</p> 1180 <p class="example">image-pattern("images/Duke.png")</p> 1181 <p class="example">image-pattern("images/Duke.png", 20%, 20%, 80%, 80%)</p> 1182 <p class="example">image-pattern("images/Duke.png", 20%, 20%, 80%, 80%, true)</p> 1183 <p class="example">image-pattern("images/Duke.png", 20, 20, 80, 80, false)</p> 1184 1185 <p>Related, there is the <code>repeating-image-pattern</code> function which is a shorthand 1186 for producing tiled image based fills. It is equivalent to 1187 <p class="example">image-pattern("images/Duke.png", 0, 0, imageWidth, imageHeight, false)</p> 1188 1189 <p class="grammar">repeating-image-pattern(<a href="#typestring" class="typelink"><string></a>)</p> 1190 <p>The only parameter is the uri of the image. Following is an example of the use of image-pattern:</p> 1191 <p class="example">repeating-image-pattern("com/mycompany/myapp/images/Duke.png")</p> 1192 1193 1194 1195 <h3><a name="typecolor" id="typecolor"><color></a></h3> 1196 <p class="grammar"><named-color> | <looked-up-color> | 1197 <rgb-color> | <hsb-color> | <color-function></p> 1198 <h4>Named Colors <span class="grammar" style="font-size: smaller;"><named-color></span></h4> 1199 <p>CSS supports a bunch of named constant colors. Named colors can be 1200 specified with just their unquoted name for example: </p> 1201 <p class="example">.button {<br> 1202 -fx-background-color: red;<br> 1203 }</p> 1204 <p>The named colors that are available in CSS are:</p> 1205 <table summary="property table" class="html4colortable"> 1206 <tbody> 1207 <tr> 1208 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% aliceblue;"></span><br> 1209 </td> 1210 <td>aliceblue = #f0f8ff</td> 1211 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% antiquewhite;"></span><br> 1212 </td> 1213 <td>antiquewhite = #faebd7</td> 1214 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% aqua;"></span><br> 1215 </td> 1216 <td>aqua = #00ffff</td> 1217 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% aquamarine;"></span><br> 1218 </td> 1219 <td>aquamarine = #7fffd4</td> 1220 </tr> 1221 <tr> 1222 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% azure;"></span><br> 1223 </td> 1224 <td>azure = #f0ffff</td> 1225 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% beige;"></span><br> 1226 </td> 1227 <td>beige = #f5f5dc</td> 1228 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% bisque;"></span><br> 1229 </td> 1230 <td>bisque = #ffe4c4</td> 1231 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% black;"></span><br> 1232 </td> 1233 <td>black = #000000</td> 1234 </tr> 1235 <tr> 1236 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% blanchedalmond;"></span><br> 1237 </td> 1238 <td>blanchedalmond = #ffebcd</td> 1239 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% blue;"></span><br> 1240 </td> 1241 <td>blue = #0000ff</td> 1242 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% blueviolet;"></span><br> 1243 </td> 1244 <td>blueviolet = #8a2be2</td> 1245 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% brown;"></span><br> 1246 </td> 1247 <td>brown = #a52a2a</td> 1248 </tr> 1249 <tr> 1250 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% burlywood;"></span><br> 1251 </td> 1252 <td>burlywood = #deb887</td> 1253 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% cadetblue;"></span><br> 1254 </td> 1255 <td>cadetblue = #5f9ea0</td> 1256 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% chartreuse;"></span><br> 1257 </td> 1258 <td>chartreuse = #7fff00</td> 1259 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% chocolate;"></span><br> 1260 </td> 1261 <td>chocolate = #d2691e</td> 1262 </tr> 1263 <tr> 1264 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% coral;"></span><br> 1265 </td> 1266 <td>coral = #ff7f50</td> 1267 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% cornflowerblue;"></span><br> 1268 </td> 1269 <td>cornflowerblue = #6495ed</td> 1270 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% cornsilk;"></span><br> 1271 </td> 1272 <td>cornsilk = #fff8dc</td> 1273 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% crimson;"></span><br> 1274 </td> 1275 <td>crimson = #dc143c</td> 1276 </tr> 1277 <tr> 1278 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% cyan;"></span><br> 1279 </td> 1280 <td>cyan = #00ffff</td> 1281 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkblue;"></span><br> 1282 </td> 1283 <td>darkblue = #00008b</td> 1284 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkcyan;"></span><br> 1285 </td> 1286 <td>darkcyan = #008b8b</td> 1287 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkgoldenrod;"></span><br> 1288 </td> 1289 <td>darkgoldenrod = #b8860b</td> 1290 </tr> 1291 <tr> 1292 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkgray;"></span><br> 1293 </td> 1294 <td>darkgray = #a9a9a9</td> 1295 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkgreen;"></span><br> 1296 </td> 1297 <td>darkgreen = #006400</td> 1298 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkgrey;"></span><br> 1299 </td> 1300 <td>darkgrey = #a9a9a9</td> 1301 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkkhaki;"></span><br> 1302 </td> 1303 <td>darkkhaki = #bdb76b</td> 1304 </tr> 1305 <tr> 1306 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkmagenta;"></span><br> 1307 </td> 1308 <td>darkmagenta = #8b008b</td> 1309 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkolivegreen;"></span><br> 1310 </td> 1311 <td>darkolivegreen = #556b2f</td> 1312 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkorange;"></span><br> 1313 </td> 1314 <td>darkorange = #ff8c00</td> 1315 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkorchid;"></span><br> 1316 </td> 1317 <td>darkorchid = #9932cc</td> 1318 </tr> 1319 <tr> 1320 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkred;"></span><br> 1321 </td> 1322 <td>darkred = #8b0000</td> 1323 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darksalmon;"></span><br> 1324 </td> 1325 <td>darksalmon = #e9967a</td> 1326 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkseagreen;"></span><br> 1327 </td> 1328 <td>darkseagreen = #8fbc8f</td> 1329 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkslateblue;"></span><br> 1330 </td> 1331 <td>darkslateblue = #483d8b</td> 1332 </tr> 1333 <tr> 1334 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkslategray;"></span><br> 1335 </td> 1336 <td>darkslategray = #2f4f4f</td> 1337 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkslategrey;"></span><br> 1338 </td> 1339 <td>darkslategrey = #2f4f4f</td> 1340 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkturquoise;"></span><br> 1341 </td> 1342 <td>darkturquoise = #00ced1</td> 1343 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% darkviolet;"></span><br> 1344 </td> 1345 <td>darkviolet = #9400d3</td> 1346 </tr> 1347 <tr> 1348 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% deeppink;"></span><br> 1349 </td> 1350 <td>deeppink = #ff1493</td> 1351 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% deepskyblue;"></span><br> 1352 </td> 1353 <td>deepskyblue = #00bfff</td> 1354 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% dimgray;"></span><br> 1355 </td> 1356 <td>dimgray = #696969</td> 1357 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% dimgrey;"></span><br> 1358 </td> 1359 <td>dimgrey = #696969</td> 1360 </tr> 1361 <tr> 1362 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% dodgerblue;"></span><br> 1363 </td> 1364 <td>dodgerblue = #1e90ff</td> 1365 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% firebrick;"></span><br> 1366 </td> 1367 <td>firebrick = #b22222</td> 1368 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% floralwhite;"></span><br> 1369 </td> 1370 <td>floralwhite = #fffaf0</td> 1371 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% forestgreen;"></span><br> 1372 </td> 1373 <td>forestgreen = #228b22</td> 1374 </tr> 1375 <tr> 1376 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% fuchsia;"></span><br> 1377 </td> 1378 <td>fuchsia = #ff00ff</td> 1379 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% gainsboro;"></span><br> 1380 </td> 1381 <td>gainsboro = #dcdcdc</td> 1382 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% ghostwhite;"></span><br> 1383 </td> 1384 <td>ghostwhite = #f8f8ff</td> 1385 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% gold;"></span><br> 1386 </td> 1387 <td>gold = #ffd700</td> 1388 </tr> 1389 <tr> 1390 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% goldenrod;"></span><br> 1391 </td> 1392 <td>goldenrod = #daa520</td> 1393 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% gray;"></span><br> 1394 </td> 1395 <td>gray = #808080</td> 1396 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% green;"></span><br> 1397 </td> 1398 <td>green = #008000</td> 1399 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% greenyellow;"></span><br> 1400 </td> 1401 <td>greenyellow = #adff2f</td> 1402 </tr> 1403 <tr> 1404 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% grey;"></span><br> 1405 </td> 1406 <td>grey = #808080</td> 1407 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% honeydew;"></span><br> 1408 </td> 1409 <td>honeydew = #f0fff0</td> 1410 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% hotpink;"></span><br> 1411 </td> 1412 <td>hotpink = #ff69b4</td> 1413 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% indianred;"></span><br> 1414 </td> 1415 <td>indianred = #cd5c5c</td> 1416 </tr> 1417 <tr> 1418 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% indigo;"></span><br> 1419 </td> 1420 <td>indigo = #4b0082</td> 1421 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% ivory;"></span><br> 1422 </td> 1423 <td>ivory = #fffff0</td> 1424 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% khaki;"></span><br> 1425 </td> 1426 <td>khaki = #f0e68c</td> 1427 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lavender;"></span><br> 1428 </td> 1429 <td>lavender = #e6e6fa</td> 1430 </tr> 1431 <tr> 1432 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lavenderblush;"></span><br> 1433 </td> 1434 <td>lavenderblush = #fff0f5</td> 1435 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lawngreen;"></span><br> 1436 </td> 1437 <td>lawngreen = #7cfc00</td> 1438 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lemonchiffon;"></span><br> 1439 </td> 1440 <td>lemonchiffon = #fffacd</td> 1441 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightblue;"></span><br> 1442 </td> 1443 <td>lightblue = #add8e6</td> 1444 </tr> 1445 <tr> 1446 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightcoral;"></span><br> 1447 </td> 1448 <td>lightcoral = #f08080</td> 1449 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightcyan;"></span><br> 1450 </td> 1451 <td>lightcyan = #e0ffff</td> 1452 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightgoldenrodyellow;"></span><br> 1453 </td> 1454 <td>lightgoldenrodyellow = #fafad2</td> 1455 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightgray;"></span><br> 1456 </td> 1457 <td>lightgray = #d3d3d3</td> 1458 </tr> 1459 <tr> 1460 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightgreen;"></span><br> 1461 </td> 1462 <td>lightgreen = #90ee90</td> 1463 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightgrey;"></span><br> 1464 </td> 1465 <td>lightgrey = #d3d3d3</td> 1466 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightpink;"></span><br> 1467 </td> 1468 <td>lightpink = #ffb6c1</td> 1469 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightsalmon;"></span><br> 1470 </td> 1471 <td>lightsalmon = #ffa07a</td> 1472 </tr> 1473 <tr> 1474 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightseagreen;"></span><br> 1475 </td> 1476 <td>lightseagreen = #20b2aa</td> 1477 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightskyblue;"></span><br> 1478 </td> 1479 <td>lightskyblue = #87cefa</td> 1480 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightslategray;"></span><br> 1481 </td> 1482 <td>lightslategray = #778899</td> 1483 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightslategrey;"></span><br> 1484 </td> 1485 <td>lightslategrey = #778899</td> 1486 </tr> 1487 <tr> 1488 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightsteelblue;"></span><br> 1489 </td> 1490 <td>lightsteelblue = #b0c4de</td> 1491 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lightyellow;"></span><br> 1492 </td> 1493 <td>lightyellow = #ffffe0</td> 1494 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% lime;"></span><br> 1495 </td> 1496 <td>lime = #00ff00</td> 1497 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% limegreen;"></span><br> 1498 </td> 1499 <td>limegreen = #32cd32</td> 1500 </tr> 1501 <tr> 1502 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% linen;"></span><br> 1503 </td> 1504 <td>linen = #faf0e6</td> 1505 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% magenta;"></span><br> 1506 </td> 1507 <td>magenta = #ff00ff</td> 1508 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% maroon;"></span><br> 1509 </td> 1510 <td>maroon = #800000</td> 1511 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumaquamarine;"></span><br> 1512 </td> 1513 <td>mediumaquamarine = #66cdaa</td> 1514 </tr> 1515 <tr> 1516 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumblue;"></span><br> 1517 </td> 1518 <td>mediumblue = #0000cd</td> 1519 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumorchid;"></span><br> 1520 </td> 1521 <td>mediumorchid = #ba55d3</td> 1522 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumpurple;"></span><br> 1523 </td> 1524 <td>mediumpurple = #9370db</td> 1525 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumseagreen;"></span><br> 1526 </td> 1527 <td>mediumseagreen = #3cb371</td> 1528 </tr> 1529 <tr> 1530 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumslateblue;"></span><br> 1531 </td> 1532 <td>mediumslateblue = #7b68ee</td> 1533 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumspringgreen;"></span><br> 1534 </td> 1535 <td>mediumspringgreen = #00fa9a</td> 1536 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumturquoise;"></span><br> 1537 </td> 1538 <td>mediumturquoise = #48d1cc</td> 1539 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mediumvioletred;"></span><br> 1540 </td> 1541 <td>mediumvioletred = #c71585</td> 1542 </tr> 1543 <tr> 1544 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% midnightblue;"></span><br> 1545 </td> 1546 <td>midnightblue = #191970</td> 1547 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mintcream;"></span><br> 1548 </td> 1549 <td>mintcream = #f5fffa</td> 1550 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% mistyrose;"></span><br> 1551 </td> 1552 <td>mistyrose = #ffe4e1</td> 1553 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% moccasin;"></span><br> 1554 </td> 1555 <td>moccasin = #ffe4b5</td> 1556 </tr> 1557 <tr> 1558 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% navajowhite;"></span><br> 1559 </td> 1560 <td>navajowhite = #ffdead</td> 1561 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% navy;"></span><br> 1562 </td> 1563 <td>navy = #000080</td> 1564 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% oldlace;"></span><br> 1565 </td> 1566 <td>oldlace = #fdf5e6</td> 1567 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% olive;"></span><br> 1568 </td> 1569 <td>olive = #808000</td> 1570 </tr> 1571 <tr> 1572 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% olivedrab;"></span><br> 1573 </td> 1574 <td>olivedrab = #6b8e23</td> 1575 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% orange;"></span><br> 1576 </td> 1577 <td>orange = #ffa500</td> 1578 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% orangered;"></span><br> 1579 </td> 1580 <td>orangered = #ff4500</td> 1581 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% orchid;"></span><br> 1582 </td> 1583 <td>orchid = #da70d6</td> 1584 </tr> 1585 <tr> 1586 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% palegoldenrod;"></span><br> 1587 </td> 1588 <td>palegoldenrod = #eee8aa</td> 1589 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% palegreen;"></span><br> 1590 </td> 1591 <td>palegreen = #98fb98</td> 1592 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% paleturquoise;"></span><br> 1593 </td> 1594 <td>paleturquoise = #afeeee</td> 1595 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% palevioletred;"></span><br> 1596 </td> 1597 <td>palevioletred = #db7093</td> 1598 </tr> 1599 <tr> 1600 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% papayawhip;"></span><br> 1601 </td> 1602 <td>papayawhip = #ffefd5</td> 1603 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% peachpuff;"></span><br> 1604 </td> 1605 <td>peachpuff = #ffdab9</td> 1606 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% peru;"></span><br> 1607 </td> 1608 <td>peru = #cd853f</td> 1609 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% pink;"></span><br> 1610 </td> 1611 <td>pink = #ffc0cb</td> 1612 </tr> 1613 <tr> 1614 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% plum;"></span><br> 1615 </td> 1616 <td>plum = #dda0dd</td> 1617 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% powderblue;"></span><br> 1618 </td> 1619 <td>powderblue = #b0e0e6</td> 1620 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% purple;"></span><br> 1621 </td> 1622 <td>purple = #800080</td> 1623 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% red;"></span><br> 1624 </td> 1625 <td>red = #ff0000</td> 1626 </tr> 1627 <tr> 1628 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% rosybrown;"></span><br> 1629 </td> 1630 <td>rosybrown = #bc8f8f</td> 1631 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% royalblue;"></span><br> 1632 </td> 1633 <td>royalblue = #4169e1</td> 1634 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% saddlebrown;"></span><br> 1635 </td> 1636 <td>saddlebrown = #8b4513</td> 1637 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% salmon;"></span><br> 1638 </td> 1639 <td>salmon = #fa8072</td> 1640 </tr> 1641 <tr> 1642 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% sandybrown;"></span><br> 1643 </td> 1644 <td>sandybrown = #f4a460</td> 1645 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% seagreen;"></span><br> 1646 </td> 1647 <td>seagreen = #2e8b57</td> 1648 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% seashell;"></span><br> 1649 </td> 1650 <td>seashell = #fff5ee</td> 1651 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% sienna;"></span><br> 1652 </td> 1653 <td>sienna = #a0522d</td> 1654 </tr> 1655 <tr> 1656 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% silver;"></span><br> 1657 </td> 1658 <td>silver = #c0c0c0</td> 1659 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% skyblue;"></span><br> 1660 </td> 1661 <td>skyblue = #87ceeb</td> 1662 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% slateblue;"></span><br> 1663 </td> 1664 <td>slateblue = #6a5acd</td> 1665 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% slategray;"></span><br> 1666 </td> 1667 <td>slategray = #708090</td> 1668 </tr> 1669 <tr> 1670 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% slategrey;"></span><br> 1671 </td> 1672 <td>slategrey = #708090</td> 1673 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% snow;"></span><br> 1674 </td> 1675 <td>snow = #fffafa</td> 1676 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% springgreen;"></span><br> 1677 </td> 1678 <td>springgreen = #00ff7f</td> 1679 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% steelblue;"></span><br> 1680 </td> 1681 <td>steelblue = #4682b4</td> 1682 </tr> 1683 <tr> 1684 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% tan;"></span><br> 1685 </td> 1686 <td>tan = #d2b48c</td> 1687 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% teal;"></span><br> 1688 </td> 1689 <td>teal = #008080</td> 1690 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% thistle;"></span><br> 1691 </td> 1692 <td>thistle = #d8bfd8</td> 1693 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% tomato;"></span><br> 1694 </td> 1695 <td>tomato = #ff6347</td> 1696 </tr> 1697 <tr> 1698 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% turquoise;"></span><br> 1699 </td> 1700 <td>turquoise = #40e0d0</td> 1701 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% violet;"></span><br> 1702 </td> 1703 <td>violet = #ee82ee</td> 1704 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% wheat;"></span><br> 1705 </td> 1706 <td>wheat = #f5deb3</td> 1707 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% white;"></span><br> 1708 </td> 1709 <td>white = #ffffff</td> 1710 </tr> 1711 <tr> 1712 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% whitesmoke;"></span><br> 1713 </td> 1714 <td>whitesmoke = #f5f5f5</td> 1715 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% yellow;"></span><br> 1716 </td> 1717 <td>yellow = #ffff00</td> 1718 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% yellowgreen;"></span><br> 1719 </td> 1720 <td>yellowgreen = #9acd32</td> 1721 <td><span class="colorsquare" style="background: none repeat scroll 0% 50% transparent;"></span><br> 1722 </td> 1723 <td>transparent = rgba(0,0,0,0)</td> 1724 </tr> 1725 </tbody> 1726 </table> 1727 <h4>Looked-up Colors <span class="grammar" style="font-size: smaller;"><looked-up-color></span></h4> 1728 <p>With looked-up colors you can refer to any other color property that is 1729 set on the current node or any of its parents. This is a very powerful 1730 feature, as it allows a generic palette of colors to be specified on the 1731 scene then used thoughout the application. If you want to change one of 1732 those palette colors you can do so at any level in the scene tree and it 1733 will affect that node and all its decendents. Looked-up colors are not 1734 looked up until they are applied, so they are live and react to any style 1735 changes that might occur, such as replacing a palette color at runtime 1736 with the "style" property on a node.</p> 1737 <p>In the following example, all background color of all buttons uses the 1738 looked up color "abc".</p> 1739 <p class="example">.root { abc: #f00 }<br> 1740 .button { -fx-background-color: abc }</p> 1741 <h4>RGB Colors <span class="grammar" style="font-size: smaller;"><rgb-color></span></h4> 1742 <p>The RGB color model is used in numerical color specifications. It has a 1743 number of different supported forms.</p> 1744 <p class="grammar">#<digit><digit><digit><br> 1745 | 1746 #<digit><digit><digit><digit><digit><digit><br> 1747 | rgb( <a href="#typenumber" class="typelink"><integer></a> , <a href="#typenumber" 1748 class="typelink"><integer></a> 1749 , <a href="#typenumber" class="typelink"><integer></a> )<br> 1750 | rgb( <a href="#typenumber" class="typelink"><integer></a> %, <a 1751 href="#typenumber" 1752 class="typelink"><integer></a>% 1753 , <a href="#typenumber" class="typelink"><integer></a>% )<br> 1754 | rgba( <a href="#typenumber" class="typelink"><integer></a> , <a 1755 href="#typenumber" 1756 class="typelink"><integer></a> 1757 , <a href="#typenumber" class="typelink"><integer></a> , <a href="#typenumber" 1758 class="typelink"><number></a> 1759 ) <br> 1760 | rgba( <a href="#typenumber" class="typelink"><integer></a>% , <a 1761 href="#typenumber" 1762 class="typelink"><integer></a>% 1763 , <a href="#typenumber" class="typelink"><integer></a> %, <a href="#typenumber" 1764 class="typelink"><number></a> 1765 )</p> 1766 <p>These examples all specify the same color for the text fill of a Label:</p> 1767 <p class="example"></p> 1768 <ul style="list-style: none;"> 1769 <li>.label { -fx-text-fill: #f00 } /* #rgb */</li> 1770 <li>.label { -fx-text-fill: #ff0000 } /* #rrggbb */</li> 1771 <li>.label { -fx-text-fill: rgb(255,0,0) }</li> 1772 <li> .label { -fx-text-fill: rgb(100%, 0%, 0%) }</li> 1773 <li>.label { -fx-text-fill: rgba(255,0,0,1) }</li> 1774 </ul> 1775 <p></p> 1776 <p><strong>RGB Hex</strong>: The format of an RGB value in hexadecimal 1777 notation is a ‘#’ immediately followed by either three or six 1778 hexadecimal characters. The three-digit RGB notation (#rgb) is converted 1779 into six-digit form (#rrggbb) by replicating digits, not by adding zeros. 1780 For example, #fb0 expands to #ffbb00. This ensures that white (#ffffff) 1781 can be specified with the short notation (#fff) and removes any 1782 dependencies on the color depth of the display.</p> 1783 <p><strong>RGB Decimal or Percent</strong>: The format of an RGB value in 1784 the functional notation is ‘rgb(’ followed by a 1785 comma-separated list of three numerical values (either three decimal 1786 integer values or three percentage values) followed by ‘)’. 1787 The integer value 255 corresponds to 100%, and to F or FF in the 1788 hexadecimal notation: rgb(255,255,255) = rgb(100%,100%,100%) = #FFF. White 1789 space characters are allowed around the numerical values.</p> 1790 <p><strong>RGB + Alpha</strong>: This is an extension of the RGB color model 1791 to include an ‘alpha’ value that specifies the opacity of a 1792 color. This is accomplished via a functional syntax of the form rgba(...) 1793 form that takes a fourth parameter which is the alpha value. The alpha 1794 value must be a number in the range 0.0 (representing completely 1795 transparent) and 1.0 (completely opaque). As with the rgb() function, the 1796 red, green, and blue values may be decimal integers or percentages. The 1797 following examples all specify the same color:</p> 1798 <p class="example"></p> 1799 <ul style="list-style: none;"> 1800 <li>.label { -fx-text-fill: rgb(255,0,0) } /* integer range 0 — 255*/</li> 1801 <li> .label { -fx-text-fill: rgba(255,0,0,1) /* the same, with explicit 1802 opacity of 1 */</li> 1803 <li> .label { -fx-text-fill: rgb(100%,0%,0%) } /* float range 0.0% — 1804 100.0% */</li> 1805 <li> .label { -fx-text-fill: rgba(100%,0%,0%,1) } /* the same, with 1806 explicit opacity of 1 */</li> 1807 </ul> 1808 <p></p> 1809 <h4>HSB Colors <span class="grammar" style="font-size: smaller;"><hsb-color></span></h4> 1810 <p>Colors can be specified using the HSB (sometimes called HSV) color model, 1811 as follows:</p> 1812 <p class="grammar">hsb( <a href="#typenumber" class="typelink"><number></a> 1813 , <a href="#typenumber" class="typelink"><number></a>% , <a href="#typenumber" 1814 class="typelink"><number></a>% 1815 ) | hsba( <a href="#typenumber" class="typelink"><number></a> , <a 1816 href="#typenumber" 1817 class="typelink"><number></a>% 1818 , <a href="#typenumber" class="typelink"><number></a>% , <a href="#typenumber" 1819 class="typelink"><number></a> 1820 )</p> 1821 <p>The first number is <span style="font-style:italic;">hue</span>, a number in the range 0 to 360 1822 degrees. The second number is <em>saturation,</em> a percentage in the 1823 range 0% to 100%. The third number is <span style="font-style:italic;">brightness</span>, also a 1824 percentage in the range 0% to 100%. The hsba(...) form takes a fourth 1825 parameter at the end which is a alpha value in the range 0.0 to 1.0, 1826 specifying completely transparent and completely opaque, respectively.</p> 1827 <h4>Color Functions <span class="grammar" style="font-size: smaller;"><color-function></span></h4> 1828 <p>JavaFX supports some color computation functions. These compute new 1829 colors from input colors at the time the color style is applied. This 1830 enables a color theme to be specified using a single base color and to 1831 have variant colors computed from that base color. There are two color 1832 functions: derive() and ladder().</p> 1833 <p class="grammar"><derive> | <ladder></p> 1834 <p><strong>Derive </strong><span class="grammar" style="font-size: smaller;"><derive></span></p> 1835 <p class="grammar">derive( <a href="#typecolor" class="typelink"><color></a> 1836 , <a href="#typenumber" class="typelink"><number></a>% )</p> 1837 <p>The derive function takes a color and computes a brighter or darker 1838 version of that color. The second parameter is the brightness offset, 1839 representing how much brighter or darker the derived color should be. Positive percentages indicate brighter colors 1840 and negative percentages indicate darker colors. A value of -100% means 1841 completely black, 0% means no change in brightness, and 100% means 1842 completely white.</p> 1843 <p><strong>Ladder</strong><span class="grammar" style="font-size: smaller;"><ladder></span></p> 1844 <p class="grammar">ladder(<a href="#typecolor" class="typelink"><color></a> 1845 , <a href="#typecolorstop" class="typelink"><color-stop></a> [, <a 1846 href="#typecolorstop" 1847 class="typelink"><color-stop></a>]+)</p> 1848 <p>The ladder function interpolates between colors. The effect is as if a 1849 gradient is created using the stops provided, and then the brightness of 1850 the provided <a href="#typecolor" class="typelink"><color></a> is 1851 used to index a color value within that gradient. At 0% brightness, the 1852 color at the 0.0 end of the gradient is used; at 100% brightness, the 1853 color at the 1.0 end of the gradient is used; and at 50% brightness, the 1854 color at 0.5, the midway point of the gradient, is used. Note that no 1855 gradient is actually rendered. This is merely an interpolation function 1856 that results in a single color.</p> 1857 <p>Stops are per <a href="http://dev.w3.org/csswg/css3-images/#color-stop-syntax." 1858 class="typelink">W3C 1859 color-stop syntax</a> and are normalized accordingly.</p> 1860 <p>For example, you could use the following if you want the text color to be 1861 black or white depending upon the brightness of the background.</p> 1862 <p class="example">background: white;<br> 1863 -fx-text-fill: ladder(background, white 49%, black 50%);</p> 1864 <p>The resulting -fx-text-fill value will be black, because the background 1865 (white) has a brightness of 100%, and the color at 1.0 on the gradient is 1866 black. If we were to change the background color to black or dark grey, 1867 the brightness would be less than 50%, giving an -fx-text-fill value of 1868 white.</p> 1869 <p><span style="color: #af0000; ">The following syntax for ladder does not 1870 conform to the CSS grammar and is deprecated in JavaFX 2.0. The JavaFX 1871 2.0 CSS parser supports the syntax but this support may be removed in 1872 later releases.</span></p> 1873 <p class="grammar"><span style="color: #af0000; ">ladder(<a href="#typecolor" class="typelink"><color></a>) 1874 stops [ ( <a href="#typenumber" class="typelink"><number></a> , <a 1875 href="#typecolor" 1876 class="typelink"><color></a> 1877 ) ]+ </span></p> 1878 <h2><a name="stage" id="stage">Stage</a></h2> 1879 <table summary="property table" class="package" width="100%"> 1880 <tbody> 1881 <tr> 1882 <td>javafx.stage</td> 1883 </tr> 1884 </tbody> 1885 </table> 1886 <h4><a name="popupwindow" id="popupwindow">Group</a></h4> 1887 <p class="styleclass">Style class: .root.popup</p> 1888 <p>PopupWindow does not have any properties that can be styled by CSS, but a PopupWindow does have its own Scene. 1889 Scene's root gets the .root style-class by default. If the Scene is the root scene of a PopupWindow, then the 1890 .popup style-class is also added. This allows the root scene of a PopupWindow to have distinct styles via 1891 the CSS rule <code>.root.popup { /* declarations */ }</code> 1892 <h2><a name="nodes" id="nodes">Nodes</a></h2> 1893 <table summary="property table" class="package" width="100%"> 1894 <tbody> 1895 <tr> 1896 <td>javafx.scene</td> 1897 </tr> 1898 </tbody> 1899 </table> 1900 <h4><a name="group" id="group">Group</a></h4> 1901 <p class="styleclass">Style class: empty by default</p> 1902 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 1903 <thead> 1904 <tr> 1905 <th class="propertyname">CSS Property</th> 1906 <th class="value">Values</th> 1907 <th class="default">Default</th> 1908 <th>Comments</th> 1909 </tr> 1910 </thead> 1911 <tbody> 1912 <tr> 1913 <td colspan="4">Group extends Parent. Group does not add any addtional 1914 CSS properties.</td> 1915 </tr> 1916 <tr> 1917 <td colspan="4" class="parents">Also has all properties of <a href="#parent">Parent</a></td> 1918 </tr> 1919 </tbody> 1920 </table> 1921 <br> 1922 <h4><a name="node" id="node">Node</a></h4> 1923 <p class="styleclass">Style class: empty by default<br> 1924 </p> 1925 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 1926 <thead> 1927 <tr> 1928 <th class="propertyname">CSS Property</th> 1929 <th class="value">Values</th> 1930 <th class="default">Default</th> 1931 <th class="range">Range</th> 1932 <th>Comments</th> 1933 </tr> 1934 </thead> 1935 <tbody> 1936 <tr> 1937 <td class="propertyname">-fx-blend-mode</td> 1938 <td class="value">[ add | blue | color-burn | color-dodge | darken | 1939 difference | exclusion | green | hard-light | lighten | multiply | 1940 overlay | red | screen | soft-light | src-atop | src-in | src-out | 1941 src-over ] </td> 1942 <td>null</td> 1943 <td> </td> 1944 <td> </td> 1945 </tr> 1946 <tr> 1947 <td class="propertyname">-fx-cursor</td> 1948 <td class="value">[ null | crosshair | default | hand | move | 1949 e-resize | h-resize | ne-resize | nw-resize | n-resize | se-resize | 1950 sw-resize | s-resize | w-resize | v-resize | text | wait ] | <a href="#typeurl" 1951 class="typelink"><url></a></td> 1952 <td class="default">null</td> 1953 <td class="range"> </td> 1954 <td>inherits </td> 1955 </tr> 1956 <tr> 1957 <td class="propertyname">-fx-effect</td> 1958 <td class="value"><a href="#typeeffect" class="typelink"><effect></a></td> 1959 <td class="default">null</td> 1960 <td class="range"> </td> 1961 <td> </td> 1962 </tr> 1963 <tr> 1964 <td class="propertyname">-fx-focus-traversable</td> 1965 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 1966 <td class="default">false</td> 1967 <td class="range"> </td> 1968 <td>The default value for controls is true, although there are some exceptions. 1969 See <a href="#controls">Controls</a> for details.</td> 1970 </tr> 1971 <tr> 1972 <td class="propertyname">-fx-priorty-order</td> 1973 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 1974 <td class="default">0</td> 1975 <td class="range"> </td> 1976 <td>This property is used to alter the rendering and picking order of a node 1977 within its parent without disturbing its child physical index, which makes 1978 it useful for animating a node's ordering such as transparency sorting.</td> 1979 </tr> 1980 <tr> 1981 <td class="propertyname">-fx-opacity</td> 1982 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 1983 <td class="default">1</td> 1984 <td class="range">[0.0 ... 1.0]</td> 1985 <td>Opacity can be thought of conceptually as a postprocessing 1986 operation. Conceptually, after the node (including its descendants) 1987 is rendered into an RGBA offscreen image, the opacity setting 1988 specifies how to blend the offscreen rendering into the current 1989 composite rendering. </td> 1990 </tr> 1991 <tr> 1992 <td class="propertyname">-fx-rotate</td> 1993 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 1994 <td class="default">0</td> 1995 <td class="range"> </td> 1996 <td>This is the angle of the rotation in degrees. Zero degrees is at 3 1997 o'clock (directly to the right). Angle values are positive 1998 clockwise. Rotation is about the center.</td> 1999 </tr> 2000 <tr> 2001 <td class="propertyname">-fx-scale-x</td> 2002 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 2003 <td class="default">1</td> 2004 <td class="range"> </td> 2005 <td>scale about the center</td> 2006 </tr> 2007 <tr> 2008 <td class="propertyname">-fx-scale-y</td> 2009 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 2010 <td class="default">1</td> 2011 <td class="range"> </td> 2012 <td>scale about the center</td> 2013 </tr> 2014 <tr> 2015 <td class="propertyname">-fx-scale-z</td> 2016 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 2017 <td class="default">1</td> 2018 <td class="range"> </td> 2019 <td>scale about the center</td> 2020 </tr> 2021 <tr> 2022 <td class="propertyname">-fx-translate-x</td> 2023 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 2024 <td class="default">0</td> 2025 <td class="range"> </td> 2026 <td> </td> 2027 </tr> 2028 <tr> 2029 <td class="propertyname">-fx-translate-y</td> 2030 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 2031 <td class="default">0</td> 2032 <td class="range"> </td> 2033 <td> </td> 2034 </tr> 2035 <tr> 2036 <td class="propertyname">-fx-translate-z</td> 2037 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 2038 <td class="default">0</td> 2039 <td class="range"> </td> 2040 <td> </td> 2041 </tr> 2042 <tr> 2043 <td class="propertyname">visibility</td> 2044 <td class="value">[ visible | hidden | collapse | inherit ]</td> 2045 <td class="default">true (i.e, visible)</td> 2046 <td class="range"> </td> 2047 <td>See <a href="http://www.w3.org/TR/CSS2/visufx.html#visibility">W3C 2048 visibility property</a></td> 2049 </tr> 2050 </tbody> 2051 </table> 2052 <h4>Pseudo-classes</h4> 2053 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2054 <thead> 2055 <tr> 2056 <th class="propertyname">CSS Pseudo-class</th> 2057 <th>Comments</th> 2058 </tr> 2059 </thead> 2060 <tbody> 2061 <tr> 2062 <td class="propertyname">disabled</td> 2063 <td>applies when the <strong>disabled</strong> variable is true</td> 2064 </tr> 2065 <tr> 2066 <td class="propertyname">focused</td> 2067 <td>applies when the <strong>focused</strong> variable is true</td> 2068 </tr> 2069 <tr> 2070 <td class="propertyname">hover</td> 2071 <td>applies when the <strong>hover</strong> variable is true</td> 2072 </tr> 2073 <tr> 2074 <td class="propertyname">pressed</td> 2075 <td>applies when the <strong>pressed</strong> variable is true</td> 2076 </tr> 2077 <tr> 2078 <td class="propertyname">show-mnemonic</td> 2079 <td>apples when the mnemonic affordance (typically an underscore) 2080 should be shown.</td> 2081 </tr> 2082 </tbody> 2083 </table> 2084 <h4><a name="parent" id="parent">Parent</a></h4> 2085 <p class="styleclass">Style 2086 class: empty by default</p> 2087 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2088 <thead> 2089 <tr> 2090 <th class="propertyname">CSS Property</th> 2091 <th class="value">Values</th> 2092 <th class="default">Default</th> 2093 <th>Comments</th> 2094 </tr> 2095 </thead> 2096 <tbody> 2097 <tr> 2098 <td colspan="4">Parent extends Node. Parent does not add any addtional 2099 CSS properties.</td> 2100 </tr> 2101 <tr> 2102 <td colspan="4" class="parents">Also has all properties of <a href="#node">Node</a></td> 2103 </tr> 2104 </tbody> 2105 </table> 2106 <br> 2107 <h4><a name="scene" id="scene">Scene</a></h4> 2108 <p class="styleclass">Style class: not applicable<br> 2109 </p> 2110 <p>The Scene object has no settable CSS properties, nor does it have any 2111 pseudo‑classes. However, the root node of the scene is assigned the style 2112 class "root" (in addition to style classes already assigned to the node). 2113 This is useful because the root node of Scene is the root container for 2114 all active scene‑graph nodes. Thus, it can serve as a container for 2115 properties that are inherited or looked up.</p> 2116 <table summary="property table" class="package" width="100%"> 2117 <tbody> 2118 <tr> 2119 <td>javafx.scene.image</td> 2120 </tr> 2121 </tbody> 2122 </table> 2123 <h4><a name="imageview" id="imageview">ImageView</a></h4> 2124 <p class="styleclass">Style class: image-view</p> 2125 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2126 <thead> 2127 <tr> 2128 <th class="propertyname">CSS Property</th> 2129 <th class="value">Values</th> 2130 <th class="default">Default</th> 2131 <th>Comments</th> 2132 </tr> 2133 </thead> 2134 <tbody> 2135 <tr> 2136 <td class="propertyname">-fx-image</td> 2137 <td class="value"><a href="#typeurl" class="typelink"><uri></a></td> 2138 <td class="default">null</td> 2139 <td>Relative URLs are resolved against the URL of the stylesheet.</td> 2140 </tr> 2141 <tr> 2142 <td colspan="4" class="parents">Also has all properties of <a href="#node">Node</a></td> 2143 </tr> 2144 </tbody> 2145 </table> 2146 <table summary="property table" class="package" width="100%"> 2147 <tbody> 2148 <tr> 2149 <td>javafx.scene.layout</td> 2150 </tr> 2151 </tbody> 2152 </table> 2153 <br> 2154 <h4><a name="anchorpane" id="anchorpane">AnchorPane</a></h4> 2155 <p class="styleclass">Style class: empty by default</p> 2156 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2157 <thead> 2158 <tr> 2159 <th class="propertyname">CSS Property</th> 2160 <th class="value">Values</th> 2161 <th class="default">Default</th> 2162 <th>Comments</th> 2163 </tr> 2164 </thead> 2165 <tbody> 2166 <tr> 2167 <td colspan="4">AnchorPane extends Pane and does not add any 2168 additional CSS properties.</td> 2169 </tr> 2170 <tr> 2171 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 2172 </tr> 2173 </tbody> 2174 </table> 2175 <h4><a name="border" id="border">BorderPane</a></h4> 2176 <p class="styleclass">Style class: empty by default</p> 2177 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2178 <thead> 2179 <tr> 2180 <th class="propertyname">CSS Property</th> 2181 <th class="value">Values</th> 2182 <th class="default">Default</th> 2183 <th>Comments</th> 2184 </tr> 2185 </thead> 2186 <tbody> 2187 <tr> 2188 <td colspan="4">BorderPane extends Pane and does not add any 2189 additional CSS properties.</td> 2190 </tr> 2191 <tr> 2192 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 2193 </tr> 2194 </tbody> 2195 </table> 2196 <br> 2197 2198 <h4><a name="dialogpane" id="dialogpane">DialogPane</a></h4> 2199 <p class="styleclass">Style class: dialog-pane</p> 2200 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2201 <thead> 2202 <tr> 2203 <th class="propertyname">CSS Property</th> 2204 <th class="value">Values</th> 2205 <th>Default</th> 2206 <th>Comments</th> 2207 </tr> 2208 </thead> 2209 <tbody> 2210 <tr> 2211 <td class="propertyname">-fx-graphic</td> 2212 <td class="value"><a href="#typeurl" class="typelink"><uri></a></td> 2213 <td>null</td> 2214 <td> </td> 2215 </tr> 2216 <tr> 2217 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 2218 </tr> 2219 </tbody> 2220 </table> 2221 <h4>Substructure</h4> 2222 <ul> 2223 <li>header-panel — BoderPane 2224 <ul><li>graphic-container — StackPane</li></ul> 2225 </li> 2226 <li>content — Label</li> 2227 <li>button-bar — ButtonBar</li> 2228 </ul> 2229 2230 <h4><a name="flowpane" id="flowpane">FlowPane</a></h4> 2231 <p class="styleclass">Style class: empty by default</p> 2232 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2233 <thead> 2234 <tr> 2235 <th class="propertyname">CSS Property</th> 2236 <th class="value">Values</th> 2237 <th class="default">Default</th> 2238 <th>Comments</th> 2239 </tr> 2240 </thead> 2241 <tbody> 2242 <tr> 2243 <td class="propertyname">-fx-hgap</td> 2244 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2245 <td class="default">0</td> 2246 <td> </td> 2247 </tr> 2248 <tr> 2249 <td class="propertyname">-fx-vgap</td> 2250 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2251 <td class="default">0</td> 2252 <td> </td> 2253 </tr> 2254 <tr> 2255 <td class="propertyname">-fx-alignment</td> 2256 <td class="value">[ top-left | top-center | top-right | center-left | 2257 center | center-right bottom-left | bottom-center | bottom-right | 2258 baseline-left | baseline-center | baseline-right ]</td> 2259 <td class="default">top-left</td> 2260 <td> </td> 2261 </tr> 2262 <tr> 2263 <td class="propertyname">-fx-column-halignment</td> 2264 <td class="value">[ left | center | right ]</td> 2265 <td class="default">left</td> 2266 <td> </td> 2267 </tr> 2268 <tr> 2269 <td class="propertyname">-fx-row-valignment</td> 2270 <td class="value">[ top | center | baseline | bottom ] </td> 2271 <td class="default">center</td> 2272 <td> </td> 2273 </tr> 2274 <tr> 2275 <td class="propertyname">-fx-orientation</td> 2276 <td class="value">[ horizontal | vertical ]</td> 2277 <td class="default">horizontal</td> 2278 <td> </td> 2279 </tr> 2280 <tr> 2281 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 2282 </tr> 2283 </tbody> 2284 </table> 2285 <h4><a name="gridpane" id="gridpane">GridPane</a></h4> 2286 <p class="styleclass">Style class: empty by default</p> 2287 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2288 <thead> 2289 <tr> 2290 <th class="propertyname">CSS Property</th> 2291 <th class="value">Values</th> 2292 <th class="default">Default</th> 2293 <th>Comments</th> 2294 <td><br> 2295 </td> 2296 </tr> 2297 </thead> 2298 <tbody> 2299 <tr> 2300 <td class="propertyname">-fx-hgap</td> 2301 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2302 <td class="default">0</td> 2303 <td> </td> 2304 <td><br> 2305 </td> 2306 </tr> 2307 <tr> 2308 <td class="propertyname">-fx-vgap</td> 2309 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2310 <td class="default">0</td> 2311 <td> </td> 2312 <td><br> 2313 </td> 2314 </tr> 2315 <tr> 2316 <td class="propertyname">-fx-alignment</td> 2317 <td class="value">[ top-left | top-center | top-right | center-left | 2318 center | center-right bottom-left | bottom-center | bottom-right | 2319 baseline-left | baseline-center | baseline-right ]</td> 2320 <td class="default">top-left</td> 2321 <td> </td> 2322 <td><br> 2323 </td> 2324 </tr> 2325 <tr> 2326 <td class="propertyname">-fx-grid-lines-visible</td> 2327 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 2328 <td class="default">false</td> 2329 <td class="range"> </td> 2330 <td> </td> 2331 </tr> 2332 <tr> 2333 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 2334 </tr> 2335 </tbody> 2336 </table> 2337 <h4><a name="hbox" id="hbox">HBox</a></h4> 2338 <p class="styleclass">Style class: empty by default</p> 2339 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2340 <thead> 2341 <tr> 2342 <th class="propertyname">CSS Property</th> 2343 <th class="value">Values</th> 2344 <th>Default</th> 2345 <th>Comments</th> 2346 </tr> 2347 </thead> 2348 <tbody> 2349 <tr> 2350 <td class="propertyname">-fx-spacing</td> 2351 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2352 <td>0</td> 2353 <td> </td> 2354 </tr> 2355 <tr> 2356 <td class="propertyname">-fx-alignment</td> 2357 <td class="value">[ top-left | top-center | top-right | center-left | 2358 center | center-right bottom-left | bottom-center | bottom-right | 2359 baseline-left | baseline-center | baseline-right ]</td> 2360 <td class="default">top-left</td> 2361 <td> </td> 2362 </tr> 2363 <tr> 2364 <td class="propertyname">-fx-fill-height</td> 2365 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 2366 <td class="default">true</td> 2367 <td> </td> 2368 </tr> 2369 <tr> 2370 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 2371 </tr> 2372 </tbody> 2373 </table> 2374 <h4><a name="pane" id="pane">Pane</a></h4> 2375 <p class="styleclass">Style class: empty by default</p> 2376 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2377 <thead> 2378 <tr> 2379 <th class="propertyname">CSS Property</th> 2380 <th class="value">Values</th> 2381 <th class="default">Default</th> 2382 <th>Comments</th> 2383 </tr> 2384 </thead> 2385 <tbody> 2386 <tr> 2387 <td colspan="4">Pane extends Region to expose Region's children. Pane 2388 does not add any addtional CSS properties.</td> 2389 </tr> 2390 <tr> 2391 <td colspan="4" class="parents">Also has all properties of <a href="#region">Region</a></td> 2392 </tr> 2393 </tbody> 2394 </table> 2395 <br> 2396 <h4><a name="region" id="region">Region</a></h4> 2397 <p class="styleclass">Style class: empty by default</p> 2398 <p>A Region is a Node (extending from Parent) with backgrounds and borders 2399 that are styleable via CSS. A Region is typically a rounded rectangle, 2400 though this can be modified through CSS to be an arbitrary shape. Regions 2401 can contain other Region objects (sub-regions) or they can contain 2402 sub-controls. All Regions have the same set of CSS properties as described 2403 below. </p> 2404 <p>Each Region consists of several layers, painted from bottom to top, in 2405 this order:</p> 2406 <ol> 2407 <li>background fills</li> 2408 <li>background images</li> 2409 <li>border strokes</li> 2410 <li>border images</li> 2411 <li>contents</li> 2412 </ol> 2413 <p>The background and border mechanisms are patterned after the CSS 3 draft 2414 backgrounds and borders module. See <a href="#references">[4]</a> for a 2415 detailed description.</p> 2416 <p>Background fills are specified with the properties <span class="propertyname">-fx-background-color</span>, 2417 <span class="propertyname">-fx-background-radius</span> and <span class="propertyname">-fx-background-insets</span>. 2418 The -fx-background-color property is a series of one or more 2419 comma-separated <paint> values. The number of values in the series 2420 determines the number of background rectangles that are painted. 2421 Background rectangles are painted in the order specified using the given 2422 <paint> value. Each background rectangle can have different radii 2423 and insets. The -fx-background-radius and -fx-background-insets properties 2424 are series of comma-separated values (or sets of values). The radius and 2425 insets values used for a particular background are the found in the 2426 corresponding position in the -fx-background-radius and 2427 -fx-background-insets series. For example, suppose a series of three 2428 values is given for the -fx-background-color property. A series of three 2429 values should also be specified for the -fx-background-radius and 2430 -fx-background-insets properties. The first background will be painted 2431 using the first radius value and first insets value, the second background 2432 will be painted with the second radius value and second insets value, and 2433 so forth.</p> 2434 <p>Note also that properties such as -fx-background-radius and 2435 -fx-background-insets can contain a series of values or <span style="font-style:italic;">sets</span> of 2436 four values. A set of values is separated by whitespace, whereas the 2437 values or sets-of-values in a series are separated by commas. For 2438 -fx-background-radius, a single value indicates that the value should be 2439 used for the radius of all four corners of the background rectangle. A set 2440 of four values indicates that different radius values are to be used for 2441 the top-left, top-right, bottom-right, and bottom-left corners, in that 2442 order. Similarly, the -fx-background-insets property can also contain a 2443 series of values or sets of values. A set of four values for 2444 -fx-background-insets indicates that different insets are to be used for 2445 the top, right, bottom, and left edges of the rectangle, in that order.</p> 2446 <p>Background images are specified with the properties <span class="propertyname">-fx-background-image</span>, 2447 <span class="propertyname">-fx-background-repeat</span>, <span class="propertyname">-fx-background-position</span> 2448 and <span class="propertyname">-fx-background-size</span>. The number of 2449 images in the series of -fx-background-image values determines the number 2450 of background images that are painted. The -fx-background-repeat, 2451 -fx-background-position, and -fx-background-size properties each can 2452 contain a series of values. For each item in the -fx-background-image 2453 series, the corresponding items in the -fx-background-repeat, 2454 -fx-background-position, and -fx-background-size properties are applied to 2455 that background image.</p> 2456 <p>Stroked borders are specified with the properties <span class="propertyname">-fx-border-color</span>, 2457 <span class="propertyname">-fx-border-style</span>, <span class="propertyname">-fx-border-width</span>, 2458 <span class="propertyname">-fx-border-radius</span> and <span class="propertyname">-fx-border-insets</span>. 2459 Each property contains a series of items. The maximum number of items in the -fx- 2460 border-color or -fx-border-style property determines the number of border layers that are painted.. 2461 Each border in the series is painted using information from the 2462 corresponding series item of the -fx-border-color, -fx-border-style, -fx-border-width, 2463 -fx-border-radius, and -fx-border-insets properties. If there is no -fx-border-color, the default color is black. 2464 if there is no -fx-border-style, the default style is solid. </p> 2465 <p>Image borders are specified with the properties <span class="propertyname">-fx-border-image-source</span>, 2466 <span class="propertyname">-fx-border-image-repeat</span>, <span class="propertyname">-fx-border-image-slice</span>, 2467 <span class="propertyname">-fx-border-image-width</span> and <span class="propertyname">-fx-border-image-insets</span>. 2468 Each property contains a series of items. The number of items in the 2469 -fx-border-image-source property determines the number of images that are 2470 painted. Each image in the series is painted using information from the 2471 corresponding series items of the -fx-border-image-repeat, 2472 -fx-border-image-slice, -fx-border-image-width, and 2473 -fx-border-image-insets properties.</p> 2474 <p>The region's contents are a sequence of nodes, like any other container. 2475 The contents are set programmatically and cannot be set via CSS.</p> 2476 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2477 <thead> 2478 <tr> 2479 <th class="propertyname">CSS Property</th> 2480 <th class="value">Values</th> 2481 <th class="default">Default</th> 2482 <th>Comments</th> 2483 </tr> 2484 </thead> 2485 <tbody> 2486 <tr> 2487 <td colspan="4" class="propertyname"><em>BACKGROUND FILLS</em> (see <a 2488 href="http://www.w3.org/TR/css3-background/#backgrounds" 2489 target="_blank">CSS 2490 Backgrounds and Borders Module Level 3: Backgrounds</a>)</td> 2491 </tr> 2492 <tr> 2493 <td class="propertyname">-fx-region-background</td> 2494 <td class="value">javafx.scene.layout.Background</td> 2495 <td class="default">null</td> 2496 <td>This cannot be set directly from CSS but is created from the property values of 2497 -fx-background-color, -fx-background-image, -fx-background-insets, -fx-background-position, 2498 -fx-background-radius, -fx-background-repeat, -fx-background-size</td> 2499 </tr> 2500 <tr> 2501 <td class="propertyname">-fx-background-color</td> 2502 <td class="value"><a href="#typepaint" class="typelink"><paint></a> 2503 [ , <a href="#typepaint" class="typelink"><paint></a> ]*</td> 2504 <td class="default">transparent</td> 2505 <td>A series of paint values separated by commas.</td> 2506 </tr> 2507 <tr> 2508 <td class="propertyname">-fx-background-insets</td> 2509 <td class="value"><a href="#typesize" class="typelink"><size></a> 2510 | <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2511 class="typelink"><size></a> 2512 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2513 class="typelink"><size></a> 2514 [ , [ <a href="#typesize" class="typelink"><size></a> | <a href="#typesize" 2515 class="typelink"><size></a> 2516 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2517 class="typelink"><size></a> 2518 <a href="#typesize" class="typelink"><size></a>] ]*</td> 2519 <td class="default">0 0 0 0</td> 2520 <td> 2521 <p>A series of size values or sets of four size values, separated by 2522 commas. A single size value means all insets are the same. 2523 Otherwise, the four values for each inset are given in the order 2524 top, right, bottom, left. Each comma-separated value or set of 2525 values in the series applies to the corresponding background 2526 color.</p> 2527 </td> 2528 </tr> 2529 <tr> 2530 <td class="propertyname">-fx-background-radius</td> 2531 <td class="value">[<a href="#typesize" class="typelink"><size></a>]{1,4} [ / [<a href="#typesize" class="typelink"><size></a>]{1,4} ]? 2532 [ , [<a href="#typesize" class="typelink"><size></a>]{1,4} [ / [<a href="#typesize" class="typelink"><size></a>]{1,4} ]? ]* 2533 <td class="default">0 0 0 0</td> 2534 <td> 2535 <p>The same syntax and semenatics as CSS Backgrounds and Borders Module Level 3: <a href="http://www.w3.org/TR/css3-background/#the-border-radius">Curve Radii</a> 2536 applies to -fx-background-radius. Note that JavaFX supports only the short-hand syntax.</p> 2537 <p>Each comma-separated value or set of values in the series applies to the corresponding background color.</p> 2538 </td> 2539 </tr> 2540 <tr> 2541 <td colspan="4" class="propertyname"><em>BACKGROUND IMAGES</em> (see <a 2542 href="http://www.w3.org/TR/css3-background/#the-background-image" 2543 target="_blank">CSS 2544 Backgrounds and Borders Module Level 3: Background Image</a>)</td> 2545 </tr> 2546 <tr> 2547 <td class="propertyname">-fx-background-image</td> 2548 <td class="value"><a href="#typeurl" class="typelink"><uri></a> 2549 [ , <a href="#typeurl" class="typelink"><uri></a> ]*</td> 2550 <td class="default">null</td> 2551 <td>A series of image URIs separated by commas.</td> 2552 </tr> 2553 <tr> 2554 <td class="propertyname">-fx-background-position</td> 2555 <td class="value"> 2556 <p><bg-position> [ , <bg-position> ]*<br> 2557 <strong>where</strong> <bg-position> = [<br> 2558 [ [ <a href="#typesize" class="typelink"><size></a> 2559 | left | center | right ] [ <a href="#typesize" class="typelink"><size></a> 2560 | top | center | bottom ]? ]<br> 2561 | [ [ center | [ left | right ] <a href="#typesize" 2562 class="typelink"><size></a>? 2563 ] || [ center | [ top | bottom ] <a href="#typesize" class="typelink"><size></a>? 2564 ]<br> 2565 ] </p> 2566 </td> 2567 <td class="default">0% 0%</td> 2568 <td> 2569 <p>A series of <bg-position> values separated by commas. Each 2570 bg-position item in the series applies to the corresponding image 2571 in the background-image series.</p> 2572 </td> 2573 </tr> 2574 <tr> 2575 <td class="propertyname">-fx-background-repeat</td> 2576 <td class="value"><repeat-style> [ , <repeat-style> ]*<br> 2577 <strong>where</strong> <repeat-style> = repeat-x | repeat-y | 2578 [repeat | space | round | stretch | no-repeat]{1,2}</td> 2579 <td class="default">repeat repeat</td> 2580 <td> 2581 <p>A series of <repeat-style> values separated by commas. Each 2582 repeat-style item in the series applies to the corresponding image 2583 in the background-image series.</p> 2584 </td> 2585 </tr> 2586 <tr> 2587 <td class="propertyname">-fx-background-size</td> 2588 <td class="value"><bg-size> [ , <bg-size> ]*<br> 2589 <bg-size> = [ <a href="#typesize" class="typelink"><size></a> 2590 | auto ]{1,2} | cover | contain | stretch</td> 2591 <td class="default">auto auto</td> 2592 <td> 2593 <p>A series of <bg-size> values separated by commas. Each 2594 bg-size item in the series applies to the corresponding image in 2595 the background-image series.</p> 2596 </td> 2597 </tr> 2598 <tr> 2599 <td colspan="4" class="propertyname"><em>STROKED BORDERS</em> (see <a 2600 href="http://www.w3.org/TR/css3-background/#borders" 2601 target="_blank">CSS Backgrounds and Borders Module Level 3: Borders</a>) 2602 <div><em>BORDER IMAGES</em> (see <a href="http://www.w3.org/TR/css3-background/#border-images" 2603 target="_blank">CSS 2604 Backgrounds and Borders Module Level 3: Border Images</a>)</div> 2605 </td> 2606 </tr> 2607 2608 <tr> 2609 <td class="propertyname">-fx-region-border</td> 2610 <td class="value">javafx.scene.layout.Border</td> 2611 <td class="default">null</td> 2612 <td>This cannot be set directly from CSS but is created from the property values of 2613 -fx-border-color, -fx-border-insets, -fx-border-radius, -fx-border-style, -fx-border-width, 2614 -fx-border-image-insets, -fx-border-image-repeat, -fx-border-image-slice, -fx-border-image-source, 2615 -fx-border-image-width</td> 2616 </tr> 2617 <tr> 2618 <td class="propertyname">-fx-border-color</td> 2619 <td class="value"><a href="#typepaint" class="typelink"><paint></a> 2620 | <a href="#typepaint" class="typelink"><paint></a> <a href="#typepaint" 2621 class="typelink"><paint></a> 2622 <a href="#typepaint" class="typelink"><paint></a> <a href="#typepaint" 2623 class="typelink"><paint></a> 2624 [ , [<a href="#typepaint" class="typelink"><paint></a> | <a href="#typepaint" 2625 class="typelink"><paint></a> 2626 <a href="#typepaint" class="typelink"><paint></a> <a href="#typepaint" 2627 class="typelink"><paint></a> 2628 <a href="#typepaint" class="typelink"><paint></a>] ]*</td> 2629 <td class="default">null</td> 2630 <td> 2631 <p>A series of paint values or sets of four paint values, separated 2632 by commas. For each item in the series, if a single paint value is 2633 specified, then that paint is used as the border for all sides of 2634 the region; and if a set of four paints is specified, they are 2635 used for the top, right, bottom, and left borders of the region, 2636 in that order. If the border is not rectangular, only the first 2637 paint value in the set is used.</p> 2638 </td> 2639 </tr> 2640 <tr> 2641 <td class="propertyname">-fx-border-insets</td> 2642 <td class="value"><a href="#typesize" class="typelink"><size></a> 2643 | <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2644 class="typelink"><size></a> 2645 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2646 class="typelink"><size></a> 2647 [ , [ <a href="#typesize" class="typelink"><size></a> | <a href="#typesize" 2648 class="typelink"><size></a> 2649 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2650 class="typelink"><size></a> 2651 <a href="#typesize" class="typelink"><size></a>] ]*</td> 2652 <td class="default">null</td> 2653 <td> 2654 <p>A series of inset or sets of four inset values, separated by 2655 commas. For each item in the series, a single inset value means 2656 that all insets are the same; and if a set of four inset values is 2657 specified, they are used for the top, right, bottom, and left 2658 edges of the region, in that order. Each item in the series of 2659 insets applies to the corresponding item in the series of border 2660 colors.</p> 2661 </td> 2662 </tr> 2663 <tr> 2664 <td class="propertyname">-fx-border-radius</td> 2665 <td class="value">[<a href="#typesize" class="typelink"><size></a>]{1,4} [ / [<a href="#typesize" class="typelink"><size></a>]{1,4} ]? 2666 [ , [<a href="#typesize" class="typelink"><size></a>]{1,4} [ / [<a href="#typesize" class="typelink"><size></a>]{1,4} ]? ]* 2667 <td class="default">null</td> 2668 <td> 2669 <p>Refer to CSS Backgrounds and Borders Module Level 3: <a href="http://www.w3.org/TR/css3-background/#the-border-radius">Curve Radii</a>. 2670 JavaFX supports only the short-hand syntax.</p> 2671 <p>Each comma-separated value or set of values in the series applies to the corresponding border color.</p> 2672 </td> 2673 </tr> 2674 <tr> 2675 <td class="propertyname">-fx-border-style</td> 2676 <td class="value"> 2677 <p><border-style> [ , <border-style> ]*<br> 2678 <strong>where</strong> <border-style> = <dash-style> 2679 [phase <number>]? [centered | inside | outside]? [line-join 2680 [miter <a href="#typenumber" class="typelink"><number></a> 2681 | bevel | round]]? [line-cap [square | butt | round]]?<br> 2682 <strong>where</strong> <dash-style> = [ none | solid | 2683 dotted | dashed | segments( <number>, <number> [, 2684 <number>]*) ]</p> 2685 </td> 2686 <td class="default">null</td> 2687 <td> 2688 <p>A series of border style values, separated by commas. Each item 2689 in the series applies to the corresponding item in the series of 2690 border colors.</p> 2691 <p>The <span style="font-style:italic;">segments</span> dash-style defines a sequence representing 2692 the lengths of the dash segments. Alternate entries in the 2693 sequence represent the lengths of the opaque and transparent 2694 segments of the dashes. This corresponds to the <span style="font-style:italic;">strokeDashArray</span> 2695 variable of Shape.</p> 2696 <p>The optional <span style="font-style:italic;">phase</span> parameter defines the point in the 2697 dashing pattern that will correspond to the beginning of the 2698 stroke. This corresponds to the <span style="font-style:italic;">strokeDashOffset</span> variable 2699 of Shape.</p> 2700 </td> 2701 </tr> 2702 <tr> 2703 <td class="propertyname">-fx-border-width</td> 2704 <td class="value"><a href="#typesize" class="typelink"><size></a> 2705 | <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2706 class="typelink"><size></a> 2707 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2708 class="typelink"><size></a> 2709 [ , [ <a href="#typesize" class="typelink"><size></a> | <a href="#typesize" 2710 class="typelink"><size></a> 2711 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2712 class="typelink"><size></a> 2713 <a href="#typesize" class="typelink"><size></a>] ]*</td> 2714 <td class="default">null</td> 2715 <td> 2716 <p>A series of width or sets of four width values, separated by 2717 commas. For each item in the series, a single width value means 2718 that all border widths are the same; and if a set of four width 2719 values is specified, they are used for the top, right, bottom, and 2720 left border widths, in that order. If the border is not 2721 rectangular, only the first width value is used. Each item in the 2722 series of widths applies to the corresponding item in the series 2723 of border colors. </p> 2724 </td> 2725 </tr> 2726 <tr> 2727 <td class="propertyname">-fx-border-image-source</td> 2728 <td class="value"><a href="#typeurl" class="typelink"><uri></a> 2729 [ , <a href="#typeurl" class="typelink"><uri></a> ]*</td> 2730 <td class="default">null</td> 2731 <td> 2732 <p>A series of image URIs, separated by commas.</p> 2733 </td> 2734 </tr> 2735 <tr> 2736 <td class="propertyname">-fx-border-image-insets</td> 2737 <td class="value"><a href="#typesize" class="typelink"><size></a> 2738 | <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2739 class="typelink"><size></a> 2740 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2741 class="typelink"><size></a> 2742 [ , [ <a href="#typesize" class="typelink"><size></a> | <a href="#typesize" 2743 class="typelink"><size></a> 2744 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2745 class="typelink"><size></a> 2746 <a href="#typesize" class="typelink"><size></a>] ]*</td> 2747 <td class="default">0 0 0 0</td> 2748 <td> 2749 <p>A series of inset or sets of four inset values, separated by 2750 commas. For each item in the series, a single inset value means 2751 that all insets are the same; and if a set of four inset values is 2752 specified, they are used for the top, right, bottom, and left 2753 edges of the region, in that order. Each item in the series of 2754 insets applies to the corresponding image in the series of border 2755 images.</p> 2756 </td> 2757 </tr> 2758 <tr> 2759 <td class="propertyname">-fx-border-image-repeat</td> 2760 <td class="value"><repeat-style> [ , <repeat-style> ]*<br> 2761 <strong>where</strong> <repeat-style> = repeat-x | repeat-y | 2762 [repeat | space | round | no-repeat]{1,2}</td> 2763 <td class="default">repeat repeat</td> 2764 <td> 2765 <p>A series of repeat-style values, separated by commas. Each item 2766 in the series applies to the corresponding image in the series of 2767 border images.</p> 2768 </td> 2769 </tr> 2770 <tr> 2771 <td class="propertyname">-fx-border-image-slice</td> 2772 <td class="value"> 2773 <p>[<a href="#typesize" class="typelink"><size></a> | <a href="#typesize" 2774 class="typelink"><size></a> 2775 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2776 class="typelink"><size></a> 2777 <a href="#typesize" class="typelink"><size></a> ] fill? [ , 2778 [ <a href="#typesize" class="typelink"><size></a> | <a href="#typesize" 2779 class="typelink"><size></a> 2780 <a 2781 href="#typesize" 2782 class="typelink"><size></a> 2783 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2784 class="typelink"><size></a> 2785 <a href="#typesize" class="typelink"><size></a> ] fill? ]*</p> 2786 </td> 2787 <td class="default">100%</td> 2788 <td> 2789 <p>A series of image slice values or sets of four values, separated 2790 by commas. Each item in the series applies to the corresponding 2791 image in the series of border images. For each item in the series, 2792 if four values are given, they specify the size of the top, right, 2793 bottom, and left slices. This effectively divides the image into 2794 nine regions: an upper left corner, a top edge, an upper right 2795 corner, a right edge, a lower right corner, a bottom edge, a lower 2796 left corner, a left edge and a middle. If one value is specified, 2797 this value is used for the slice values for all four edges. If 2798 'fill' is present, the middle slice is preserved, otherwise it is 2799 discarded. Percentage values may be used here, in which case the 2800 values are considered proportional to the source image.</p> 2801 </td> 2802 </tr> 2803 <tr> 2804 <td class="propertyname">-fx-border-image-width</td> 2805 <td class="value"><a href="#typesize" class="typelink"><size></a> 2806 | <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2807 class="typelink"><size></a> 2808 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2809 class="typelink"><size></a> 2810 [ , [ <a href="#typesize" class="typelink"><size></a> | <a href="#typesize" 2811 class="typelink"><size></a> 2812 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2813 class="typelink"><size></a> 2814 <a href="#typesize" class="typelink"><size></a>] ]*</td> 2815 <td class="default">1 1 1 1</td> 2816 <td> 2817 <p>A series of width or sets of four width values, separated by 2818 commas. For each item in the series, a single width value means 2819 that all border widths are the same; and if a set of four width 2820 values is specified, they are used for the top, right, bottom, and 2821 left border widths, in that order. If the border is not 2822 rectangular, only the first width value is used. Each item in the 2823 series of widths applies to the corresponding item in the series 2824 of border images. Percentage values may be used here, in which 2825 case the values are considered proportional to the border image 2826 area.</p> 2827 </td> 2828 </tr> 2829 <tr> 2830 <td colspan="4" class="propertyname"><span style="font-style:italic;">OTHER</span></td> 2831 </tr> 2832 <tr> 2833 <td class="propertyname">-fx-padding</td> 2834 <td class="value"><a href="#typesize" class="typelink"><size></a> 2835 | <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2836 class="typelink"><size></a> 2837 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 2838 class="typelink"><size></a> 2839 </td> 2840 <td class="default">0 0 0 0</td> 2841 <td> 2842 <p>A sets of four padding values, separated by commas. For each item 2843 in the series, a single padding value means that all padding are 2844 the same; and if a set of four padding values is specified, they 2845 are used for the top, right, bottom, and left edges of the region, 2846 in that order.</p> 2847 </td> 2848 </tr> 2849 <tr> 2850 <td class="propertyname">-fx-position-shape</td> 2851 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 2852 <td class="default">true</td> 2853 <td>If <strong>true</strong> means the shape centered within the 2854 region's width and height, otherwise the shape is positioned at its 2855 source position. Has no effect if a shape string is not specified.</td> 2856 </tr> 2857 <tr> 2858 <td class="propertyname">-fx-scale-shape</td> 2859 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 2860 <td class="default">true</td> 2861 <td>If <strong>true</strong> means the shape is scaled to fit the 2862 size of the region, otherwise the shape is at its source size, and 2863 its position depends on the value of the position-shape property. 2864 Has no effect if a shape string is not specified.</td> 2865 </tr> 2866 <tr> 2867 <td class="propertyname">-fx-shape</td> 2868 <td class="value">"<a href="#typestring" class="typelink"><string></a>"</td> 2869 <td class="default">null</td> 2870 <td>An SVG path string. By specifying a shape here the region takes on 2871 that shape instead of a rectangle or rounded rectangle. The syntax 2872 of this path string is specified in <a href="#references">[3]</a>.</td> 2873 </tr> 2874 <tr> 2875 <td class="propertyname">-fx-snap-to-pixel</td> 2876 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 2877 <td class="default">true</td> 2878 <td>Defines whether this region rounds position/spacing and ceils size 2879 values to pixel boundaries when laying out its children.</td> 2880 </tr> 2881 <tr> 2882 <td class="propertyname">-fx-region-background</td> 2883 <td class="value"> </td> 2884 <td class="default">null</td> 2885 <td>This property is set by specifying -fx-background-color and/or -fx-background-image. 2886 Optionally, the properties -fx-background-insets, -fx-background-radius, 2887 -fx-background-position, -fx-background-repeat, and -fx-background-size may also be set. 2888 In order to set the Region background to null, 2889 specify the style "-fx-background-color: null; -fx-background-image: null;". There is no 2890 shorthand notation for -fx-region-background at this time.</td> 2891 </tr> 2892 <tr> 2893 <td class="propertyname">-fx-region-border</td> 2894 <td class="value"> </td> 2895 <td class="default">null</td> 2896 <td>This property is set by specifying -fx-border-color and/or -fx-border-image. 2897 Optionally -fx-border-insets, -fx-border-radius, -fx-border-style, 2898 -fx-border-width, -fx-border-image-insets, -fx-border-image-repeat, 2899 -fx-border-image-slice and -fx-border-image-width may be specified. 2900 In order to set the Region background to null, 2901 specify the style "-fx-border-color: null; -fx-border-image: null;". There is no 2902 shorthand notation for -fx-region-border at this time.</td> 2903 </tr> 2904 <tr> 2905 <td class="propertyname">-fx-min-height, -fx-pref-height, -fx-max-height</td> 2906 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2907 <td class="default">-1</td> 2908 <td>Percentage values are not useful since the actual value would be 2909 computed from the width and/or height of the Regions's parent before 2910 the parent is laid out.</td> 2911 </tr> 2912 <tr> 2913 <td class="propertyname">-fx-min-width, -fx-pref-width, -fx-max-width</td> 2914 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2915 <td class="default">-1</td> 2916 <td>Percentage values are not useful since the actual value would be 2917 computed from the width and/or height of the Region's parent before 2918 the parent is laid out.</td> 2919 </tr> 2920 <tr> 2921 <td colspan="4" class="parents">Also has all properties of <a href="#parent">Parent</a><br> 2922 </td> 2923 </tr> 2924 </tbody> 2925 </table> 2926 <br> 2927 <h4><a name="stackpane" id="stackpane">StackPane</a></h4> 2928 <p class="styleclass">Style class: empty by default</p> 2929 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2930 <thead> 2931 <tr> 2932 <th class="propertyname">CSS Property</th> 2933 <th class="value">Values</th> 2934 <th>Default</th> 2935 <th>Comments</th> 2936 </tr> 2937 </thead> 2938 <tbody> 2939 <tr> 2940 <td class="propertyname">-fx-alignment</td> 2941 <td class="value">[ top-left | top-center | top-right | center-left | 2942 center | center-right bottom-left | bottom-center | bottom-right | 2943 baseline-left | baseline-center | baseline-right ]</td> 2944 <td class="default">top-left</td> 2945 <td> </td> 2946 </tr> 2947 <tr> 2948 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 2949 </tr> 2950 </tbody> 2951 </table> 2952 <h4><a name="tilepane" id="tilepane">TilePane</a></h4> 2953 <p class="styleclass">Style class: empty by default</p> 2954 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 2955 <thead> 2956 <tr> 2957 <th class="propertyname">CSS Property</th> 2958 <th class="value">Values</th> 2959 <th class="default">Default</th> 2960 <th>Comments</th> 2961 </tr> 2962 </thead> 2963 <tbody> 2964 <tr> 2965 <td class="propertyname">-fx-orientation</td> 2966 <td class="value">[ horizontal | vertical ]</td> 2967 <td class="default">horizontal</td> 2968 <td> </td> 2969 </tr> 2970 <tr> 2971 <td class="propertyname">-fx-pref-rows</td> 2972 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 2973 <td class="default">5</td> 2974 <td> </td> 2975 </tr> 2976 <tr> 2977 <td class="propertyname">-fx-pref-columns</td> 2978 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 2979 <td class="default">5</td> 2980 <td> </td> 2981 </tr> 2982 <tr> 2983 <td class="propertyname">-fx-pref-tile-width</td> 2984 <td class="value"><a href="#typenumber" class="typelink"><size></a></td> 2985 <td class="default">-1</td> 2986 <td> </td> 2987 </tr> 2988 <tr> 2989 <td class="propertyname">-fx-pref-tile-height</td> 2990 <td class="value"><a href="#typenumber" class="typelink"><size></a></td> 2991 <td class="default">-1</td> 2992 <td> </td> 2993 </tr> 2994 <tr> 2995 <td class="propertyname">-fx-hgap</td> 2996 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 2997 <td class="default">0</td> 2998 <td> </td> 2999 </tr> 3000 <tr> 3001 <td class="propertyname">-fx-vgap</td> 3002 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3003 <td class="default">0</td> 3004 <td> </td> 3005 </tr> 3006 <tr> 3007 <td class="propertyname">-fx-alignment</td> 3008 <td class="value">[ top-left | top-center | top-right | center-left | 3009 center | center-right bottom-left | bottom-center | bottom-right | 3010 baseline-left | baseline-center | baseline-right ]</td> 3011 <td class="default">top-left</td> 3012 <td> </td> 3013 </tr> 3014 <tr> 3015 <td class="propertyname">-fx-tile-alignment</td> 3016 <td class="value">[ top-left | top-center | top-right | center-left | 3017 center | center-right bottom-left | bottom-center | bottom-right | 3018 baseline-left | baseline-center | baseline-right ]</td> 3019 <td class="default">center</td> 3020 <td> </td> 3021 </tr> 3022 <tr> 3023 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 3024 </tr> 3025 </tbody> 3026 </table> 3027 <h4><a name="vbox" id="vbox">VBox</a></h4> 3028 <p class="styleclass">Style class: empty by default</p> 3029 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3030 <thead> 3031 <tr> 3032 <th class="propertyname">CSS Property</th> 3033 <th class="value">Values</th> 3034 <th>Default</th> 3035 <th>Comments</th> 3036 </tr> 3037 </thead> 3038 <tbody> 3039 <tr> 3040 <td class="propertyname">-fx-spacing</td> 3041 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3042 <td>0</td> 3043 <td> </td> 3044 </tr> 3045 <tr> 3046 <td class="propertyname">-fx-alignment</td> 3047 <td class="value">[ top-left | top-center | top-right | center-left | 3048 center | center-right bottom-left | bottom-center | bottom-right | 3049 baseline-left | baseline-center | baseline-right ]</td> 3050 <td class="default">top-left</td> 3051 <td> </td> 3052 </tr> 3053 <tr> 3054 <td class="propertyname">-fx-fill-width</td> 3055 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3056 <td class="default">true</td> 3057 <td> </td> 3058 </tr> 3059 <tr> 3060 <td colspan="4" class="parents">Also has all properties of <a href="#pane">Pane</a></td> 3061 </tr> 3062 </tbody> 3063 </table> 3064 3065 <table summary="property table" class="package" width="100%"> 3066 <tbody> 3067 <tr> 3068 <td>javafx.scene.media</td> 3069 </tr> 3070 </tbody> 3071 </table> 3072 <h4><a name="mediaview" id="mediaview">MediaView</a></h4> 3073 <p class="styleclass">Style class: media-view</p> 3074 3075 <table summary="property table" class="package" width="100%"> 3076 <tbody> 3077 <tr> 3078 <td>javafx.scene.shape</td> 3079 </tr> 3080 </tbody> 3081 </table> 3082 <h4><a name="shape" id="shape">Shape</a></h4> 3083 <p class="styleclass">Style class: empty by default</p> 3084 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3085 <thead> 3086 <tr> 3087 <th class="propertyname">CSS Property</th> 3088 <th class="value">Values</th> 3089 <th>Default</th> 3090 <th>Comments</th> 3091 </tr> 3092 </thead> 3093 <tbody> 3094 <tr> 3095 <td class="propertyname">-fx-fill</td> 3096 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 3097 <td>BLACK</td> 3098 <td> </td> 3099 </tr> 3100 <tr> 3101 <td class="propertyname">-fx-smooth</td> 3102 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3103 <td>true</td> 3104 <td> </td> 3105 </tr> 3106 <tr> 3107 <td class="propertyname">-fx-stroke</td> 3108 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 3109 <td>null</td> 3110 <td> </td> 3111 </tr> 3112 <tr> 3113 <td class="propertyname">-fx-stroke-type</td> 3114 <td class="value">[ inside | outside | centered ]</td> 3115 <td>centered</td> 3116 <td> </td> 3117 </tr> 3118 <tr> 3119 <td class="propertyname">-fx-stroke-dash-array</td> 3120 <td class="value"><a href="#typesize" class="typelink"><size></a>[ 3121 <a href="#typesize" class="typelink"><size></a>]+</td> 3122 <td>see comment</td> 3123 <td>The initial value is that of an empty array, effectively a solid line. 3124 </tr> 3125 <tr> 3126 <td class="propertyname">-fx-stroke-dash-offset</td> 3127 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 3128 <td>0</td> 3129 <td> </td> 3130 </tr> 3131 <tr> 3132 <td class="propertyname">-fx-stroke-line-cap</td> 3133 <td class="value">[ square | butt | round ] </td> 3134 <td>square</td> 3135 <td> </td> 3136 </tr> 3137 <tr> 3138 <td class="propertyname">-fx-stroke-line-join</td> 3139 <td class="value">[ miter | bevel | round ] </td> 3140 <td>miter</td> 3141 <td> </td> 3142 </tr> 3143 <tr> 3144 <td class="propertyname">-fx-stroke-miter-limit</td> 3145 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 3146 <td>10</td> 3147 <td> </td> 3148 </tr> 3149 <tr> 3150 <td class="propertyname">-fx-stroke-width</td> 3151 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3152 <td>1</td> 3153 <td> </td> 3154 </tr> 3155 <tr> 3156 <td colspan="4" class="parents">Also has all properties of <a href="#node">Node</a></td> 3157 </tr> 3158 </tbody> 3159 </table> 3160 <h4><a name="arc" id="arc">Arc</a></h4> 3161 <p class="styleclass">Style class: empty by default</p> 3162 <p>The Arc node has all the properties of <a href="#shape">Shape</a> and <a 3163 href="#node">Node</a>.</p> 3164 <h4><a name="circle" id="circle">Circle</a></h4> 3165 <p class="styleclass">Style class: empty by default</p> 3166 <p>The Circle node has all the properties of <a href="#shape">Shape</a> and 3167 <a href="#node">Node</a>.</p> 3168 <h4><a name="cubiccurve" id="cubiccurve">CubicCurve</a></h4> 3169 <p class="styleclass">Style class: empty by default</p> 3170 <p>The CubicCurve node has all the properties of <a href="#shape">Shape</a> 3171 and <a href="#node">Node</a>.</p> 3172 <h4><a name="ellipse" id="ellipse">Ellipse</a></h4> 3173 <p class="styleclass">Style class: empty by default</p> 3174 <p>The Ellipse node has all the properties of <a href="#shape">Shape</a> 3175 and <a href="#node">Node</a>.</p> 3176 <h4><a name="line" id="line">Line</a></h4> 3177 <p class="styleclass">Style class: empty by default</p> 3178 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3179 <thead> 3180 <tr> 3181 <th class="propertyname">CSS Property</th> 3182 <th class="value">Values</th> 3183 <th>Default</th> 3184 <th>Comments</th> 3185 </tr> 3186 </thead> 3187 <tbody> 3188 <tr> 3189 <td class="propertyname">-fx-fill</td> 3190 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 3191 <td>null</td> 3192 <td></td> 3193 </tr> 3194 <tr> 3195 <td class="propertyname">-fx-stroke</td> 3196 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 3197 <td>black</td> 3198 <td></td> 3199 </tr> 3200 <tr> 3201 <td colspan="4" class="parents">Also has all properties of <a href="#node">Shape</a></td> 3202 </tr> 3203 </tbody> 3204 </table> 3205 <h4><a name="path" id="path">Path</a></h4> 3206 <p class="styleclass">Style class: empty by default</p> 3207 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3208 <thead> 3209 <tr> 3210 <th class="propertyname">CSS Property</th> 3211 <th class="value">Values</th> 3212 <th>Default</th> 3213 <th>Comments</th> 3214 </tr> 3215 </thead> 3216 <tbody> 3217 <tr> 3218 <td class="propertyname">-fx-fill</td> 3219 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 3220 <td>null</td> 3221 <td></td> 3222 </tr> 3223 <tr> 3224 <td class="propertyname">-fx-stroke</td> 3225 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 3226 <td>black</td> 3227 <td></td> 3228 </tr> 3229 <tr> 3230 <td colspan="4" class="parents">Also has all properties of <a href="#node">Shape</a></td> 3231 </tr> 3232 </tbody> 3233 </table> 3234 <h4><a name="polygon" id="polygon">Polygon</a></h4> 3235 <p class="styleclass">Style class: empty by default</p> 3236 <p>The Polygon node has all the properties of <a href="#shape">Shape</a> 3237 and <a href="#node">Node</a>.</p> 3238 <h4><a name="quadcurve" id="quadcurve">QuadCurve</a></h4> 3239 <p class="styleclass">Style class: empty by default</p> 3240 <p>The QuadCurve node has all the properties of <a href="#shape">Shape</a> 3241 and <a href="#node">Node</a>.</p> 3242 <h4><a name="rectangle" id="rectangle">Rectangle</a></h4> 3243 <p class="styleclass">Style class: empty by default</p> 3244 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3245 <thead> 3246 <tr> 3247 <th class="propertyname">CSS Property</th> 3248 <th class="value">Values</th> 3249 <th>Default</th> 3250 <th>Comments</th> 3251 </tr> 3252 </thead> 3253 <tbody> 3254 <tr> 3255 <td class="propertyname">-fx-arc-height</td> 3256 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3257 <td>0</td> 3258 <td> </td> 3259 </tr> 3260 <tr> 3261 <td class="propertyname">-fx-arc-width</td> 3262 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3263 <td>0</td> 3264 <td> </td> 3265 </tr> 3266 <tr> 3267 <td colspan="4" class="parents">Also has all properties of <a href="#shape">Shape</a></td> 3268 </tr> 3269 </tbody> 3270 </table> 3271 <h4><a name="svgpath" id="svgpath">SVGPath</a></h4> 3272 <p class="styleclass">Style class: empty by default</p> 3273 <p>The SVGPath node has all the properties of <a href="#shape">Shape</a> 3274 and <a href="#node">Node</a>.</p> 3275 <table summary="property table" class="package" width="100%"> 3276 <tbody> 3277 <tr> 3278 <td>javafx.scene.text</td> 3279 </tr> 3280 </tbody> 3281 </table> 3282 <h4><a name="text" id="text">Text</a></h4> 3283 <p class="styleclass">Style class: empty by default</p> 3284 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3285 <thead> 3286 <tr> 3287 <th class="propertyname">CSS Property</th> 3288 <th class="value">Values</th> 3289 <th>Default</th> 3290 <th>Comments</th> 3291 </tr> 3292 </thead> 3293 <tbody> 3294 <tr> 3295 <td class="propertyname">-fx-font</td> 3296 <td class="value"><a href="#typefont" class="typelink"><font></a></td> 3297 <td>Font.DEFAULT</td> 3298 <td>inherits</td> 3299 </tr> 3300 <tr> 3301 <td class="propertyname">-fx-font-smoothing-type</td> 3302 <td class="value">[ gray | lcd ] </td> 3303 <td>gray</td> 3304 <td> </td> 3305 </tr> 3306 <tr> 3307 <td class="propertyname">-fx-strikethrough</td> 3308 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3309 <td>false</td> 3310 <td> </td> 3311 </tr> 3312 <tr> 3313 <td class="propertyname">-fx-text-alignment</td> 3314 <td class="value">[ left | center | right | justify ] </td> 3315 <td>left</td> 3316 <td>inherits</td> 3317 </tr> 3318 <tr> 3319 <td class="propertyname">-fx-text-origin</td> 3320 <td class="value">[ baseline | top | bottom ] </td> 3321 <td>baseline</td> 3322 <td> </td> 3323 </tr> 3324 <tr> 3325 <td class="propertyname">-fx-underline</td> 3326 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3327 <td>false</td> 3328 <td> </td> 3329 </tr> 3330 <tr> 3331 <td colspan="4" class="parents">Also has <a href="#fontprops">font 3332 properties</a> and all properties of Shape</td> 3333 </tr> 3334 </tbody> 3335 </table> 3336 <table summary="property table" class="package" width="100%"> 3337 <tbody> 3338 <tr> 3339 <td>javafx.scene.web</td> 3340 </tr> 3341 </tbody> 3342 </table> 3343 <h4><a name="webview" id="webview">WebView</a></h4> 3344 <p class="styleclass">Style class: web-view</p> 3345 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3346 <thead> 3347 <tr> 3348 <th class="propertyname">CSS Property</th> 3349 <th class="value">Values</th> 3350 <th>Default</th> 3351 <th>Comments</th> 3352 </tr> 3353 </thead> 3354 <tbody> 3355 <tr> 3356 <td class="propertyname">-fx-context-menu-enabled</td> 3357 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3358 <td>true</td> 3359 <td> </td> 3360 </tr> 3361 <tr> 3362 <td class="propertyname">-fx-font-smoothing-type</td> 3363 <td class="value">[ gray | lcd ] </td> 3364 <td>lcd</td> 3365 <td> </td> 3366 </tr> 3367 <tr> 3368 <td class="propertyname">-fx-font-scale</td> 3369 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 3370 <td>1</td> 3371 <td> </td> 3372 </tr> 3373 <tr> 3374 <td class="propertyname">-fx-min-width</td> 3375 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3376 <td>0</td> 3377 <td> </td> 3378 </tr> 3379 <tr> 3380 <td class="propertyname">-fx-min-height</td> 3381 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3382 <td>0</td> 3383 <td> </td> 3384 </tr> 3385 <tr> 3386 <td class="propertyname">-fx-pref-width</td> 3387 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3388 <td>800</td> 3389 <td> </td> 3390 </tr> 3391 <tr> 3392 <td class="propertyname">-fx-pref-height</td> 3393 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3394 <td>600</td> 3395 <td> </td> 3396 </tr> 3397 <tr> 3398 <td class="propertyname">-fx-max-width</td> 3399 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3400 <td>Double.MAX_VALUE</td> 3401 <td> </td> 3402 </tr> 3403 <tr> 3404 <td class="propertyname">-fx-max-height</td> 3405 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3406 <td>Double.MAX_VALUE</td> 3407 <td> </td> 3408 </tr> 3409 <tr> 3410 <td colspan="4" class="parents">Also has all properties of <a href="#parent">Parent</a></td> 3411 </tr> 3412 </tbody> 3413 </table> 3414 <!-- Controls --> 3415 <table summary="property table" class="package" width="100%"> 3416 <tbody> 3417 <tr> 3418 <td><a name="controls">javafx.scene.control</a></td> 3419 </tr> 3420 </tbody> 3421 </table> 3422 <p>Since JavaFX 2.0, the default skins for all controls support styling from 3423 CSS. This is accomplished by building the skins from layout objects called 3424 Regions. Most of the style properties for a control are provided by the 3425 Region objects that comprise the control's skin. Each Region object of the 3426 skin's substructure has its own style‑class so that it can be styled 3427 specifically. The control itself will sometimes provide CSS properties in 3428 addition to those provided by its Regions. Finally, controls may also 3429 define pseudo‑classes such as "vertical" and "horizontal" in addition to 3430 those defined by Node.</p> 3431 <p>With the following exceptions, controls are focus traversable. This means that <a href="#control">Control</a> sets the initial value 3432 of the focusTraversable property true; whereas in <a href="#node">Node</a>, the initial value of the focusTraversable property 3433 is false. The following controls are not focus traversable by default: Accordion, Cell, Label, MenuBar, 3434 ProgressBar, ProgressIndicator, ScrollBar, ScrollPane, Separator, SplitPane, ToolBar.</p> 3435 <h4><a name="accordion" id="accordion">Accordion</a></h4> 3436 <p class="styleclass">Style class: accordion</p> 3437 <p>The Accordion control has all the properties and pseudo‑classes of <a href="#control">Control</a></p> 3438 <h4>Substructure</h4> 3439 <ul> 3440 <li>first-titled-pane — the first TitledPane </li> 3441 </ul> 3442 <h4><a name="button" id="button">Button</a></h4> 3443 <p class="styleclass">Style class: button</p> 3444 <p>The Button control has all the properties of <a href="#buttonbase">ButtonBase</a></p> 3445 <h4>Pseudo-classes</h4> 3446 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3447 <thead> 3448 <tr> 3449 <th class="propertyname">CSS Pseudo-class</th> 3450 <th>Comments</th> 3451 </tr> 3452 </thead> 3453 <tbody> 3454 <tr> 3455 <td class="propertyname">cancel</td> 3456 <td>applies if this Button receives VK_ESC if the event is not 3457 otherwise consumed</td> 3458 </tr> 3459 <tr> 3460 <td class="propertyname">default</td> 3461 <td>applies if this Button receives VK_ENTER if the event is not 3462 otherwise consumed</td> 3463 </tr> 3464 <tr> 3465 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#buttonbase">ButtonBase</a></td> 3466 </tr> 3467 </tbody> 3468 </table> 3469 <h4><a name="buttonbase" id="buttonbase">ButtonBase</a></h4> 3470 <p>The ButtonBase control has all the properties of <a href="#labeled">Labeled</a></p> 3471 <h4>Pseudo-classes</h4> 3472 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3473 <thead> 3474 <tr> 3475 <th class="propertyname">CSS Pseudo-class</th> 3476 <th>Comments</th> 3477 </tr> 3478 </thead> 3479 <tbody> 3480 <tr> 3481 <td class="propertyname">armed</td> 3482 <td>applies when the <strong>armed</strong> variable is true</td> 3483 </tr> 3484 <tr> 3485 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#labeled">Labeled</a></td> 3486 </tr> 3487 </tbody> 3488 </table> 3489 <h4><a name="cell" id="cell">Cell</a></h4> 3490 <p class="styleclass">Style class: cell</p> 3491 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3492 <thead> 3493 <tr> 3494 <th class="propertyname">CSS Property</th> 3495 <th class="value">Values</th> 3496 <th>Default</th> 3497 <th>Comments</th> 3498 </tr> 3499 </thead> 3500 <tbody> 3501 <tr> 3502 <td class="propertyname">-fx-cell-size</td> 3503 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3504 <td>24</td> 3505 <td>The cell size. For vertical ListView or a TreeView or TableView 3506 this is the height, for a horizontal ListView this is the width.</td> 3507 </tr> 3508 <tr> 3509 <td colspan="4" class="parents">The Cell control has all the 3510 properties of <a href="#labeled">Labeled</a></td> 3511 </tr> 3512 </tbody> 3513 </table> 3514 <h4>Pseudo-classes</h4> 3515 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3516 <thead> 3517 <tr> 3518 <th class="propertyname">CSS Pseudo-class</th> 3519 <th>Comments</th> 3520 </tr> 3521 </thead> 3522 <tbody> 3523 <tr> 3524 <td class="propertyname">empty</td> 3525 <td>applies when the <strong>empty </strong>variable is true</td> 3526 </tr> 3527 <tr> 3528 <td class="propertyname">filled</td> 3529 <td>applies when the <strong>empty</strong> variable is false</td> 3530 </tr> 3531 <tr> 3532 <td class="propertyname">selected</td> 3533 <td>applies when the <strong>selected</strong> variable is true</td> 3534 </tr> 3535 <tr> 3536 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#labeled">Labeled</a></td> 3537 </tr> 3538 </tbody> 3539 </table> 3540 <h4>Substructure</h4> 3541 <ul> 3542 <li>text — a Labeled</li> 3543 </ul> 3544 <h4><a name="checkbox" id="checkbox">CheckBox</a></h4> 3545 <p class="styleclass">Style class: check-box</p> 3546 <p>The CheckBox control has all the properties of <a href="#buttonbase">ButtonBase</a></p> 3547 <h4>Pseudo-classes</h4> 3548 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3549 <thead> 3550 <tr> 3551 <th class="propertyname">CSS Pseudo-class</th> 3552 <th>Comments</th> 3553 </tr> 3554 </thead> 3555 <tbody> 3556 <tr> 3557 <td class="propertyname">selected</td> 3558 <td>applies when the <strong>selected</strong> variable is true</td> 3559 </tr> 3560 <tr> 3561 <td class="propertyname">determinate</td> 3562 <td>applies when the <strong>indeterminate </strong>variable is 3563 false</td> 3564 </tr> 3565 <tr> 3566 <td class="propertyname">indeterminate</td> 3567 <td>applies when the <strong>indeterminate </strong>variable is true</td> 3568 </tr> 3569 <tr> 3570 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#buttonbase">ButtonBase</a></td> 3571 </tr> 3572 </tbody> 3573 </table> 3574 <h4>Substructure</h4> 3575 <ul> 3576 <li>box — a StackPane 3577 <ul> 3578 <li>mark — a StackPane</li> 3579 </ul> 3580 </li> 3581 </ul> 3582 <h4><a name="checkmenuitem" id="checkmenuitem">CheckMenuItem</a></h4> 3583 <h4>Pseudo-classes</h4> 3584 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3585 <thead> 3586 <tr> 3587 <th class="propertyname">CSS Pseudo-class</th> 3588 <th>Comments</th> 3589 </tr> 3590 </thead> 3591 <tbody> 3592 <tr> 3593 <td class="propertyname">selected</td> 3594 <td>applies if this item is selected</td> 3595 </tr> 3596 </tbody> 3597 </table> 3598 <h4><a name="choicebox" id="choicebox">ChoiceBox</a></h4> 3599 <p class="styleclass">Style class: choice-box</p> 3600 <p>The ChoiceBox control has all the properties and pseudo‑classes of <a href="#control">Control</a></p> 3601 <h4>Substructure</h4> 3602 <ul> 3603 <li>open-button — Region 3604 <ul> 3605 <li>arrow — Region </li> 3606 </ul> 3607 </li> 3608 </ul> 3609 <h4><a name="colorpicker" id="colorpicker">ColorPicker</a></h4> 3610 <p class="styleclass">Style class: color-picker</p> 3611 <p>The ColorPicker control has all the properties and pseudo‑classes of <a href="#comboboxbase">ComboBoxBase</a></p> 3612 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3613 <thead> 3614 <tr> 3615 <th class="propertyname">CSS Property</th> 3616 <th class="value">Values</th> 3617 <th>Default</th> 3618 <th>Comments</th> 3619 </tr> 3620 </thead> 3621 <tbody> 3622 <tr> 3623 <td class="propertyname">-fx-color-label-visible</td> 3624 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3625 <td>true</td> 3626 <td> </td> 3627 </tr> 3628 <tr> 3629 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 3630 </tr> 3631 </tbody> 3632 </table> 3633 <h4>Substructure</h4> 3634 <ul> 3635 <li>color display node — Label</li> 3636 <li>arrow-button — StackPane 3637 <ul> 3638 <li>arrow — StackPane</li> 3639 </ul> 3640 </li> 3641 </ul> 3642 <h4><a name="combobox" id="combobox">ComboBox</a></h4> 3643 <p class="styleclass">Style class: combo-box</p> 3644 <p>The ComboBox control has all the properties and pseudo‑classes of <a href="#comboboxbase">ComboBoxBase</a></p> 3645 <h4>Substructure</h4> 3646 <ul> 3647 <li>list-cell — a ListCell instance used to show the selection in the 3648 button area of a non-editable ComboBox</li> 3649 <li>text-input — a TextField instance used to show the selection and 3650 allow input in the button area of an editable ComboBox</li> 3651 <li>combo-box-popup — a PopupControl that is displayed when the button is 3652 pressed 3653 <ul> 3654 <li>list-view — a ListView 3655 <ul> 3656 <li>list-cell — a ListCell</li> 3657 </ul> 3658 </li> 3659 </ul> 3660 </li> 3661 </ul> 3662 <h4><a name="comboboxbase" id="comboboxbase">ComboBoxBase</a></h4> 3663 <p class="styleclass">Style class: combo-box-base</p> 3664 <p>The ComboBoxBase control has all the properties of <a href="#control">Control</a></p> 3665 <h4>Substructure</h4> 3666 <ul> 3667 <li>arrow-button — a StackPane 3668 <ul> 3669 <li>arrow — a StackPane </li> 3670 </ul> 3671 </li> 3672 </ul> 3673 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3674 <thead> 3675 <tr> 3676 <th class="propertyname">CSS Pseudo-class</th> 3677 <th>Comments</th> 3678 </tr> 3679 </thead> 3680 <tbody> 3681 <tr> 3682 <td class="propertyname">editable</td> 3683 <td>applies when the <strong>editable </strong>variable is true</td> 3684 </tr> 3685 <tr> 3686 <td class="propertyname">showing</td> 3687 <td>applies when the <strong>showing </strong>variable is true</td> 3688 </tr> 3689 <tr> 3690 <td class="propertyname">armed</td> 3691 <td>applies when the <strong>armed </strong>variable is true</td> 3692 </tr> 3693 </tbody> 3694 </table> 3695 <h4><a name="contextmenu" id="contextmenu">ContextMenu</a></h4> 3696 <p class="styleclass">Style class: context-menu</p> 3697 <p>The ContextMenu class has all the properties of <a href="#poupucontrol">PopupControl</a>.</p> 3698 The selector for a ContextMenu may be made more specific by using the selector for the control from which the ContextMenu was shown. 3699 For example, 3700 <p class="example">.choice-box > .context-menu { ... }</p> 3701 <h4>Substructure</h4> 3702 <ul> 3703 <li>context-menu — a Region 3704 <ul> 3705 <li>scroll-arrow — a StackPane 3706 <ul><li>menu-up-arrow — a StackPane</li></ul> 3707 </li> 3708 <li>scroll-arrow — a StackPane 3709 <ul><li>menu-down-arrow — a StackPane</li></ul> 3710 </li> 3711 <li>* — a VBox 3712 <ul> 3713 <li>menu-item — a Region 3714 <ul> 3715 <li>label — a Label</li> 3716 <li>left-container — a StackPane (for radio buttons and check boxes)</li> 3717 <li>right-container — a StackPane (for pull-right menus) 3718 <ul> 3719 <li>arrow — a Region</li> 3720 </ul> 3721 </li> 3722 <li>graphic-container — a StackPane (for MenuItem graphic)</li> 3723 </ul> 3724 </li> 3725 </ul> 3726 </li> 3727 </ul> 3728 </li> 3729 </ul> 3730 <h4><a name="control" id="control">Control</a></h4> 3731 <p>The Control class has all the properties of <a href="#region">Region</a></p> 3732 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3733 <thead> 3734 <tr> 3735 <th class="propertyname">CSS Property</th> 3736 <th class="value">Values</th> 3737 <th>Default</th> 3738 <th>Comments</th> 3739 </tr> 3740 </thead> 3741 <tbody> 3742 <tr> 3743 <td class="propertyname">-fx-skin</td> 3744 <td class="value"><a href="#typestring" class="typelink"><string></a></td> 3745 <td>null</td> 3746 <td>The class name of the Control's Skin.</td> 3747 </tr> 3748 <tr> 3749 <td class="propertyname">-fx-focus-traversable</td> 3750 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3751 <td class="default">true</td> 3752 <td>Control sets the default value of the focusTraversable property to true. The default value 3753 of the focusTraversable property for the following controls is false: Accordion, Cell, Label, MenuBar, 3754 ProgressBar, ProgressIndicator, ScrollBar, ScrollPane, Separator, SplitPane, ToolBar.</td> 3755 </tr> 3756 </tbody> 3757 </table> 3758 <h4><a name="datepicker" id="datepicker">DatePicker</a></h4> 3759 <p class="styleclass">Style class: date-picker</p> 3760 <p>The DatePicker control has all the properties and pseudo‑classes of <a href="#comboboxbase">ComboBoxBase</a></p> 3761 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3762 <thead> 3763 <tr> 3764 <th class="propertyname">CSS Property</th> 3765 <th class="value">Values</th> 3766 <th>Default</th> 3767 <th>Comments</th> 3768 </tr> 3769 </thead> 3770 <tbody> 3771 <tr> 3772 <td class="propertyname">-fx-show-week-numbers</td> 3773 <td class="value"><a href="#typeboolean" class="typeboolean"><boolean></a></td> 3774 <td>true if the resource bundle property "DatePicker.showWeekNumbers" contains the country code.</td> 3775 <td> </td> 3776 </tr> 3777 <tr> 3778 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 3779 </tr> 3780 </tbody> 3781 </table> 3782 <h4>Substructure</h4> 3783 <ul> 3784 <li>date-picker-display-node — TextField</li> 3785 </ul> 3786 3787 <h4><a name="htmleditor" id="htmleditor">HTMLEditor</a></h4> 3788 <p class="styleclass">Style class: html-editor</p> 3789 <p>The Hyperlink control has all the properties of <a href="#control">Control</a>.</p> 3790 <h4>Substructure</h4> 3791 <ul> 3792 <li>grid — GridPane (contains WebView) 3793 <ul> 3794 <li>top-toolbar — ToolBar 3795 <ul> 3796 <li>html-editor-cut — <a href="#togglebutton">ToggleButton</a></li> 3797 <li>html-editor-copy — <a href="#togglebutton">ToggleButton</a></li> 3798 <li>html-editor-paste — <a href="#togglebutton">ToggleButton</a></li> 3799 <li>html-editor-align-left — <a href="#togglebutton">ToggleButton</a></li> 3800 <li>html-editor-align-right — <a href="#togglebutton">ToggleButton</a></li> 3801 <li>html-editor-align-center — <a href="#togglebutton">ToggleButton</a></li> 3802 <li>html-editor-align-justify — <a href="#togglebutton">ToggleButton</a></li> 3803 <li>html-editor-outdent — <a href="#togglebutton">ToggleButton</a></li> 3804 <li>html-editor-indent — <a href="#togglebutton">ToggleButton</a></li> 3805 <li>html-editor-bullets — <a href="#togglebutton">ToggleButton</a></li> 3806 <li>html-editor-numbers — <a href="#togglebutton">ToggleButton</a></li> 3807 </ul> 3808 </li> 3809 <li>web-view — <a href="#webview">WebView</a></li> 3810 <li>bottom-toolbar — ToolBar 3811 <ul> 3812 <li>format-menu-button — ComboBox</li> 3813 <li>font-family-menu-button — <a href="#combobox">ComboBox</a></li> 3814 <li>font-size-menu-button — <a href="#combobox">ComboBox</a></li> 3815 <li>html-editor-bold — <a href="#togglebutton">ToggleButton</a></li> 3816 <li>html-editor-italic — <a href="#togglebutton">ToggleButton</a></li> 3817 <li>html-editor-underline — <a href="#togglebutton">ToggleButton</a></li> 3818 <li>html-editor-strike — <a href="#togglebutton">ToggleButton</a></li> 3819 <li>html-editor-hr — <a href="#togglebutton">ToggleButton</a></li> 3820 <li>html-editor-foreground — <a href="#colorpicker">ColorPicker</a></li> 3821 <li>html-editor-background — <a href="#colorpicker">ColorPicker</a></li> 3822 3823 </ul> 3824 </li> 3825 </ul> 3826 </li> 3827 </ul> 3828 <h4><a name="hyperlink" id="hyperlink">Hyperlink</a></h4> 3829 <p class="styleclass">Style class: hyperlink</p> 3830 <p>The Hyperlink control has all the properties of <a href="#buttonbase">ButtonBase</a>.</p> 3831 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3832 <thead> 3833 <tr> 3834 <th class="propertyname">CSS Property</th> 3835 <th class="value">Values</th> 3836 <th>Default</th> 3837 <th>Comments</th> 3838 </tr> 3839 </thead> 3840 <tbody> 3841 <tr> 3842 <td class="propertyname">-fx-cursor</td> 3843 <td class="value">[ null | crosshair | default | hand | move | 3844 e-resize | h-resize | ne-resize | nw-resize | n-resize | se-resize | 3845 sw-resize | s-resize | w-resize | v-resize | text | wait ] | <a href="#typeurl" 3846 class="typelink"><url></a></td> 3847 <td class="default">hand</td> 3848 <td>inherits </td> 3849 </tr> 3850 </tbody> 3851 </table> 3852 <h4>Pseudo-classes</h4> 3853 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3854 <thead> 3855 <tr> 3856 <th class="propertyname">CSS Pseudo-class</th> 3857 <th>Comments</th> 3858 </tr> 3859 </thead> 3860 <tbody> 3861 <tr> 3862 <td class="propertyname">visited</td> 3863 <td>applies when the <strong>visited </strong>variable is true</td> 3864 </tr> 3865 <tr> 3866 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#buttonbase">ButtonBase</a></td> 3867 </tr> 3868 </tbody> 3869 </table> 3870 <h4>Substructure</h4> 3871 <ul> 3872 <li>label — Label</li> 3873 </ul> 3874 <h4><a name="indexedcell" id="indexedcell">IndexedCell</a></h4> 3875 <p class="styleclass">Style class: indexed-cell</p> 3876 <p>The IndexedCell control has all the properties of <a href="#cell">Cell</a>.</p> 3877 <h4>Pseudo-classes</h4> 3878 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3879 <thead> 3880 <tr> 3881 <th class="propertyname">CSS Pseudo-class</th> 3882 <th>Comments</th> 3883 </tr> 3884 </thead> 3885 <tbody> 3886 <tr> 3887 <td class="propertyname">even</td> 3888 <td>applies if this cell's index is even</td> 3889 </tr> 3890 <tr> 3891 <td class="propertyname">odd</td> 3892 <td>applies if this cell's index is odd</td> 3893 </tr> 3894 <tr> 3895 <td colspan="4" class="parents">Also has all pseudo‑classes of <a href="#cell">Cell</a></td> 3896 </tr> 3897 </tbody> 3898 </table> 3899 <h4><a name="label" id="label">Label</a></h4> 3900 <p class="styleclass">Style class: label</p> 3901 <p>Label has all the properties and pseudo‑class state of <a href="#labeled">Labeled</a></p> 3902 <h4><a name="labeled" id="labeled">Labeled</a></h4> 3903 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 3904 <thead> 3905 <tr> 3906 <th class="propertyname">CSS Property</th> 3907 <th class="value">Values</th> 3908 <th>Default</th> 3909 <th>Comments</th> 3910 </tr> 3911 </thead> 3912 <tbody> 3913 <tr> 3914 <td class="propertyname">-fx-alignment</td> 3915 <td class="value">[ top-left | top-center | top-right | center-left | 3916 center | center-right bottom-left | bottom-center | bottom-right | 3917 baseline-left | baseline-center | baseline-right ]</td> 3918 <td class="default">center-left</td> 3919 <td> </td> 3920 </tr> 3921 <tr> 3922 <td class="propertyname">-fx-text-alignment</td> 3923 <td class="value">[ left | center | right | justify ]</td> 3924 <td>left</td> 3925 <td>text-align from CSS spec maps to textAlignment in JavaFX</td> 3926 </tr> 3927 <tr> 3928 <td class="propertyname">-fx-text-overrun</td> 3929 <td class="value">[ center-ellipsis | center-word-ellipsis | clip | 3930 ellipsis | leading-ellipsis | leading-word-ellipsis | word-ellipsis 3931 ]</td> 3932 <td>ellipsis</td> 3933 <td> </td> 3934 </tr> 3935 <tr> 3936 <td class="propertyname">-fx-wrap-text</td> 3937 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3938 <td>false</td> 3939 <td> </td> 3940 </tr> 3941 <tr> 3942 <td class="propertyname">-fx-font</td> 3943 <td class="value"><a href="#typefont" class="typelink"><font></a></td> 3944 <td>platform dependent</td> 3945 <td>inherits<br>The initial value is that of Font.getDefault()</td> 3946 </tr> 3947 <tr> 3948 <td class="propertyname">-fx-underline</td> 3949 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 3950 <td>false</td> 3951 <td> </td> 3952 </tr> 3953 <tr> 3954 <td class="propertyname">-fx-graphic</td> 3955 <td class="value"><a href="#typeurl" class="typelink"><uri></a></td> 3956 <td>null</td> 3957 <td> </td> 3958 </tr> 3959 <tr> 3960 <td class="propertyname">-fx-content-display</td> 3961 <td class="value">[ top | right | bottom | left | center | right | 3962 graphic-only | text-only ]</td> 3963 <td>left</td> 3964 <td> </td> 3965 </tr> 3966 <tr> 3967 <td class="propertyname">-fx-graphic-text-gap</td> 3968 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 3969 <td>4</td> 3970 <td> </td> 3971 </tr> 3972 <tr> 3973 <td class="propertyname">-fx-label-padding</td> 3974 <td class="value"><a href="#typesize" class="typelink"><size></a> 3975 | <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 3976 class="typelink"><size></a> 3977 <a href="#typesize" class="typelink"><size></a> <a href="#typesize" 3978 class="typelink"><size></a></td> 3979 <td>[0,0,0,0]</td> 3980 <td> </td> 3981 </tr> 3982 <tr> 3983 <td class="propertyname">-fx-text-fill</td> 3984 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 3985 <td>black</td> 3986 <td> </td> 3987 </tr> 3988 <tr> 3989 <td class="propertyname">-fx-ellipsis-string</td> 3990 <td class="value"><a href="#typestring" class="typelink"><string></a></td> 3991 <td>...</td> 3992 <td> </td> 3993 </tr> 3994 <tr> 3995 <td colspan="4" class="parents">Also has properties of <a href="#control">Control</a></td> 3996 </tr> 3997 </tbody> 3998 </table> 3999 <h4><a name="listcell" id="listcell">ListCell</a></h4> 4000 <p class="styleclass">Style class: list-cell</p> 4001 <p>The ListCell control has all the settable properties and pseudo‑classes 4002 of <a href="#indexedcell">IndexedCell</a>.</p> 4003 <h4><a name="listview" id="listview">ListView</a></h4> 4004 <p class="styleclass">Style class: list-view</p> 4005 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4006 <thead> 4007 <tr> 4008 <th class="propertyname">CSS Property</th> 4009 <th class="value">Values</th> 4010 <th>Default</th> 4011 <th>Comments</th> 4012 </tr> 4013 </thead> 4014 <tbody> 4015 <tr> 4016 <td class="propertyname">-fx-orientation</td> 4017 <td class="value">[ horizontal | vertical ]</td> 4018 <td class="default">vertical</td> 4019 <td> </td> 4020 </tr> 4021 </tbody> 4022 </table> 4023 <h4>Pseudo-classes</h4> 4024 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4025 <thead> 4026 <tr> 4027 <th class="propertyname">CSS Pseudo-class</th> 4028 <th>Comments</th> 4029 </tr> 4030 </thead> 4031 <tbody> 4032 <tr> 4033 <td class="propertyname">horizontal</td> 4034 <td>applies if this ListView is horizontal</td> 4035 </tr> 4036 <tr> 4037 <td class="propertyname">vertical</td> 4038 <td>applies if this ListView is vertical</td> 4039 </tr> 4040 </tbody> 4041 </table> 4042 <h4>Substructure</h4> 4043 <ul>.list-view — the ListView<T> 4044 <ul>.virtual-flow — VirtualFlow 4045 <ul>.clipped-container — <a href="#region">Region</a> 4046 <ul>.sheet — Group 4047 <ul>.cell.indexed-cell.list-cell — <a href="#listcell">ListCell<T></a></ul> 4048 .scroll-bar — <a href="#scrollbar">ScrollBar</a> 4049 </ul> 4050 </ul> 4051 </ul> 4052 </ul> 4053 4054 <h4><a name="menu" id="menu">Menu</a></h4> 4055 <p class="styleclass">Style class: menu</p> 4056 <h4>Pseudo-classes</h4> 4057 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4058 <thead> 4059 <tr> 4060 <th class="propertyname">CSS Pseudo-class</th> 4061 <th>Comments</th> 4062 </tr> 4063 </thead> 4064 <tbody> 4065 <tr> 4066 <td class="propertyname">showing</td> 4067 <td>applies if this Menu is showing</td> 4068 </tr> 4069 <tr> 4070 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4071 </tr> 4072 </tbody> 4073 </table> 4074 <h4><a name="menubar" id="menubar">MenuBar</a></h4> 4075 <p class="styleclass">Style class: menu-bar</p> 4076 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4077 <thead> 4078 <tr> 4079 <th class="propertyname">CSS Property</th> 4080 <th class="value">Values</th> 4081 <th>Default</th> 4082 <th>Comments</th> 4083 </tr> 4084 </thead> 4085 <tbody> 4086 <tr> 4087 <td class="propertyname">-fx-use-system-menu-bar</td> 4088 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4089 <td>false</td> 4090 <td> </td> 4091 </tr> 4092 <tr> 4093 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4094 </tr> 4095 </tbody> 4096 </table> 4097 <p>MenuBar has all the pseudo‑class states of <a href="#control">Control</a></p> 4098 <h4>Substructure</h4> 4099 <ul> 4100 <li>menu</li> 4101 </ul> 4102 <h4><a name="menubutton" id="menubutton">MenuButton</a></h4> 4103 <p class="styleclass">Style class: menu-button</p> 4104 <p>The MenuButton control has all the properties of <a href="#buttonbase">ButtonBase</a></p> 4105 <h4>Pseudo-classes</h4> 4106 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4107 <thead> 4108 <tr> 4109 <th class="propertyname">CSS Pseudo-class</th> 4110 <th>Comments</th> 4111 </tr> 4112 </thead> 4113 <tbody> 4114 <tr> 4115 <td class="propertyname">openvertically</td> 4116 <td>applies if the <strong>openVertically</strong> variable is true</td> 4117 </tr> 4118 <tr> 4119 <td class="propertyname">showing</td> 4120 <td>applies if the <strong>showing</strong> variable is true</td> 4121 </tr> 4122 <tr> 4123 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#node">Node</a></td> 4124 </tr> 4125 </tbody> 4126 </table> 4127 <h4><a name="menuitem" id="menuitem">MenuItem</a></h4> 4128 <p class="styleclass">Style class: menu-item</p> 4129 <h4><a name="pagination" id="pagination">Pagination</a></h4> 4130 <p class="styleclass">Style class: pagination</p> 4131 <p>Pagination has all the pseudo‑class states of <a href="#control">Control</a></p> 4132 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4133 <thead> 4134 <tr> 4135 <th class="propertyname">CSS Property</th> 4136 <th class="value">Values</th> 4137 <th>Default</th> 4138 <th>Comments</th> 4139 </tr> 4140 </thead> 4141 <tbody> 4142 <tr> 4143 <td class="propertyname">-fx-max-page-indicator-count</td> 4144 <td class="value"><a href="#typesize" class="typelink"><number></a></td> 4145 <td>10</td> 4146 <td> </td> 4147 </tr> 4148 <tr> 4149 <td class="propertyname">-fx-arrows-visible</td> 4150 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4151 <td>true</td> 4152 <td> </td> 4153 </tr> 4154 <tr> 4155 <td class="propertyname">-fx-tooltip-visible</td> 4156 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4157 <td>false</td> 4158 <td>When set to true, a tooltip which shows the page number is set on the page indicators. 4159 This property controls whether or not the tooltip is visible on the page indicators and <em>does 4160 not</em> affect the visibility of the tooltip set or installed on the Pagination control itself.</td> 4161 </tr> 4162 <tr> 4163 <td class="propertyname">-fx-page-information-visible</td> 4164 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4165 <td>true</td> 4166 <td> </td> 4167 </tr> 4168 <tr> 4169 <td class="propertyname">-fx-page-information-alignment</td> 4170 <td class="value">[ top | bottom | left | right ]</td> 4171 <td>bottom</td> 4172 <td> </td> 4173 </tr> 4174 <tr> 4175 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4176 </tr> 4177 </tbody> 4178 </table> 4179 <h4>Substructure</h4> 4180 <ul> 4181 <li>page — StackPane</li> 4182 <li>pagination-control — StackPane 4183 <ul> 4184 <li>leftArrowButton — Button 4185 <ul> 4186 <li>leftArrow — StackPane</li> 4187 </ul> 4188 </li> 4189 <li>rightArrowButton — Button 4190 <ul> 4191 <li>rightArrow — StackPane</li> 4192 </ul> 4193 </li> 4194 <li>bullet-button — ToggleButton</li> 4195 <li>number-button — ToogleButton</li> 4196 <li>page-information — Label</li> 4197 </ul> 4198 </li> 4199 </ul> 4200 <h4><a name="passwordfield" id="passwordfield">PasswordField</a></h4> 4201 <p class="styleclass">Style class: password-field</p> 4202 <p>The PasswordField control has all the properties of <a href="#textfield">TextField</a></p> 4203 <h4><a name="popupcontrol" id="popupcontrol">PopupControl</a></h4> 4204 <p>PopupControl is also a <a href="#popupwindow">PopupWindow</a> and as such, its root node has the 4205 style-class .root.popup</p> 4206 <h4><a name="progressbar" id="progressbar">ProgressBar</a></h4> 4207 <p class="styleclass">Style class: progress-bar</p> 4208 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4209 <thead> 4210 <tr> 4211 <th class="propertyname">CSS Property</th> 4212 <th class="value">Values</th> 4213 <th>Default</th> 4214 <th>Comments</th> 4215 </tr> 4216 </thead> 4217 <tbody> 4218 <tr> 4219 <td class="propertyname">-fx-indeterminate-bar-length</td> 4220 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 4221 <td>60</td> 4222 <td> </td> 4223 </tr> 4224 <tr> 4225 <td class="propertyname">-fx-indeterminate-bar-escape</td> 4226 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4227 <td>true</td> 4228 <td> </td> 4229 </tr> 4230 <tr> 4231 <td class="propertyname">-fx-indeterminate-bar-flip</td> 4232 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4233 <td>true</td> 4234 <td> </td> 4235 </tr> 4236 <tr> 4237 <td class="propertyname">-fx-indeterminate-bar-animation-time</td> 4238 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 4239 <td>2.0</td> 4240 <td> </td> 4241 </tr> 4242 <tr> 4243 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4244 </tr> 4245 </tbody> 4246 </table> 4247 <h4>Pseudo-classes</h4> 4248 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4249 <thead> 4250 <tr> 4251 <th class="propertyname">CSS Pseudo-class</th> 4252 <th>Comments</th> 4253 </tr> 4254 </thead> 4255 <tbody> 4256 <tr> 4257 <td class="propertyname">determinate</td> 4258 <td>applies if the <strong>indeterminate</strong> variable is false</td> 4259 </tr> 4260 <tr> 4261 <td class="propertyname">indetermindate</td> 4262 <td>applies if the <strong>indeterminate</strong> variable is true</td> 4263 </tr> 4264 <tr> 4265 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4266 </tr> 4267 </tbody> 4268 </table> 4269 <h4>Substructure</h4> 4270 <ul> 4271 <li>track — StackPane 4272 <ul> 4273 <li>bar — Region</li> 4274 </ul> 4275 </li> 4276 </ul> 4277 <h4><a name="progressindicator" id="progressindicator">ProgressIndicator</a></h4> 4278 <p class="styleclass">Style class: progress-indicator</p> 4279 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4280 <thead> 4281 <tr> 4282 <th class="propertyname">CSS Property</th> 4283 <th class="value">Values</th> 4284 <th>Default</th> 4285 <th>Comments</th> 4286 </tr> 4287 </thead> 4288 <tbody> 4289 <tr> 4290 <td class="propertyname">-fx-indeterminate-segment-count</td> 4291 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 4292 <td>8</td> 4293 <td> </td> 4294 </tr> 4295 <tr> 4296 <td class="propertyname">-fx-progress-color</td> 4297 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 4298 <td>null</td> 4299 <td> </td> 4300 </tr> 4301 <tr> 4302 <td class="propertyname">-fx-spin-enabled</td> 4303 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 4304 <td>false</td> 4305 <td> </td> 4306 </tr> 4307 <tr> 4308 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4309 </tr> 4310 </tbody> 4311 </table> 4312 <h4>Pseudo-classes</h4> 4313 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4314 <thead> 4315 <tr> 4316 <th class="propertyname">CSS Pseudo-class</th> 4317 <th>Comments</th> 4318 </tr> 4319 </thead> 4320 <tbody> 4321 <tr> 4322 <td class="propertyname">determinate</td> 4323 <td>applies if the <strong>indeterminate</strong> variable is false</td> 4324 </tr> 4325 <tr> 4326 <td class="propertyname">indetermindate</td> 4327 <td>applies if the <strong>indeterminate</strong> variable is true</td> 4328 </tr> 4329 <tr> 4330 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4331 </tr> 4332 </tbody> 4333 </table> 4334 <h4>Substructure</h4> 4335 <ul> 4336 <li>indicator — StackPane</li> 4337 <li>progress — StackPane</li> 4338 <li>percentage — Text</li> 4339 <li>tick — StackPane</li> 4340 </ul> 4341 <h4><a name="radiobutton" id="radiobutton">RadioButton</a></h4> 4342 <p class="styleclass">Style class: radio-button</p> 4343 <p>The RadioButton control has all the properties of <a href="#togglebutton">ToggleButton</a></p> 4344 <h4>Substructure</h4> 4345 <ul> 4346 <li>radio — Region 4347 <ul> 4348 <li>dot — Region</li> 4349 </ul> 4350 </li> 4351 <li>label — Label</li> 4352 </ul> 4353 <h4><a name="radiomenuitem" id="radiomenuitem">RadioMenuItem</a></h4> 4354 <h4>Pseudo-classes</h4> 4355 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4356 <thead> 4357 <tr> 4358 <th class="propertyname">CSS Pseudo-class</th> 4359 <th>Comments</th> 4360 </tr> 4361 </thead> 4362 <tbody> 4363 <tr> 4364 <td class="propertyname">selected</td> 4365 <td>applies if this item is selected</td> 4366 </tr> 4367 </tbody> 4368 </table> 4369 <h4><a name="scrollbar" id="scrollbar">ScrollBar</a></h4> 4370 <p class="styleclass">Style class: scroll-bar</p> 4371 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4372 <thead> 4373 <tr> 4374 <th class="propertyname">CSS Property</th> 4375 <th class="value">Values</th> 4376 <th>Default</th> 4377 <th>Comments</th> 4378 </tr> 4379 </thead> 4380 <tbody> 4381 <tr> 4382 <td class="propertyname">-fx-orientation</td> 4383 <td class="value">[ horizontal | vertical ]</td> 4384 <td class="default">horizontal</td> 4385 <td> </td> 4386 </tr> 4387 <tr> 4388 <td class="propertyname">-fx-block-increment</td> 4389 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 4390 <td>10</td> 4391 <td> </td> 4392 </tr> 4393 <tr> 4394 <td class="propertyname">-fx-unit-increment</td> 4395 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 4396 <td>1</td> 4397 <td> </td> 4398 </tr> 4399 </tbody> 4400 </table> 4401 <h4>Pseudo-classes</h4> 4402 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4403 <thead> 4404 <tr> 4405 <th class="propertyname">CSS Pseudo-class</th> 4406 <th>Comments</th> 4407 </tr> 4408 </thead> 4409 <tbody> 4410 <tr> 4411 <td class="propertyname">vertical</td> 4412 <td>applies if this ScrollBar is vertical</td> 4413 </tr> 4414 <tr> 4415 <td class="propertyname">horizontal</td> 4416 <td>applies if this ScrollBar is horizontal</td> 4417 </tr> 4418 <tr> 4419 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4420 </tr> 4421 </tbody> 4422 </table> 4423 <h4>Substructure</h4> 4424 <ul> 4425 <li>decrement-button — StackPane 4426 <ul> 4427 <li>decrement-arrow — StackPane </li> 4428 </ul> 4429 </li> 4430 <li>track — StackPane</li> 4431 <li>thumb — StackPane</li> 4432 <li>increment-button — StackPane 4433 <ul> 4434 <li>increment-arrow — StackPane</li> 4435 </ul> 4436 </li> 4437 </ul> 4438 <h4><a name="scrollpane" id="scrollpane">ScrollPane</a></h4> 4439 <p class="styleclass">Style class: scroll-pane</p> 4440 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4441 <thead> 4442 <tr> 4443 <th class="propertyname">CSS Property</th> 4444 <th class="value">Values</th> 4445 <th>Default</th> 4446 <th>Comments</th> 4447 </tr> 4448 </thead> 4449 <tbody> 4450 <tr> 4451 <td class="propertyname">-fx-fit-to-width</td> 4452 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4453 <td>false</td> 4454 <td> </td> 4455 </tr> 4456 <tr> 4457 <td class="propertyname">-fx-fit-to-height</td> 4458 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4459 <td>false</td> 4460 <td> </td> 4461 </tr> 4462 <tr> 4463 <td class="propertyname">-fx-pannable</td> 4464 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4465 <td>false</td> 4466 <td> </td> 4467 </tr> 4468 <tr> 4469 <td class="propertyname">-fx-hbar-policy</td> 4470 <td class="value">[ never | always | as-needed ]</td> 4471 <td>as-needed</td> 4472 <td> </td> 4473 </tr> 4474 <tr> 4475 <td class="propertyname">-fx-vbar-policy</td> 4476 <td class="value">[ never | always | as-needed ]</td> 4477 <td>as-needed</td> 4478 <td> </td> 4479 </tr> 4480 <tr> 4481 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4482 </tr> 4483 </tbody> 4484 </table> 4485 <h4>Pseudo-classes</h4> 4486 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4487 <thead> 4488 <tr> 4489 <th class="propertyname">CSS Pseudo-class</th> 4490 <th>Comments</th> 4491 </tr> 4492 </thead> 4493 <tbody> 4494 <tr> 4495 <td class="propertyname">pannable</td> 4496 <td>applies if this ScrollPane is pannable</td> 4497 </tr> 4498 <tr> 4499 <td class="propertyname">fitToWidth</td> 4500 <td>applies if this ScrollPane is fitToWidth</td> 4501 </tr> 4502 <tr> 4503 <td class="propertyname">fitToHeight</td> 4504 <td>applies if this ScrollPane is fitToHeight</td> 4505 </tr> 4506 <tr> 4507 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4508 </tr> 4509 </tbody> 4510 </table> 4511 <h4>Substructure</h4> 4512 <ul> 4513 <li>viewport — StackPane 4514 <ul> 4515 <li> * — StackPane</li> 4516 <ul><li>The ScrollPane's content</li></ul> 4517 </ul> 4518 </li> 4519 <li>scroll-bar:vertical — ScrollBar</li> 4520 <li>scroll-bar:horizontall — ScrollBar</li> 4521 <li>corner — StackPane</li> 4522 </ul> 4523 <h4><a name="separator" id="separator">Separator</a></h4> 4524 <p class="styleclass">Style class: separator</p> 4525 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4526 <thead> 4527 <tr> 4528 <th class="propertyname">CSS Property</th> 4529 <th class="value">Values</th> 4530 <th>Default</th> 4531 <th>Comments</th> 4532 </tr> 4533 <tr> 4534 <td class="propertyname">-fx-orientation</td> 4535 <td class="value">[ horizontal | vertical ]</td> 4536 <td class="default">horizontal</td> 4537 <td> </td> 4538 </tr> 4539 <tr> 4540 <td class="propertyname">-fx-halignment</td> 4541 <td class="value">[ left | center | right ]</td> 4542 <td>center</td> 4543 <td> </td> 4544 </tr> 4545 <tr> 4546 <td class="propertyname">-fx-valignment</td> 4547 <td class="value">[ top | center | baseline | bottom ]</td> 4548 <td>center</td> 4549 <td> </td> 4550 </tr> 4551 </thead> 4552 <tbody> 4553 <tr> 4554 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4555 </tr> 4556 </tbody> 4557 </table> 4558 <h4>Pseudo-classes</h4> 4559 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4560 <thead> 4561 <tr> 4562 <th class="propertyname">CSS Pseudo-class</th> 4563 <th>Comments</th> 4564 </tr> 4565 </thead> 4566 <tbody> 4567 <tr> 4568 <td class="propertyname">horizontal</td> 4569 <td>applies if this Separator is horizontal</td> 4570 </tr> 4571 <tr> 4572 <td class="propertyname">vertical</td> 4573 <td>applies if this Separator is vertical</td> 4574 </tr> 4575 <tr> 4576 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4577 </tr> 4578 </tbody> 4579 </table> 4580 <h4>Substructure</h4> 4581 <ul> 4582 <li>line — Region</li> 4583 </ul> 4584 <h4><a name="spinner" id="spinner">Spinner</a></h4> 4585 <p class="styleclass">Style class: spinner</p> 4586 <p>Note that the default style class, "spinner", puts arrows on right, stacked vertically. The following 4587 style classes can also be used in combination with the default style class in order to control the 4588 layout of the Spinner. 4589 <table> 4590 <thead> 4591 <tr> 4592 <th class="styleclass">style class</th> 4593 <th>Comment</th> 4594 </tr> 4595 </thead> 4596 <tbody> 4597 <tr> 4598 <td class="value">arrows-on-right-horizontal</td> 4599 <td>The arrows are placed on the right of the Spinner, pointing horizontally (i.e. left and right)</td> 4600 </tr> 4601 <tr> 4602 <td class="value">arrows-on-left-vertical</td> 4603 <td>The arrows are placed on the left of the Spinner, pointing vertically (i.e. up and down)</td> 4604 </tr> 4605 <tr> 4606 <td class="value">arrows-on-left-horizontal</td> 4607 <td>The arrows are placed on the left of the Spinner, pointing horizontally (i.e. left and right)</td> 4608 </tr> 4609 <tr> 4610 <td class="value">split-arrows-vertical</td> 4611 <td>The arrows are placed above and beneath the spinner, stretching to take the entire width</td> 4612 </tr> 4613 <tr> 4614 <td class="value">split-arrows-horizontal</td> 4615 <td>The decrement arrow is placed on the left of the Spinner, and the increment on the right</td> 4616 </tr> 4617 </tbody> 4618 </table> 4619 4620 </p> 4621 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4622 <thead> 4623 <tr> 4624 <th class="propertyname">CSS Property</th> 4625 <th class="value">Values</th> 4626 <th>Default</th> 4627 <th>Comments</th> 4628 </tr> 4629 </thead> 4630 <tbody> 4631 <tr> 4632 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4633 </tr> 4634 </tbody> 4635 </table> 4636 <h4>Pseudo-classes</h4> 4637 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4638 <thead> 4639 <tr> 4640 <th class="propertyname">CSS Pseudo-class</th> 4641 <th>Comments</th> 4642 </tr> 4643 </thead> 4644 <tbody> 4645 <tr> 4646 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4647 </tr> 4648 </tbody> 4649 </table> 4650 <h4>Substructure</h4> 4651 <ul> 4652 <li>text-field — TextField</li> 4653 <li>increment-arrow-button — StackPane 4654 <ul> 4655 <li>increment-arrow — Region</li> 4656 </ul> 4657 </li> 4658 <li>decrement-arrow-button — StackPane 4659 <ul> 4660 <li>decrement-arrow — Region</li> 4661 </ul> 4662 </li> 4663 </ul> 4664 <h4><a name="slider" id="slider">Slider</a></h4> 4665 <p class="styleclass">Style class: slider</p> 4666 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4667 <thead> 4668 <tr> 4669 <th class="propertyname">CSS Property</th> 4670 <th class="value">Values</th> 4671 <th>Default</th> 4672 <th>Comments</th> 4673 </tr> 4674 </thead> 4675 <tbody> 4676 <tr> 4677 <td class="propertyname">-fx-orientation</td> 4678 <td class="value">[ horizontal | vertical ]</td> 4679 <td class="default">horizontal</td> 4680 <td> </td> 4681 </tr> 4682 <tr> 4683 <td class="propertyname">-fx-show-tick-labels</td> 4684 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4685 <td>false</td> 4686 <td> </td> 4687 </tr> 4688 <tr> 4689 <td class="propertyname">-fx-show-tick-marks</td> 4690 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4691 <td>false</td> 4692 <td> </td> 4693 </tr> 4694 <tr> 4695 <td class="propertyname">-fx-major-tick-unit</td> 4696 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 4697 <td>25</td> 4698 <td> </td> 4699 </tr> 4700 <tr> 4701 <td class="propertyname">-fx-minor-tick-count</td> 4702 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 4703 <td>3</td> 4704 <td> </td> 4705 </tr> 4706 <tr> 4707 <td class="propertyname">-fx-show-tick-labels</td> 4708 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4709 <td>false</td> 4710 <td> </td> 4711 </tr> 4712 <tr> 4713 <td class="propertyname">-fx-snap-to-ticks</td> 4714 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 4715 <td>false</td> 4716 <td> </td> 4717 </tr> 4718 <tr> 4719 <td class="propertyname">-fx-block-increment</td> 4720 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 4721 <td>10</td> 4722 <td> </td> 4723 </tr> 4724 <tr> 4725 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4726 </tr> 4727 </tbody> 4728 </table> 4729 <h4>Pseudo-classes</h4> 4730 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4731 <thead> 4732 <tr> 4733 <th class="propertyname">CSS Pseudo-class</th> 4734 <th>Comments</th> 4735 </tr> 4736 </thead> 4737 <tbody> 4738 <tr> 4739 <td class="propertyname">horizontal</td> 4740 <td>applies if this Slider is horizontal</td> 4741 </tr> 4742 <tr> 4743 <td class="propertyname">vertical</td> 4744 <td>applies if this Slider is vertical</td> 4745 </tr> 4746 <tr> 4747 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4748 </tr> 4749 </tbody> 4750 </table> 4751 <h4>Substructure</h4> 4752 <ul> 4753 <li>axis — NumberAxis</li> 4754 <li>track — Region</li> 4755 <li>thumb — Region</li> 4756 </ul> 4757 <h4><a name="splitmenubutton" id="splitmenubutton">SplitMenuButton</a></h4> 4758 <p class="styleclass">Style class: split-menu-button</p> 4759 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4760 <thead> 4761 <tr> 4762 <th class="propertyname">CSS Property</th> 4763 <th class="value">Values</th> 4764 <th>Default</th> 4765 <th>Comments</th> 4766 </tr> 4767 </thead> 4768 <tbody> 4769 <tr> 4770 <td colspan="4" class="parents">Also has all properties of <a href="#menubutton">MenuButton</a></td> 4771 </tr> 4772 </tbody> 4773 </table> 4774 <h4><a name="splitpane" id="splitpane">SplitPane</a></h4> 4775 <p class="styleclass">Style class: split-pane</p> 4776 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4777 <thead> 4778 <tr> 4779 <th class="propertyname">CSS Property</th> 4780 <th class="value">Values</th> 4781 <th>Default</th> 4782 <th>Comments</th> 4783 </tr> 4784 </thead> 4785 <tbody> 4786 <tr> 4787 <td class="propertyname">-fx-orientation</td> 4788 <td class="value">[ horizontal | vertical ]</td> 4789 <td class="default">horizontal</td> 4790 <td> </td> 4791 </tr> 4792 <tr> 4793 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4794 </tr> 4795 </tbody> 4796 </table> 4797 <h4>Pseudo-classes</h4> 4798 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4799 <thead> 4800 <tr> 4801 <th class="propertyname">CSS Pseudo-class</th> 4802 <th>Comments</th> 4803 </tr> 4804 </thead> 4805 <tbody> 4806 <tr> 4807 <td class="propertyname">horizontal</td> 4808 <td>applies if this Slider is horizontal</td> 4809 </tr> 4810 <tr> 4811 <td class="propertyname">vertical</td> 4812 <td>applies if this Slider is vertical</td> 4813 </tr> 4814 <tr> 4815 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4816 </tr> 4817 </tbody> 4818 </table> 4819 <h4>Substructure</h4> 4820 <ul> 4821 <li>split-pane-divider — StackPane 4822 <ul> 4823 <li>vertical-grabber — StackPane</li> 4824 <li>horizontal-grabber — StackPane</li> 4825 </ul> 4826 </li> 4827 </ul> 4828 <h4><a name="tabpane" id="tabpane">TabPane</a></h4> 4829 <p class="styleclass">Style class: tab-pane</p> 4830 <p>Note: The styleclass is "tab-pane floating" if the TabPane is floating.</p> 4831 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4832 <thead> 4833 <tr> 4834 <th class="propertyname">CSS Property</th> 4835 <th class="value">Values</th> 4836 <th>Default</th> 4837 <th>Comments</th> 4838 </tr> 4839 </thead> 4840 <tbody> 4841 <tr> 4842 <td class="propertyname">-fx-tab-min-width</td> 4843 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 4844 <td>0</td> 4845 <td> </td> 4846 </tr> 4847 <tr> 4848 <td class="propertyname">-fx-tab-max-width</td> 4849 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 4850 <td>Double.MAX_VALUE</td> 4851 <td> </td> 4852 </tr> 4853 <tr> 4854 <td class="propertyname">-fx-tab-min-height</td> 4855 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 4856 <td>0</td> 4857 <td> </td> 4858 </tr> 4859 <tr> 4860 <td class="propertyname">-fx-tab-max-height</td> 4861 <td class="value"><a href="#typenumber" class="typelink"><integer></a></td> 4862 <td>Double.MAX_VALUE</td> 4863 <td> </td> 4864 </tr> 4865 <tr> 4866 <td class="propertyname">-fx-open-tab-animation</td> 4867 <td class="value">[ grow | none ]</td> 4868 <td>grow</td> 4869 <td>'none' disables Tab opening animation</td> 4870 </tr> 4871 <tr> 4872 <td class="propertyname">-fx-close-tab-animation</td> 4873 <td class="value">[ grow | none ]</td> 4874 <td>grow</td> 4875 <td>'none' disables Tab closing animation</td> 4876 </tr> 4877 <tr> 4878 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 4879 </tr> 4880 </tbody> 4881 </table> 4882 <h4>Pseudo-classes</h4> 4883 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4884 <thead> 4885 <tr> 4886 <th class="propertyname">CSS Pseudo-class</th> 4887 <th>Comments</th> 4888 </tr> 4889 </thead> 4890 <tbody> 4891 <tr> 4892 <td class="propertyname">top</td> 4893 <td>applies if the side is top</td> 4894 </tr> 4895 <tr> 4896 <td class="propertyname">right</td> 4897 <td>applies if the side is rght</td> 4898 </tr> 4899 <tr> 4900 <td class="propertyname">bottom</td> 4901 <td>applies if the side is bottom</td> 4902 </tr> 4903 <tr> 4904 <td class="propertyname">left</td> 4905 <td>applies if the side is left</td> 4906 </tr> 4907 <tr> 4908 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 4909 </tr> 4910 </tbody> 4911 </table> 4912 <h4>Substructure</h4> 4913 <ul> 4914 <li>tab-header-area — StackPane 4915 <ul> 4916 <li>headers-region — StackPane</li> 4917 <li>tab-header-background — StackPane</li> 4918 <li>control-buttons-tab — StackPane 4919 <ul> 4920 <li>tab-down-button — Pane 4921 <ul> 4922 <li>arrow — StackPane</li> 4923 </ul> 4924 </li> 4925 </ul> 4926 </li> 4927 <li>tab — Tab 4928 <ul> 4929 <li>tab-label — Label</li> 4930 <li>tab-close-button — StackPane</li> 4931 </ul> 4932 </li> 4933 </ul> 4934 </li> 4935 <li>tab-content-area — StackPane</li> 4936 </ul> 4937 <h4><a name="tablecolumnheader" id="tablecolumnheader">TableColumnHeader</a></h4> 4938 <p class="styleclass">Style class: column-header</p> 4939 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4940 <thead> 4941 <tr> 4942 <th class="propertyname">CSS Property</th> 4943 <th class="value">Values</th> 4944 <th>Default</th> 4945 <th>Comments</th> 4946 <tr> 4947 <td class="propertyname">-fx-size</td> 4948 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 4949 <td>20</td> 4950 <td>The table column header size.</td> 4951 </tr> 4952 </thead> 4953 <tbody> 4954 <tr> 4955 <td colspan="4" class="parents">Also has all properties of <a href="#region">Region</a></td> 4956 </tr> 4957 </tbody> 4958 </table> 4959 <h4>Pseudo-classes</h4> 4960 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 4961 <thead> 4962 <tr> 4963 <th class="propertyname">CSS Pseudo-class</th> 4964 <th>Comments</th> 4965 </tr> 4966 </thead> 4967 <tbody> 4968 <tr> 4969 <td class="propertyname">last-visible</td> 4970 <td>applies if this is the last visible column in the table.</td> 4971 </tr> 4972 <tr> 4973 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#node">Node</a></td> 4974 </tr> 4975 </tbody> 4976 </table> 4977 <h4>Substructure</h4> 4978 <ul> 4979 <li>column-resize-line — Region</li> 4980 <li>column-overlay — Region</li> 4981 <li>placeholder — StackPane</li> 4982 <li>column-header-background — StackPane 4983 <ul> 4984 <li>nested-column-header 4985 <ul> 4986 <li>column-header</li> 4987 </ul> 4988 </li> 4989 <li>filler — Region</li> 4990 <li>show-hide-columns-button — StackPane 4991 <ul> 4992 <li>show-hide-column-image — StackPane</li> 4993 </ul> 4994 </li> 4995 <li>column-drag-header — StackPane 4996 <ul> 4997 <li>label — Label</li> 4998 </ul> 4999 </li> 5000 </ul> 5001 </li> 5002 </ul> 5003 <h4><a name="tableview" id="tableview">TableView</a></h4> 5004 <p class="styleclass">Style class: table-view</p> 5005 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5006 <thead> 5007 <tr> 5008 <th class="propertyname">CSS Property</th> 5009 <th class="value">Values</th> 5010 <th>Default</th> 5011 <th>Comments</th> 5012 <tr> 5013 <td class="propertyname">-fx-fixed-cell-size</td> 5014 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 5015 <td>-1</td> 5016 <td>A value greater than zero sets the fixed cell size of the table. 5017 A value of zero or less disables fixed cell size.</td> 5018 </tr> 5019 </thead> 5020 <tbody> 5021 <tr> 5022 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 5023 </tr> 5024 </tbody> 5025 </table> 5026 <h4>Pseudo-classes</h4> 5027 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5028 <thead> 5029 <tr> 5030 <th class="propertyname">CSS Pseudo-class</th> 5031 <th>Comments</th> 5032 </tr> 5033 </thead> 5034 <tbody> 5035 <tr> 5036 <td class="propertyname">cell-selection</td> 5037 <td>applies if this TableView's selection model is cell selection</td> 5038 </tr> 5039 <tr> 5040 <td class="propertyname">row-selection</td> 5041 <td>applies if this TableView's selection model is row selection</td> 5042 </tr> 5043 <tr> 5044 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#node">Node</a></td> 5045 </tr> 5046 </tbody> 5047 </table> 5048 <h4>Substructure</h4> 5049 <ul> 5050 <li>column-resize-line — Region</li> 5051 <li>column-overlay — Region</li> 5052 <li>placeholder — StackPane</li> 5053 <li>column-header-background — StackPane 5054 <ul> 5055 <li>nested-column-header 5056 <ul> 5057 <li>column-header</li> 5058 </ul> 5059 </li> 5060 <li>filler — Region</li> 5061 <li>show-hide-columns-button — StackPane 5062 <ul> 5063 <li>show-hide-column-image — StackPane</li> 5064 </ul> 5065 </li> 5066 <li>column-drag-header — StackPane 5067 <ul> 5068 <li>label — Label</li> 5069 </ul> 5070 </li> 5071 </ul> 5072 </li> 5073 <li>table-column — TableColumn</li> 5074 </ul> 5075 <h4><a name="text-area" id="text-area">TextArea</a></h4> 5076 <p class="styleclass">Style class: text-area</p> 5077 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5078 <thead> 5079 <tr> 5080 <th class="propertyname">CSS Property</th> 5081 <th class="value">Values</th> 5082 <th>Default</th> 5083 <th>Comments</th> 5084 </tr> 5085 </thead> 5086 <tbody> 5087 <tr> 5088 <td class="propertyname">-fx-pref-column-count</td> 5089 <td class="value">number</td> 5090 <td class="default">40</td> 5091 <td> </td> 5092 </tr> 5093 <tr> 5094 <td class="propertyname">-fx-pref-row-count</td> 5095 <td class="value">number</td> 5096 <td class="default">10</td> 5097 <td> </td> 5098 </tr> 5099 <tr> 5100 <td class="propertyname">-fx-wrap-text</td> 5101 <td class="value">boolean</td> 5102 <td class="default">false</td> 5103 <td> </td> 5104 </tr> 5105 <tr> 5106 <td colspan="4" class="parents">Also has all properties of <a href="#textinputcontrol">TextInputControl</a></td> 5107 </tr> 5108 </tbody> 5109 </table> 5110 <h4>Substructure</h4> 5111 <ul> 5112 <li>scroll-pane — ScrollPane 5113 <ul> 5114 <li>content — Region</li> 5115 </ul> 5116 </li> 5117 </ul> 5118 <h4><a name="textinputcontrol" id="textinputcontrol">TextInputControl</a></h4> 5119 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5120 <thead> 5121 <tr> 5122 <th class="propertyname">CSS Property</th> 5123 <th class="value">Values</th> 5124 <th>Default</th> 5125 <th>Comments</th> 5126 </tr> 5127 </thead> 5128 <tbody> 5129 <tr> 5130 <td class="propertyname">-fx-font</td> 5131 <td class="value"><a href="#typefont" class="typelink"><font></a></td> 5132 <td>null</td> 5133 <td>inherits</td> 5134 </tr> 5135 <tr> 5136 <td class="propertyname">-fx-text-fill</td> 5137 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 5138 <td>black</td> 5139 <td> </td> 5140 </tr> 5141 <tr> 5142 <td class="propertyname">-fx-prompt-text-fill</td> 5143 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 5144 <td>gray</td> 5145 <td> </td> 5146 </tr> 5147 <tr> 5148 <td class="propertyname">-fx-highlight-fill</td> 5149 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 5150 <td>dodgerblue</td> 5151 <td> </td> 5152 </tr> 5153 <tr> 5154 <td class="propertyname">-fx-highlight-text-fill</td> 5155 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 5156 <td>white</td> 5157 <td> </td> 5158 </tr> 5159 <tr> 5160 <td class="propertyname">-fx-display-caret</td> 5161 <td class="value"><a href="#typesize" class="typelink"><boolean></a></td> 5162 <td>true</td> 5163 <td> </td> 5164 </tr> 5165 <tr> 5166 <td colspan="4" class="parents">Also has <a href="#fontprops">Font 5167 Properties</a> and all properties of <a href="#control">Control</a></td> 5168 </tr> 5169 </tbody> 5170 </table> 5171 <h4>Pseudo-classes</h4> 5172 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5173 <thead> 5174 <tr> 5175 <th class="propertyname">CSS Pseudo-class</th> 5176 <th>Comments</th> 5177 </tr> 5178 </thead> 5179 <tbody> 5180 <tr> 5181 <td class="propertyname">readonly</td> 5182 <td>applies if this TextInputControl is not editable</td> 5183 </tr> 5184 <tr> 5185 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 5186 </tr> 5187 </tbody> 5188 </table> 5189 <h4><a name="textfield" id="textfield">TextField</a></h4> 5190 <p class="styleclass">Style class: text-field</p> 5191 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5192 <thead> 5193 <tr> 5194 <th class="propertyname">CSS Property</th> 5195 <th class="value">Values</th> 5196 <th>Default</th> 5197 <th>Comments</th> 5198 </tr> 5199 </thead> 5200 <tbody> 5201 <tr> 5202 <td class="propertyname">-fx-alignment</td> 5203 <td class="value">[ top-left | top-center | top-right | center-left | 5204 center | center-right bottom-left | bottom-center | bottom-right | 5205 baseline-left | baseline-center | baseline-right ]</td> 5206 <td class="default">center-left</td> 5207 <td> </td> 5208 </tr> 5209 <tr> 5210 <td class="propertyname">-fx-pref-column-count</td> 5211 <td class="value">number</td> 5212 <td class="default">12</td> 5213 <td> </td> 5214 </tr> 5215 <tr> 5216 <td colspan="4" class="parents">Also has all properties of <a href="#textinputcontrol">TextInputControl</a></td> 5217 </tr> 5218 </tbody> 5219 </table> 5220 <p>TextField has all the pseudo‑class states of <a href="#textinputcontrol">TextInputControl</a></p> 5221 <h4><a name="titledpane" id="titledpane">TitledPane</a></h4> 5222 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5223 <thead> 5224 <tr> 5225 <th class="propertyname">CSS Property</th> 5226 <th class="value">Values</th> 5227 <th>Default</th> 5228 <th>Comments</th> 5229 </tr> 5230 </thead> 5231 <tbody> 5232 <tr> 5233 <td class="propertyname">-fx-animated</td> 5234 <td class="value"><a href="#typenumber" class="typelink"><boolean></a></td> 5235 <td>true</td> 5236 <td> </td> 5237 </tr> 5238 <tr> 5239 <td class="propertyname">-fx-collapsible</td> 5240 <td class="value"><a href="#typenumber" class="typelink"><boolean></a></td> 5241 <td>true</td> 5242 <td> </td> 5243 </tr> 5244 <tr> 5245 <td colspan="4" class="parents">Also has <a href="#fontprops">Font 5246 Properties</a> and all properties of <a href="#labeled">Labeled</a></td> 5247 </tr> 5248 </tbody> 5249 </table> 5250 <h4>Pseudo-classes</h4> 5251 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5252 <thead> 5253 <tr> 5254 <th class="propertyname">CSS Pseudo-class</th> 5255 <th>Comments</th> 5256 </tr> 5257 </thead> 5258 <tbody> 5259 <tr> 5260 <td class="propertyname">expanded</td> 5261 <td>applies if this TitledPane is expanded</td> 5262 </tr> 5263 <tr> 5264 <td class="propertyname">collapsed</td> 5265 <td>applies if this TitledPane is collapsed</td> 5266 </tr> 5267 <tr> 5268 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#labeled">Labeled</a></td> 5269 </tr> 5270 </tbody> 5271 </table> 5272 <h4>Substructure</h4> 5273 <ul> 5274 <li>title — HBox 5275 <ul> 5276 <li>text — Label/li> </li> 5277 <li>arrow-button — StackPane/li> 5278 <ul> 5279 <li>arrow — StackPane</li> 5280 </ul> 5281 </li> 5282 </ul> 5283 </li> 5284 <li>content — StackPane/li> </li> 5285 </ul> 5286 <h4><a name="togglebutton" id="togglebutton">ToggleButton</a></h4> 5287 <p class="styleclass">Style class: toggle-button</p> 5288 <p>The ToggleButton control has all the properties of <a href="#buttonbase">ButtonBase</a>.</p> 5289 <h4>Pseudo-classes</h4> 5290 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5291 <thead> 5292 <tr> 5293 <th class="propertyname">CSS Pseudo-class</th> 5294 <th>Comments</th> 5295 </tr> 5296 </thead> 5297 <tbody> 5298 <tr> 5299 <td class="propertyname">selected</td> 5300 <td>applies if this ToggleButton is selected</td> 5301 </tr> 5302 <tr> 5303 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#buttonbase">ButtonBase</a></td> 5304 </tr> 5305 </tbody> 5306 </table> 5307 <h4><a name="toolbar" id="toolbar">ToolBar</a></h4> 5308 <p class="styleclass">Style class: tool-bar</p> 5309 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5310 <thead> 5311 <tr> 5312 <th class="propertyname">CSS Property</th> 5313 <th class="value">Values</th> 5314 <th>Default</th> 5315 <th>Comments</th> 5316 </tr> 5317 </thead> 5318 <tbody> 5319 <tr> 5320 <td class="propertyname">-fx-orientation</td> 5321 <td class="value">[ horizontal | vertical ]</td> 5322 <td class="default">horizontal</td> 5323 <td> </td> 5324 </tr> 5325 <tr> 5326 <td colspan="4" class="parents">Also has all properties of <a href="#control">Control</a></td> 5327 </tr> 5328 </tbody> 5329 </table> 5330 <h4>Pseudo-classes</h4> 5331 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5332 <thead> 5333 <tr> 5334 <th class="propertyname">CSS Pseudo-class</th> 5335 <th>Comments</th> 5336 </tr> 5337 </thead> 5338 <tbody> 5339 <tr> 5340 <td class="propertyname">horizontal</td> 5341 <td>applies if this ToolBar is horizontal</td> 5342 </tr> 5343 <tr> 5344 <td class="propertyname">vertical</td> 5345 <td>applies if this ToolBar is vertical</td> 5346 </tr> 5347 <tr> 5348 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#control">Control</a></td> 5349 </tr> 5350 </tbody> 5351 </table> 5352 <h4>Substructure</h4> 5353 <ul> 5354 <li>tool-bar-overflow-button — StackPane 5355 <ul> 5356 <li>arrow — StackPane</li> 5357 </ul> 5358 </li> 5359 </ul> 5360 <h4><a name="tooltip" id="tooltip">Tooltip</a></h4> 5361 <p class="styleclass">Style class: tooltip</p> 5362 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5363 <thead> 5364 <tr> 5365 <th class="propertyname">CSS Property</th> 5366 <th class="value">Values</th> 5367 <th>Default</th> 5368 <th>Comments</th> 5369 </tr> 5370 </thead> 5371 <tbody> 5372 <tr> 5373 <td class="propertyname">-fx-text-alignment</td> 5374 <td class="value">[ left | center | right | justify ]</td> 5375 <td>left</td> 5376 <td> </td> 5377 </tr> 5378 <tr> 5379 <td class="propertyname">-fx-text-overrun</td> 5380 <td class="value">[ center-ellipsis | center-word-ellipsis | clip | 5381 ellipsis | leading-ellipsis | leading-word-ellipsis | word-ellipsis 5382 ]</td> 5383 <td>ellipsis</td> 5384 <td> </td> 5385 </tr> 5386 <tr> 5387 <td class="propertyname">-fx-wrap-text</td> 5388 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 5389 <td>false</td> 5390 <td> </td> 5391 </tr> 5392 <tr> 5393 <td class="propertyname">-fx-graphic</td> 5394 <td class="value"><a href="#typeurl" class="typelink"><uri></a></td> 5395 <td>null</td> 5396 <td> </td> 5397 </tr> 5398 <tr> 5399 <td class="propertyname">-fx-content-display</td> 5400 <td class="value">[ top | right | bottom | left | center | right | 5401 graphic-only | text-only ]</td> 5402 <td>left</td> 5403 <td> </td> 5404 </tr> 5405 <tr> 5406 <td class="propertyname">-fx-graphic-text-gap</td> 5407 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 5408 <td>4</td> 5409 <td> </td> 5410 </tr> 5411 <tr> 5412 <td class="propertyname">-fx-font</td> 5413 <td class="value"><a href="#typefont" class="typelink"><font></a></td> 5414 <td>Font.DEFAULT</td> 5415 <td>inherits</td> 5416 </tr> 5417 </tbody> 5418 </table> 5419 <h4>Substructure</h4> 5420 <ul> 5421 <li>label — Label</li> 5422 <li>page-corner — StackPane</li> 5423 </ul> 5424 <h4><a name="treecell" id="treecell">TreeCell</a></h4> 5425 <p class="styleclass">Style class: tree-cell</p> 5426 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5427 <thead> 5428 <tr> 5429 <th class="propertyname">CSS Property</th> 5430 <th class="value">Values</th> 5431 <th>Default</th> 5432 <th>Comments</th> 5433 </tr> 5434 </thead> 5435 <tbody> 5436 <tr> 5437 <td class="propertyname">-fx-indent</td> 5438 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 5439 <td>10</td> 5440 <td>The amout of space to multiply by the treeItem.level to get the 5441 left margin</td> 5442 </tr> 5443 <tr> 5444 <td colspan="4" class="parents">Also has all properties of <a href="#indexedcell">IndexedCell</a></td> 5445 </tr> 5446 </tbody> 5447 </table> 5448 <h4>Pseudo-classes</h4> 5449 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5450 <thead> 5451 <tr> 5452 <th class="propertyname">CSS Pseudo-class</th> 5453 <th>Comments</th> 5454 </tr> 5455 </thead> 5456 <tbody> 5457 <tr> 5458 <td class="propertyname">expanded</td> 5459 <td>applies if this cell is expanded</td> 5460 </tr> 5461 <tr> 5462 <td class="propertyname">collapsed</td> 5463 <td>applies if this cell is not expanded</td> 5464 </tr> 5465 <tr> 5466 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#indexedcell">IndexedCell</a></td> 5467 </tr> 5468 </tbody> 5469 </table> 5470 <h4><a name="treetablecell" id="treetablecell">TreeTableCell</a></h4> 5471 <p class="styleclass">Style class: tree-table-cell</p> 5472 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5473 <thead> 5474 <tr> 5475 <th class="propertyname">CSS Property</th> 5476 <th class="value">Values</th> 5477 <th>Default</th> 5478 <th>Comments</th> 5479 </tr> 5480 </thead> 5481 <tbody> 5482 <tr> 5483 <td colspan="4" class="parents">Also has all properties of <a href="#indexedcell">IndexedCell</a></td> 5484 </tr> 5485 </tbody> 5486 </table> 5487 <h4>Pseudo-classes</h4> 5488 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5489 <thead> 5490 <tr> 5491 <th class="propertyname">CSS Pseudo-class</th> 5492 <th>Comments</th> 5493 </tr> 5494 </thead> 5495 <tbody> 5496 <tr> 5497 <td class="propertyname">last-visible</td> 5498 <td>true if this is the last visible cell, typically the right-most cell in the TreeTableView</td> 5499 </tr> 5500 <tr> 5501 <td colspan="2" class="parents">Also has all pseudo‑classes of <a href="#indexedcell">IndexedCell</a></td> 5502 </tr> 5503 </tbody> 5504 </table> 5505 5506 <h4><a name="treetableview" id="treetableview">TreeView</a></h4> 5507 <p class="styleclass">Style class: tree-table-view</p> 5508 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5509 <thead> 5510 <tr> 5511 <th class="propertyname">CSS Property</th> 5512 <th class="value">Values</th> 5513 <th>Default</th> 5514 <th>Comments</th> 5515 </tr> 5516 </thead> 5517 <tbody> 5518 <tr> 5519 <td class="propertyname">-fx-fixed-cell-size</td> 5520 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 5521 <td>Region.USE_COMPUTED_SIZE</td> 5522 <td>If both -fx-cell-size and -fx-fixed-cell-size properties are 5523 specified in CSS, -fx-fixed-cell-size takes precedence.</td> 5524 </tr> 5525 <tr> 5526 <td colspan="4" class="parents">Also has all properties and pseudo‑class state of <a href="#control">Control</a></td> 5527 </tr> 5528 </tbody> 5529 </table> 5530 5531 <h4><a name="treeview" id="treeview">TreeView</a></h4> 5532 <p class="styleclass">Style class: tree-view</p> 5533 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5534 <thead> 5535 <tr> 5536 <th class="propertyname">CSS Property</th> 5537 <th class="value">Values</th> 5538 <th>Default</th> 5539 <th>Comments</th> 5540 </tr> 5541 </thead> 5542 <tbody> 5543 <tr> 5544 <td class="propertyname">-fx-fixed-cell-size</td> 5545 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 5546 <td>Region.USE_COMPUTED_SIZE</td> 5547 <td>If both -fx-cell-size and -fx-fixed-cell-size properties are 5548 specified in CSS, -fx-fixed-cell-size takes precedence.</td> 5549 </tr> 5550 <tr> 5551 <td colspan="4" class="parents">Also has all properties and pseudo‑class state of <a href="#control">Control</a></td> 5552 </tr> 5553 </tbody> 5554 </table> 5555 <!-- Charts --> 5556 <h2><a name="charts" id="charts">Charts</a></h2> 5557 <table summary="property table" class="package" width="100%"> 5558 <tbody> 5559 <tr> 5560 <td><a name="charts">javafx.scene.chart</a></td> 5561 </tr> 5562 </tbody> 5563 </table> 5564 <h4><a name="areachart" id="areachart">AreaChart</a></h4> 5565 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5566 <thead> 5567 <tr> 5568 <th class="propertyname">Style class</th> 5569 <th>Comments</th> 5570 <th>Properties</th> 5571 </tr> 5572 </thead> 5573 <tbody> 5574 <tr> 5575 <td class="propertyname">"chart-series-area-line series<i> 5576 default-color<j>"</td> 5577 <td>Where <i> is the index of the series and <j> is the 5578 series’ color index. 5579 <td><a href="#node" class="typelink">Node</a> </td> 5580 </tr> 5581 <tr> 5582 <td class="propertyname">"chart-series-area-fill series<i> 5583 default-color<j>"</td> 5584 <td>Where <i> is the index of the series and <j> is the 5585 series’ color index. 5586 <td><a href="#path" class="typelink">Path</a> </td> 5587 </tr> 5588 <tr> 5589 <td class="propertyname">"chart-area-symbol series<i> 5590 data<j> default-color<k>"</td> 5591 <td>Where <i> is the index of the series, <j> is the index 5592 of the data within the series, and <k> is the series’ 5593 color index</td> 5594 <td><a href="#path" class="typelink">Path</a> </td> 5595 </tr> 5596 <tr> 5597 <td class="propertyname">"chart-area-symbol series<i> 5598 area-legend-symbol default-color<j>"</td> 5599 <td>Where <i> is the index of the series and <j> is the 5600 series’ color index</td> 5601 <td><a href="#LegendItem" class="typelink">LegendItem</a> </td> 5602 </tr> 5603 </tbody> 5604 </table> 5605 <p> 5606 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5607 <thead> 5608 <tr> 5609 <th class="propertyname">CSS Property</th> 5610 <th class="value">Values</th> 5611 <th>Default</th> 5612 <th>Comments</th> 5613 </tr> 5614 </thead> 5615 <tbody> 5616 <tr> 5617 <td colspan="4" class="parents">Has all properties of <a href="#xychart">XYChart</a></td> 5618 </tr> 5619 </tbody> 5620 </table> 5621 <h4><a name="axis" id="axis">Axis</a></h4> 5622 <p class="styleclass">Style class: axis</p> 5623 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5624 <thead> 5625 <tr> 5626 <th class="propertyname">CSS Property</th> 5627 <th class="value">Values</th> 5628 <th>Default</th> 5629 <th>Comments</th> 5630 </tr> 5631 </thead> 5632 <tbody> 5633 <tr> 5634 <td class="propertyname">-fx-side</td> 5635 <td class="value">Side</td> 5636 <td>null</td> 5637 <td> </td> 5638 </tr> 5639 <tr> 5640 <td class="propertyname">-fx-tick-length</td> 5641 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 5642 <td>8</td> 5643 <td> </td> 5644 </tr> 5645 <tr> 5646 <td class="propertyname">-fx-tick-label-font</td> 5647 <td class="value"><a href="#typefont" class="typelink"><font></a></td> 5648 <td>8 system</td> 5649 <td> </td> 5650 </tr> 5651 <tr> 5652 <td class="propertyname">-fx-tick-label-fill</td> 5653 <td class="value"><a href="#typepaint" class="typelink"><paint></a></td> 5654 <td>black</td> 5655 <td> </td> 5656 </tr> 5657 <tr> 5658 <td class="propertyname">-fx-tick-label-gap</td> 5659 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 5660 <td>3</td> 5661 <td> </td> 5662 </tr> 5663 <tr> 5664 <td class="propertyname">-fx-tick-mark-visible</td> 5665 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 5666 <td>true</td> 5667 <td> </td> 5668 </tr> 5669 <tr> 5670 <td class="propertyname">-fx-tick-labels-visible</td> 5671 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 5672 <td>true</td> 5673 <td> </td> 5674 </tr> 5675 <tr> 5676 <td colspan="4" class="parents">Has all properties of <a href="#region">Region</a></td> 5677 </tr> 5678 </tbody> 5679 </table> 5680 <h4>Substructure</h4> 5681 <ul> 5682 <li>axis-label — Text</li> 5683 <li>axis-tick-mark — Path</li> 5684 </ul> 5685 <h4><a name="barchart" id="barchart">BarChart</a></h4> 5686 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5687 <thead> 5688 <tr> 5689 <th class="propertyname">Style class</th> 5690 <th>Comments</th> 5691 <th>Properties</th> 5692 </tr> 5693 </thead> 5694 <tbody> 5695 <tr> 5696 <td class="propertyname">"bar-chart"</td> 5697 <td> </td> 5698 <td> </td> 5699 </tr> 5700 <tr> 5701 <td class="propertyname">"chart-bar series<i> data<j> 5702 default-color<k>"</td> 5703 <td>Where <i> is the index of the series, <j> is the index 5704 of the data within the series, and <k> is the series’ 5705 color index. 5706 If the data value is negative, the "negative" style 5707 class is added; e.g., <code>.negative.chart-bar</code>.</td> 5708 <td><a href="#node" class="typelink">Node</a> </td> 5709 </tr> 5710 <tr> 5711 <td class="propertyname">"chart-bar series<i> bar-legend-symbol 5712 default-color<j>"</td> 5713 <td>Where <i> is the index of the series and <j> is the 5714 series’ color index</td> 5715 <td><a href="#LegendItem" class="typelink">LegendItem</a> </td> 5716 </tr> 5717 </tbody> 5718 </table> 5719 <p> 5720 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5721 <thead> 5722 <tr> 5723 <th class="propertyname">CSS Property</th> 5724 <th class="value">Values</th> 5725 <th>Default</th> 5726 <th>Comments</th> 5727 </tr> 5728 </thead> 5729 <tbody> 5730 <tr> 5731 <td class="propertyname">-fx-bar-gap</td> 5732 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 5733 <td>4</td> 5734 <td> </td> 5735 </tr> 5736 <tr> 5737 <td class="propertyname">-fx-category-gap</td> 5738 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 5739 <td>10</td> 5740 <td> </td> 5741 </tr> 5742 <tr> 5743 <td colspan="4" class="parents">Has all properties of <a href="#xychart">XYChart</a></td> 5744 </tr> 5745 </tbody> 5746 </table> 5747 <h4><a name="bubblechart" id="bubblechart">BubbleChart</a></h4> 5748 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5749 <thead> 5750 <tr> 5751 <th class="propertyname">Style class</th> 5752 <th>Comments</th> 5753 <th>Properties</th> 5754 </tr> 5755 </thead> 5756 <tbody> 5757 <tr> 5758 <td class="propertyname">"chart-bubble series<i> data<j> 5759 default-color<k>"</td> 5760 <td>Where <i> is the index of the series, <j> is the index 5761 of the data within the series, and <k> is the series’ 5762 color index</td> 5763 <td><a href="#node" class="typelink">Node</a> </td> 5764 </tr> 5765 <tr> 5766 <td class="propertyname">"chart-bubble series<i> 5767 bubble-legend-symbol default-color<j>"</td> 5768 <td>Where <i> is the index of the series and <j> is the 5769 series’ color index</td> 5770 <td><a href="#LegendItem" class="typelink">LegendItem</a> </td> 5771 </tr> 5772 </tbody> 5773 </table> 5774 <p> 5775 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5776 <thead> 5777 <tr> 5778 <th class="propertyname">CSS Property</th> 5779 <th class="value">Values</th> 5780 <th>Default</th> 5781 <th>Comments</th> 5782 </tr> 5783 </thead> 5784 <tbody> 5785 <tr> 5786 <td colspan="4" class="parents">Has all properties of <a href="#xychart">XYChart</a></td> 5787 </tr> 5788 </tbody> 5789 </table> 5790 <h4><a name="categoyaxis" id="categoryaxis">CategoryAxis</a></h4> 5791 <p class="styleclass">Style class: axis</p> 5792 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5793 <thead> 5794 <tr> 5795 <th class="propertyname">CSS Property</th> 5796 <th class="value">Values</th> 5797 <th>Default</th> 5798 <th>Comments</th> 5799 </tr> 5800 </thead> 5801 <tbody> 5802 <tr> 5803 <td class="propertyname">-fx-start-margin</td> 5804 <td class="value"><a href="#typesize" class="typelink"><number></a></td> 5805 <td>5</td> 5806 <td>The margin between the axis start and the first tick-mark</td> 5807 </tr> 5808 <tr> 5809 <td class="propertyname">-fx-end-margin</td> 5810 <td class="value"><a href="#typesize" class="typelink"><number></a></td> 5811 <td>5</td> 5812 <td>The margin between the axis start and the first tick-mark</td> 5813 </tr> 5814 <tr> 5815 <td class="propertyname">-fx-gap-start-and-end</td> 5816 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 5817 <td>true</td> 5818 <td>If this is true then half the space between ticks is left at the 5819 start and end</td> 5820 </tr> 5821 <tr> 5822 <td colspan="4" class="parents">Has all properties of <a href="#axis">Axis</a></td> 5823 </tr> 5824 </tbody> 5825 </table> 5826 <h4><a name="chart" id="chart">Chart</a></h4> 5827 <p class="styleclass">Style class: chart</p> 5828 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5829 <thead> 5830 <tr> 5831 <th class="propertyname">CSS Property</th> 5832 <th class="value">Values</th> 5833 <th>Default</th> 5834 <th>Comments</th> 5835 </tr> 5836 </thead> 5837 <tbody> 5838 <tr> 5839 <td class="propertyname">-fx-legend-side</td> 5840 <td class="value">Side</td> 5841 <td>bottom</td> 5842 <td> </td> 5843 </tr> 5844 <tr> 5845 <td class="propertyname">-fx-legend-visible</td> 5846 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 5847 <td>true</td> 5848 <td> </td> 5849 </tr> 5850 <tr> 5851 <td class="propertyname">-fx-title-side</td> 5852 <td class="value">Side</td> 5853 <td>top</td> 5854 <td> </td> 5855 </tr> 5856 <tr> 5857 <td colspan="4" class="parents">Has all properties of <a href="#region">Region</a></td> 5858 </tr> 5859 </tbody> 5860 </table> 5861 <h4>Substructure</h4> 5862 <ul> 5863 <li>chart-title — Label</li> 5864 <li>chart-content — Pane</li> 5865 </ul> 5866 <h4><a name="legend" id="legend">Legend</a></h4> 5867 <p class="styleclass">Style class: chart-legend</p> 5868 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5869 <thead> 5870 <tr> 5871 <th class="propertyname">CSS Property</th> 5872 <th class="value">Values</th> 5873 <th>Default</th> 5874 <th>Comments</th> 5875 </tr> 5876 </thead> 5877 <tbody> 5878 <tr> 5879 <td colspan="4" class="parents">Has all properties of <a href="#region">Region</a></td> 5880 </tr> 5881 </tbody> 5882 </table> 5883 <h4>Substructure</h4> 5884 <ul> 5885 <li>chart-legend-item — Label</li> 5886 <li>chart-legend-item-symbol — Node (the Label's graphic)</li> 5887 </ul> 5888 <h4><a name="linechart" id="linechart">LineChart</a></h4> 5889 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5890 <thead> 5891 <tr> 5892 <th class="propertyname">Style class</th> 5893 <th>Comments</th> 5894 <th>Properties</th> 5895 </tr> 5896 </thead> 5897 <tbody> 5898 <tr> 5899 <td class="propertyname">"chart-series-line series<i> 5900 default-color<j>"</td> 5901 <td>Where <i> is the index of the series and <j> is the 5902 series’ color index</td> 5903 <td><a href="#node" class="typelink">Node</a> </td> 5904 </tr> 5905 <tr> 5906 <td class="propertyname">"chart-line-symbol series<i> 5907 data<j> default-color<k>"</td> 5908 <td>Where <i> is the index of the series, <j> is the index 5909 of the data within the series, and <k> is the series’ 5910 color index</td> 5911 <td><a href="#node" class="typelink">Node</a> </td> 5912 </tr> 5913 <tr> 5914 <td class="propertyname">"chart-line-symbol series<i> 5915 default-color<j>"</td> 5916 <td>Where <i> is the index of the series and <j> is the 5917 series’ color index</td> 5918 <td><a href="#LegendItem" class="typelink">LegendItem</a> </td> 5919 </tr> 5920 </tbody> 5921 </table> 5922 <p> 5923 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5924 <thead> 5925 <tr> 5926 <th class="propertyname">CSS Property</th> 5927 <th class="value">Values</th> 5928 <th>Default</th> 5929 <th>Comments</th> 5930 </tr> 5931 </thead> 5932 <tbody> 5933 <tr> 5934 <td class="propertyname">-fx-create-symbols</td> 5935 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 5936 <td>true</td> 5937 <td> </td> 5938 </tr> 5939 <tr> 5940 <td colspan="4" class="parents">Has all properties of <a href="#xychart">XYChart</a></td> 5941 </tr> 5942 </tbody> 5943 </table> 5944 <h4><a name="numberaxis" id="numberaxis">NumberAxis</a></h4> 5945 <p class="styleclass">Style class: axis</p> 5946 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5947 <thead> 5948 <tr> 5949 <th class="propertyname">CSS Property</th> 5950 <th class="value">Values</th> 5951 <th>Default</th> 5952 <th>Comments</th> 5953 </tr> 5954 </thead> 5955 <tbody> 5956 <tr> 5957 <td class="propertyname">-fx-tick-unit</td> 5958 <td class="value"><a href="#typesize" class="typelink"><number></a></td> 5959 <td>5</td> 5960 <td>The value between each major tick mark in data units.</td> 5961 </tr> 5962 <tr> 5963 <td colspan="4" class="parents">Has all properties of <a href="#valueaxis">ValueAxis</a></td> 5964 </tr> 5965 </tbody> 5966 </table> 5967 <h4><a name="piechart" id="piechart">PieChart</a></h4> 5968 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 5969 <thead> 5970 <tr> 5971 <th class="propertyname">Style class</th> 5972 <th>Comments</th> 5973 <th>Properties</th> 5974 </tr> 5975 </thead> 5976 <tbody> 5977 <tr> 5978 <td class="propertyname">"chart-pie data<i> 5979 default-color<j>"</td> 5980 <td>Where <i> is the index of the data and <j> is the 5981 series’ color index. If the data value is negative, the 5982 "negative" style‑class is added; e.g., <code>.negative.chart-pie</code>.</td> 5983 <td><a href="#node" class="typelink">Node</a> </td> 5984 </tr> 5985 <tr> 5986 <td class="propertyname">"chart-pie-label-line;"</td> 5987 <td> </td> 5988 <td><a href="#path" class="typelink">Path</a> </td> 5989 </tr> 5990 <tr> 5991 <td class="propertyname">"chart-pie-label;"</td> 5992 <td> </td> 5993 <td><a href="#path" class="typelink">Text</a> </td> 5994 </tr> 5995 <tr> 5996 <td class="propertyname">"pie-legend-symbol <<em>i–th</em> 5997 data item’s style‑class>"</td> 5998 <td>Each item in the legend has the style‑class "pie-legend-symbol" 5999 plus the style‑class of the corresponding data item</td> 6000 <td><a href="#LegendItem" class="typelink">LegendItem</a> </td> 6001 </tr> 6002 </tbody> 6003 </table> 6004 <p> 6005 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 6006 <thead> 6007 <tr> 6008 <th class="propertyname">CSS Property</th> 6009 <th class="value">Values</th> 6010 <th>Default</th> 6011 <th>Comments</th> 6012 </tr> 6013 </thead> 6014 <tbody> 6015 <tr> 6016 <td class="propertyname">-fx-clockwise</td> 6017 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6018 <td>true</td> 6019 <td> </td> 6020 </tr> 6021 <tr> 6022 <td class="propertyname">-fx-pie-label-visible</td> 6023 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6024 <td>true</td> 6025 <td> </td> 6026 </tr> 6027 <tr> 6028 <td class="propertyname">-fx-label-line-length</td> 6029 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 6030 <td>20</td> 6031 <td> </td> 6032 </tr> 6033 <tr> 6034 <td class="propertyname">-fx-start-angle</td> 6035 <td class="value"><a href="#typenumber" class="typelink"><number></a></td> 6036 <td>0</td> 6037 <td> </td> 6038 </tr> 6039 <tr> 6040 <td colspan="4" class="parents">Has all properties of <a href="#chart">Chart</a></td> 6041 </tr> 6042 </tbody> 6043 </table> 6044 <h4><a name="scatterchart" id="scatterchart">ScatterChart</a></h4> 6045 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 6046 <thead> 6047 <tr> 6048 <th class="propertyname">Style class</th> 6049 <th>Comments</th> 6050 <th>Properties</th> 6051 </tr> 6052 </thead> 6053 <tbody> 6054 <tr> 6055 <td class="propertyname">"chart-symbol series<i> data<j> 6056 default-color<k>"</td> 6057 <td>Where <i> is the index of the series, <j> is the index 6058 of the data within the series, and <k> is the series’ 6059 color index</td> 6060 <td><a href="#node" class="typelink">Node</a> </td> 6061 </tr> 6062 <tr> 6063 <td class="propertyname"> </td> 6064 <td>The LegendItem symbols are assigned the style‑class of the first 6065 symbol of the series.</td> 6066 <td><a href="#LegendItem" class="typelink">LegendItem</a> </td> 6067 </tr> 6068 </tbody> 6069 </table> 6070 <p> 6071 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 6072 <thead> 6073 <tr> 6074 <th class="propertyname">CSS Property</th> 6075 <th class="value">Values</th> 6076 <th>Default</th> 6077 <th>Comments</th> 6078 </tr> 6079 </thead> 6080 <tbody> 6081 <tr> 6082 <td colspan="4" class="parents">Has all properties of <a href="#xychart">XYChart</a></td> 6083 </tr> 6084 </tbody> 6085 </table> 6086 <h4><a name="valueaxis" id="valueaxis">ValueAxis</a></h4> 6087 <p class="styleclass">Style class: axis</p> 6088 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 6089 <thead> 6090 <tr> 6091 <th class="propertyname">CSS Property</th> 6092 <th class="value">Values</th> 6093 <th>Default</th> 6094 <th>Comments</th> 6095 </tr> 6096 </thead> 6097 <tbody> 6098 <tr> 6099 <td class="propertyname">-fx-minor-tick-length</td> 6100 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 6101 <td>5</td> 6102 <td> </td> 6103 </tr> 6104 <tr> 6105 <td class="propertyname">-fx-minor-tick-count</td> 6106 <td class="value"><a href="#typesize" class="typelink"><size></a></td> 6107 <td>5</td> 6108 <td> </td> 6109 </tr> 6110 <tr> 6111 <td class="propertyname">-fx-minor-tick-visible</td> 6112 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6113 <td>true</td> 6114 <td> </td> 6115 </tr> 6116 <tr> 6117 <td colspan="4" class="parents">Has all properties of <a href="#axis">Axis</a></td> 6118 </tr> 6119 </tbody> 6120 </table> 6121 <h4>Substructure</h4> 6122 <ul> 6123 <li>axis-minor-tick-mark — Path</li> 6124 </ul> 6125 <h4><a name="xychart" id="xychart">XYChart</a></h4> 6126 <p class="styleclass">Style class: set by sub-type</p> 6127 <table summary="property table" class="csspropertytable" cellpadding="2" cellspacing="1"> 6128 <thead> 6129 <tr> 6130 <th class="propertyname">CSS Property</th> 6131 <th class="value">Values</th> 6132 <th>Default</th> 6133 <th>Comments</th> 6134 </tr> 6135 </thead> 6136 <tbody> 6137 <tr> 6138 <td class="propertyname">-fx-alternative-column-fill-visible</td> 6139 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6140 <td>true</td> 6141 <td> </td> 6142 </tr> 6143 <tr> 6144 <td class="propertyname">-fx-alternative-row-fill-visible</td> 6145 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6146 <td>true</td> 6147 <td> </td> 6148 </tr> 6149 <tr> 6150 <td class="propertyname">-fx-horizontal-grid-lines-visible</td> 6151 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6152 <td>true</td> 6153 <td> </td> 6154 </tr> 6155 <tr> 6156 <td class="propertyname">-fx-horizontal-zero-line-visible</td> 6157 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6158 <td>true</td> 6159 <td> </td> 6160 </tr> 6161 <tr> 6162 <td class="propertyname">-fx-vertical-grid-lines-visible</td> 6163 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6164 <td>true</td> 6165 <td> </td> 6166 </tr> 6167 <tr> 6168 <td class="propertyname">-fx-vertical-zero-line-visible</td> 6169 <td class="value"><a href="#typeboolean" class="typelink"><boolean></a></td> 6170 <td>true</td> 6171 <td> </td> 6172 </tr> 6173 <tr> 6174 <td colspan="4" class="parents">Has all properties of <a href="#chart">chart</a></td> 6175 </tr> 6176 </tbody> 6177 </table> 6178 <h4>Substructure</h4> 6179 <ul> 6180 <li>plot-content — Group</li> 6181 <li>chart-plot-background — Region</li> 6182 <li>chart-alternative-column-fill — Path</li> 6183 <li>chart-alternative-row-fill — Path</li> 6184 <li>chart-vertical-grid-lines — Path</li> 6185 <li>chart-horizontal-grid-lines — Path</li> 6186 <li>chart-vertical-zero-line — Line</li> 6187 <li>chart-horizontal-zero-line — Line</li> 6188 </ul> 6189 <h2><a name="references" id="references">References</a></h2> 6190 <p>[1] CSS 2.1: <a href="http://www.w3.org/TR/CSS21/" target="_blank">http://www.w3.org/TR/CSS21/</a> 6191 </p> 6192 <p>[2] CSS 3 work in progress <a href="http://www.w3.org/Style/CSS/current-work" 6193 target="_blank">http://www.w3.org/Style/CSS/current-work</a> 6194 (May 2010). </p> 6195 <p>[3] SVG Paths: <a href="http://www.w3.org/TR/SVG/paths.html" target="_blank">http://www.w3.org/TR/SVG/paths.html</a> 6196 </p> 6197 <p>[4] CSS Backgrounds and Borders Module Level 3: <a href="http://www.w3.org/TR/css3-background/" 6198 target="_blank">http://www.w3.org/TR/css3-background/</a> 6199 </p> 6200 <p>[5] Uniform Resource Identifier (URI): Generic Syntax <a href="http://www.ietf.org/rfc/rfc3986">RFC-3986</a></p> 6201 <hr> 6202 <p> 6203 <span style="font-size: small;"><a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html">Copyright</a> (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.</span> 6204 </p> 6205 <br> 6206 </body> 6207 </html>