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