Spec-Zone .ru
спецификации, руководства, описания, API
|
001/* 002 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 003 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 004 * 005 * This code is free software; you can redistribute it and/or modify it 006 * under the terms of the GNU General Public License version 2 only, as 007 * published by the Free Software Foundation. Oracle designates this 008 * particular file as subject to the "Classpath" exception as provided 009 * by Oracle in the LICENSE file that accompanied this code. 010 * 011 * This code is distributed in the hope that it will be useful, but WITHOUT 012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 014 * version 2 for more details (a copy is included in the LICENSE file that 015 * accompanied this code). 016 * 017 * You should have received a copy of the GNU General Public License version 018 * 2 along with this work; if not, write to the Free Software Foundation, 019 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 020 * 021 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 022 * or visit www.oracle.com if you need additional information or have any 023 * questions. 024 */ 025 026package javafx.scene; 027 028/** 029Builder class for javafx.scene.Node 030@see javafx.scene.Node 031@deprecated This class is deprecated and will be removed in the next version 032*/ 033@javax.annotation.Generated("Generated by javafx.builder.processor.BuilderProcessor") 034@Deprecated 035public abstract class NodeBuilder<B extends javafx.scene.NodeBuilder<B>> { 036 protected NodeBuilder() { 037 } 038 039 040 java.util.BitSet __set = new java.util.BitSet(); 041 private void __set(int i) { 042 __set.set(i); 043 } 044 public void applyTo(javafx.scene.Node x) { 045 java.util.BitSet set = __set; 046 for (int i = -1; (i = set.nextSetBit(i + 1)) >= 0; ) { 047 switch (i) { 048 case 0: x.setBlendMode(this.blendMode); break; 049 case 1: x.setCache(this.cache); break; 050 case 2: x.setCacheHint(this.cacheHint); break; 051 case 3: x.setClip(this.clip); break; 052 case 4: x.setCursor(this.cursor); break; 053 case 5: x.setDepthTest(this.depthTest); break; 054 case 6: x.setDisable(this.disable); break; 055 case 7: x.setEffect(this.effect); break; 056 case 8: x.setEventDispatcher(this.eventDispatcher); break; 057 case 9: x.setFocusTraversable(this.focusTraversable); break; 058 case 10: x.setId(this.id); break; 059 case 11: x.setInputMethodRequests(this.inputMethodRequests); break; 060 case 12: x.setLayoutX(this.layoutX); break; 061 case 13: x.setLayoutY(this.layoutY); break; 062 case 14: x.setManaged(this.managed); break; 063 case 15: x.setMouseTransparent(this.mouseTransparent); break; 064 case 16: x.setOnContextMenuRequested(this.onContextMenuRequested); break; 065 case 17: x.setOnDragDetected(this.onDragDetected); break; 066 case 18: x.setOnDragDone(this.onDragDone); break; 067 case 19: x.setOnDragDropped(this.onDragDropped); break; 068 case 20: x.setOnDragEntered(this.onDragEntered); break; 069 case 21: x.setOnDragExited(this.onDragExited); break; 070 case 22: x.setOnDragOver(this.onDragOver); break; 071 case 23: x.setOnInputMethodTextChanged(this.onInputMethodTextChanged); break; 072 case 24: x.setOnKeyPressed(this.onKeyPressed); break; 073 case 25: x.setOnKeyReleased(this.onKeyReleased); break; 074 case 26: x.setOnKeyTyped(this.onKeyTyped); break; 075 case 27: x.setOnMouseClicked(this.onMouseClicked); break; 076 case 28: x.setOnMouseDragEntered(this.onMouseDragEntered); break; 077 case 29: x.setOnMouseDragExited(this.onMouseDragExited); break; 078 case 30: x.setOnMouseDragged(this.onMouseDragged); break; 079 case 31: x.setOnMouseDragOver(this.onMouseDragOver); break; 080 case 32: x.setOnMouseDragReleased(this.onMouseDragReleased); break; 081 case 33: x.setOnMouseEntered(this.onMouseEntered); break; 082 case 34: x.setOnMouseExited(this.onMouseExited); break; 083 case 35: x.setOnMouseMoved(this.onMouseMoved); break; 084 case 36: x.setOnMousePressed(this.onMousePressed); break; 085 case 37: x.setOnMouseReleased(this.onMouseReleased); break; 086 case 38: x.setOnRotate(this.onRotate); break; 087 case 39: x.setOnRotationFinished(this.onRotationFinished); break; 088 case 40: x.setOnRotationStarted(this.onRotationStarted); break; 089 case 41: x.setOnScroll(this.onScroll); break; 090 case 42: x.setOnScrollFinished(this.onScrollFinished); break; 091 case 43: x.setOnScrollStarted(this.onScrollStarted); break; 092 case 44: x.setOnSwipeDown(this.onSwipeDown); break; 093 case 45: x.setOnSwipeLeft(this.onSwipeLeft); break; 094 case 46: x.setOnSwipeRight(this.onSwipeRight); break; 095 case 47: x.setOnSwipeUp(this.onSwipeUp); break; 096 case 48: x.setOnTouchMoved(this.onTouchMoved); break; 097 case 49: x.setOnTouchPressed(this.onTouchPressed); break; 098 case 50: x.setOnTouchReleased(this.onTouchReleased); break; 099 case 51: x.setOnTouchStationary(this.onTouchStationary); break; 100 case 52: x.setOnZoom(this.onZoom); break; 101 case 53: x.setOnZoomFinished(this.onZoomFinished); break; 102 case 54: x.setOnZoomStarted(this.onZoomStarted); break; 103 case 55: x.setOpacity(this.opacity); break; 104 case 56: x.setPickOnBounds(this.pickOnBounds); break; 105 case 57: x.setRotate(this.rotate); break; 106 case 58: x.setRotationAxis(this.rotationAxis); break; 107 case 59: x.setScaleX(this.scaleX); break; 108 case 60: x.setScaleY(this.scaleY); break; 109 case 61: x.setScaleZ(this.scaleZ); break; 110 case 62: x.setStyle(this.style); break; 111 case 63: x.getStyleClass().addAll(this.styleClass); break; 112 case 64: x.getTransforms().addAll(this.transforms); break; 113 case 65: x.setTranslateX(this.translateX); break; 114 case 66: x.setTranslateY(this.translateY); break; 115 case 67: x.setTranslateZ(this.translateZ); break; 116 case 68: x.setUserData(this.userData); break; 117 case 69: x.setVisible(this.visible); break; 118 } 119 } 120 } 121 122 private javafx.scene.effect.BlendMode blendMode; 123 /** 124 Set the value of the {@link javafx.scene.Node#getBlendMode() blendMode} property for the instance constructed by this builder. 125 */ 126 @SuppressWarnings("unchecked") 127 public B blendMode(javafx.scene.effect.BlendMode x) { 128 this.blendMode = x; 129 __set(0); 130 return (B) this; 131 } 132 133 private boolean cache; 134 /** 135 Set the value of the {@link javafx.scene.Node#isCache() cache} property for the instance constructed by this builder. 136 */ 137 @SuppressWarnings("unchecked") 138 public B cache(boolean x) { 139 this.cache = x; 140 __set(1); 141 return (B) this; 142 } 143 144 private javafx.scene.CacheHint cacheHint; 145 /** 146 Set the value of the {@link javafx.scene.Node#getCacheHint() cacheHint} property for the instance constructed by this builder. 147 */ 148 @SuppressWarnings("unchecked") 149 public B cacheHint(javafx.scene.CacheHint x) { 150 this.cacheHint = x; 151 __set(2); 152 return (B) this; 153 } 154 155 private javafx.scene.Node clip; 156 /** 157 Set the value of the {@link javafx.scene.Node#getClip() clip} property for the instance constructed by this builder. 158 */ 159 @SuppressWarnings("unchecked") 160 public B clip(javafx.scene.Node x) { 161 this.clip = x; 162 __set(3); 163 return (B) this; 164 } 165 166 private javafx.scene.Cursor cursor; 167 /** 168 Set the value of the {@link javafx.scene.Node#getCursor() cursor} property for the instance constructed by this builder. 169 */ 170 @SuppressWarnings("unchecked") 171 public B cursor(javafx.scene.Cursor x) { 172 this.cursor = x; 173 __set(4); 174 return (B) this; 175 } 176 177 private javafx.scene.DepthTest depthTest; 178 /** 179 Set the value of the {@link javafx.scene.Node#getDepthTest() depthTest} property for the instance constructed by this builder. 180 */ 181 @SuppressWarnings("unchecked") 182 public B depthTest(javafx.scene.DepthTest x) { 183 this.depthTest = x; 184 __set(5); 185 return (B) this; 186 } 187 188 private boolean disable; 189 /** 190 Set the value of the {@link javafx.scene.Node#isDisable() disable} property for the instance constructed by this builder. 191 */ 192 @SuppressWarnings("unchecked") 193 public B disable(boolean x) { 194 this.disable = x; 195 __set(6); 196 return (B) this; 197 } 198 199 private javafx.scene.effect.Effect effect; 200 /** 201 Set the value of the {@link javafx.scene.Node#getEffect() effect} property for the instance constructed by this builder. 202 */ 203 @SuppressWarnings("unchecked") 204 public B effect(javafx.scene.effect.Effect x) { 205 this.effect = x; 206 __set(7); 207 return (B) this; 208 } 209 210 private javafx.event.EventDispatcher eventDispatcher; 211 /** 212 Set the value of the {@link javafx.scene.Node#getEventDispatcher() eventDispatcher} property for the instance constructed by this builder. 213 */ 214 @SuppressWarnings("unchecked") 215 public B eventDispatcher(javafx.event.EventDispatcher x) { 216 this.eventDispatcher = x; 217 __set(8); 218 return (B) this; 219 } 220 221 private boolean focusTraversable; 222 /** 223 Set the value of the {@link javafx.scene.Node#isFocusTraversable() focusTraversable} property for the instance constructed by this builder. 224 */ 225 @SuppressWarnings("unchecked") 226 public B focusTraversable(boolean x) { 227 this.focusTraversable = x; 228 __set(9); 229 return (B) this; 230 } 231 232 private java.lang.String id; 233 /** 234 Set the value of the {@link javafx.scene.Node#getId() id} property for the instance constructed by this builder. 235 */ 236 @SuppressWarnings("unchecked") 237 public B id(java.lang.String x) { 238 this.id = x; 239 __set(10); 240 return (B) this; 241 } 242 243 private javafx.scene.input.InputMethodRequests inputMethodRequests; 244 /** 245 Set the value of the {@link javafx.scene.Node#getInputMethodRequests() inputMethodRequests} property for the instance constructed by this builder. 246 */ 247 @SuppressWarnings("unchecked") 248 public B inputMethodRequests(javafx.scene.input.InputMethodRequests x) { 249 this.inputMethodRequests = x; 250 __set(11); 251 return (B) this; 252 } 253 254 private double layoutX; 255 /** 256 Set the value of the {@link javafx.scene.Node#getLayoutX() layoutX} property for the instance constructed by this builder. 257 */ 258 @SuppressWarnings("unchecked") 259 public B layoutX(double x) { 260 this.layoutX = x; 261 __set(12); 262 return (B) this; 263 } 264 265 private double layoutY; 266 /** 267 Set the value of the {@link javafx.scene.Node#getLayoutY() layoutY} property for the instance constructed by this builder. 268 */ 269 @SuppressWarnings("unchecked") 270 public B layoutY(double x) { 271 this.layoutY = x; 272 __set(13); 273 return (B) this; 274 } 275 276 private boolean managed; 277 /** 278 Set the value of the {@link javafx.scene.Node#isManaged() managed} property for the instance constructed by this builder. 279 */ 280 @SuppressWarnings("unchecked") 281 public B managed(boolean x) { 282 this.managed = x; 283 __set(14); 284 return (B) this; 285 } 286 287 private boolean mouseTransparent; 288 /** 289 Set the value of the {@link javafx.scene.Node#isMouseTransparent() mouseTransparent} property for the instance constructed by this builder. 290 */ 291 @SuppressWarnings("unchecked") 292 public B mouseTransparent(boolean x) { 293 this.mouseTransparent = x; 294 __set(15); 295 return (B) this; 296 } 297 298 private javafx.event.EventHandler<? super javafx.scene.input.ContextMenuEvent> onContextMenuRequested; 299 /** 300 Set the value of the {@link javafx.scene.Node#getOnContextMenuRequested() onContextMenuRequested} property for the instance constructed by this builder. 301 */ 302 @SuppressWarnings("unchecked") 303 public B onContextMenuRequested(javafx.event.EventHandler<? super javafx.scene.input.ContextMenuEvent> x) { 304 this.onContextMenuRequested = x; 305 __set(16); 306 return (B) this; 307 } 308 309 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onDragDetected; 310 /** 311 Set the value of the {@link javafx.scene.Node#getOnDragDetected() onDragDetected} property for the instance constructed by this builder. 312 */ 313 @SuppressWarnings("unchecked") 314 public B onDragDetected(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 315 this.onDragDetected = x; 316 __set(17); 317 return (B) this; 318 } 319 320 private javafx.event.EventHandler<? super javafx.scene.input.DragEvent> onDragDone; 321 /** 322 Set the value of the {@link javafx.scene.Node#getOnDragDone() onDragDone} property for the instance constructed by this builder. 323 */ 324 @SuppressWarnings("unchecked") 325 public B onDragDone(javafx.event.EventHandler<? super javafx.scene.input.DragEvent> x) { 326 this.onDragDone = x; 327 __set(18); 328 return (B) this; 329 } 330 331 private javafx.event.EventHandler<? super javafx.scene.input.DragEvent> onDragDropped; 332 /** 333 Set the value of the {@link javafx.scene.Node#getOnDragDropped() onDragDropped} property for the instance constructed by this builder. 334 */ 335 @SuppressWarnings("unchecked") 336 public B onDragDropped(javafx.event.EventHandler<? super javafx.scene.input.DragEvent> x) { 337 this.onDragDropped = x; 338 __set(19); 339 return (B) this; 340 } 341 342 private javafx.event.EventHandler<? super javafx.scene.input.DragEvent> onDragEntered; 343 /** 344 Set the value of the {@link javafx.scene.Node#getOnDragEntered() onDragEntered} property for the instance constructed by this builder. 345 */ 346 @SuppressWarnings("unchecked") 347 public B onDragEntered(javafx.event.EventHandler<? super javafx.scene.input.DragEvent> x) { 348 this.onDragEntered = x; 349 __set(20); 350 return (B) this; 351 } 352 353 private javafx.event.EventHandler<? super javafx.scene.input.DragEvent> onDragExited; 354 /** 355 Set the value of the {@link javafx.scene.Node#getOnDragExited() onDragExited} property for the instance constructed by this builder. 356 */ 357 @SuppressWarnings("unchecked") 358 public B onDragExited(javafx.event.EventHandler<? super javafx.scene.input.DragEvent> x) { 359 this.onDragExited = x; 360 __set(21); 361 return (B) this; 362 } 363 364 private javafx.event.EventHandler<? super javafx.scene.input.DragEvent> onDragOver; 365 /** 366 Set the value of the {@link javafx.scene.Node#getOnDragOver() onDragOver} property for the instance constructed by this builder. 367 */ 368 @SuppressWarnings("unchecked") 369 public B onDragOver(javafx.event.EventHandler<? super javafx.scene.input.DragEvent> x) { 370 this.onDragOver = x; 371 __set(22); 372 return (B) this; 373 } 374 375 private javafx.event.EventHandler<? super javafx.scene.input.InputMethodEvent> onInputMethodTextChanged; 376 /** 377 Set the value of the {@link javafx.scene.Node#getOnInputMethodTextChanged() onInputMethodTextChanged} property for the instance constructed by this builder. 378 */ 379 @SuppressWarnings("unchecked") 380 public B onInputMethodTextChanged(javafx.event.EventHandler<? super javafx.scene.input.InputMethodEvent> x) { 381 this.onInputMethodTextChanged = x; 382 __set(23); 383 return (B) this; 384 } 385 386 private javafx.event.EventHandler<? super javafx.scene.input.KeyEvent> onKeyPressed; 387 /** 388 Set the value of the {@link javafx.scene.Node#getOnKeyPressed() onKeyPressed} property for the instance constructed by this builder. 389 */ 390 @SuppressWarnings("unchecked") 391 public B onKeyPressed(javafx.event.EventHandler<? super javafx.scene.input.KeyEvent> x) { 392 this.onKeyPressed = x; 393 __set(24); 394 return (B) this; 395 } 396 397 private javafx.event.EventHandler<? super javafx.scene.input.KeyEvent> onKeyReleased; 398 /** 399 Set the value of the {@link javafx.scene.Node#getOnKeyReleased() onKeyReleased} property for the instance constructed by this builder. 400 */ 401 @SuppressWarnings("unchecked") 402 public B onKeyReleased(javafx.event.EventHandler<? super javafx.scene.input.KeyEvent> x) { 403 this.onKeyReleased = x; 404 __set(25); 405 return (B) this; 406 } 407 408 private javafx.event.EventHandler<? super javafx.scene.input.KeyEvent> onKeyTyped; 409 /** 410 Set the value of the {@link javafx.scene.Node#getOnKeyTyped() onKeyTyped} property for the instance constructed by this builder. 411 */ 412 @SuppressWarnings("unchecked") 413 public B onKeyTyped(javafx.event.EventHandler<? super javafx.scene.input.KeyEvent> x) { 414 this.onKeyTyped = x; 415 __set(26); 416 return (B) this; 417 } 418 419 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onMouseClicked; 420 /** 421 Set the value of the {@link javafx.scene.Node#getOnMouseClicked() onMouseClicked} property for the instance constructed by this builder. 422 */ 423 @SuppressWarnings("unchecked") 424 public B onMouseClicked(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 425 this.onMouseClicked = x; 426 __set(27); 427 return (B) this; 428 } 429 430 private javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> onMouseDragEntered; 431 /** 432 Set the value of the {@link javafx.scene.Node#getOnMouseDragEntered() onMouseDragEntered} property for the instance constructed by this builder. 433 */ 434 @SuppressWarnings("unchecked") 435 public B onMouseDragEntered(javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> x) { 436 this.onMouseDragEntered = x; 437 __set(28); 438 return (B) this; 439 } 440 441 private javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> onMouseDragExited; 442 /** 443 Set the value of the {@link javafx.scene.Node#getOnMouseDragExited() onMouseDragExited} property for the instance constructed by this builder. 444 */ 445 @SuppressWarnings("unchecked") 446 public B onMouseDragExited(javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> x) { 447 this.onMouseDragExited = x; 448 __set(29); 449 return (B) this; 450 } 451 452 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onMouseDragged; 453 /** 454 Set the value of the {@link javafx.scene.Node#getOnMouseDragged() onMouseDragged} property for the instance constructed by this builder. 455 */ 456 @SuppressWarnings("unchecked") 457 public B onMouseDragged(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 458 this.onMouseDragged = x; 459 __set(30); 460 return (B) this; 461 } 462 463 private javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> onMouseDragOver; 464 /** 465 Set the value of the {@link javafx.scene.Node#getOnMouseDragOver() onMouseDragOver} property for the instance constructed by this builder. 466 */ 467 @SuppressWarnings("unchecked") 468 public B onMouseDragOver(javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> x) { 469 this.onMouseDragOver = x; 470 __set(31); 471 return (B) this; 472 } 473 474 private javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> onMouseDragReleased; 475 /** 476 Set the value of the {@link javafx.scene.Node#getOnMouseDragReleased() onMouseDragReleased} property for the instance constructed by this builder. 477 */ 478 @SuppressWarnings("unchecked") 479 public B onMouseDragReleased(javafx.event.EventHandler<? super javafx.scene.input.MouseDragEvent> x) { 480 this.onMouseDragReleased = x; 481 __set(32); 482 return (B) this; 483 } 484 485 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onMouseEntered; 486 /** 487 Set the value of the {@link javafx.scene.Node#getOnMouseEntered() onMouseEntered} property for the instance constructed by this builder. 488 */ 489 @SuppressWarnings("unchecked") 490 public B onMouseEntered(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 491 this.onMouseEntered = x; 492 __set(33); 493 return (B) this; 494 } 495 496 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onMouseExited; 497 /** 498 Set the value of the {@link javafx.scene.Node#getOnMouseExited() onMouseExited} property for the instance constructed by this builder. 499 */ 500 @SuppressWarnings("unchecked") 501 public B onMouseExited(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 502 this.onMouseExited = x; 503 __set(34); 504 return (B) this; 505 } 506 507 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onMouseMoved; 508 /** 509 Set the value of the {@link javafx.scene.Node#getOnMouseMoved() onMouseMoved} property for the instance constructed by this builder. 510 */ 511 @SuppressWarnings("unchecked") 512 public B onMouseMoved(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 513 this.onMouseMoved = x; 514 __set(35); 515 return (B) this; 516 } 517 518 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onMousePressed; 519 /** 520 Set the value of the {@link javafx.scene.Node#getOnMousePressed() onMousePressed} property for the instance constructed by this builder. 521 */ 522 @SuppressWarnings("unchecked") 523 public B onMousePressed(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 524 this.onMousePressed = x; 525 __set(36); 526 return (B) this; 527 } 528 529 private javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> onMouseReleased; 530 /** 531 Set the value of the {@link javafx.scene.Node#getOnMouseReleased() onMouseReleased} property for the instance constructed by this builder. 532 */ 533 @SuppressWarnings("unchecked") 534 public B onMouseReleased(javafx.event.EventHandler<? super javafx.scene.input.MouseEvent> x) { 535 this.onMouseReleased = x; 536 __set(37); 537 return (B) this; 538 } 539 540 private javafx.event.EventHandler<? super javafx.scene.input.RotateEvent> onRotate; 541 /** 542 Set the value of the {@link javafx.scene.Node#getOnRotate() onRotate} property for the instance constructed by this builder. 543 */ 544 @SuppressWarnings("unchecked") 545 public B onRotate(javafx.event.EventHandler<? super javafx.scene.input.RotateEvent> x) { 546 this.onRotate = x; 547 __set(38); 548 return (B) this; 549 } 550 551 private javafx.event.EventHandler<? super javafx.scene.input.RotateEvent> onRotationFinished; 552 /** 553 Set the value of the {@link javafx.scene.Node#getOnRotationFinished() onRotationFinished} property for the instance constructed by this builder. 554 */ 555 @SuppressWarnings("unchecked") 556 public B onRotationFinished(javafx.event.EventHandler<? super javafx.scene.input.RotateEvent> x) { 557 this.onRotationFinished = x; 558 __set(39); 559 return (B) this; 560 } 561 562 private javafx.event.EventHandler<? super javafx.scene.input.RotateEvent> onRotationStarted; 563 /** 564 Set the value of the {@link javafx.scene.Node#getOnRotationStarted() onRotationStarted} property for the instance constructed by this builder. 565 */ 566 @SuppressWarnings("unchecked") 567 public B onRotationStarted(javafx.event.EventHandler<? super javafx.scene.input.RotateEvent> x) { 568 this.onRotationStarted = x; 569 __set(40); 570 return (B) this; 571 } 572 573 private javafx.event.EventHandler<? super javafx.scene.input.ScrollEvent> onScroll; 574 /** 575 Set the value of the {@link javafx.scene.Node#getOnScroll() onScroll} property for the instance constructed by this builder. 576 */ 577 @SuppressWarnings("unchecked") 578 public B onScroll(javafx.event.EventHandler<? super javafx.scene.input.ScrollEvent> x) { 579 this.onScroll = x; 580 __set(41); 581 return (B) this; 582 } 583 584 private javafx.event.EventHandler<? super javafx.scene.input.ScrollEvent> onScrollFinished; 585 /** 586 Set the value of the {@link javafx.scene.Node#getOnScrollFinished() onScrollFinished} property for the instance constructed by this builder. 587 */ 588 @SuppressWarnings("unchecked") 589 public B onScrollFinished(javafx.event.EventHandler<? super javafx.scene.input.ScrollEvent> x) { 590 this.onScrollFinished = x; 591 __set(42); 592 return (B) this; 593 } 594 595 private javafx.event.EventHandler<? super javafx.scene.input.ScrollEvent> onScrollStarted; 596 /** 597 Set the value of the {@link javafx.scene.Node#getOnScrollStarted() onScrollStarted} property for the instance constructed by this builder. 598 */ 599 @SuppressWarnings("unchecked") 600 public B onScrollStarted(javafx.event.EventHandler<? super javafx.scene.input.ScrollEvent> x) { 601 this.onScrollStarted = x; 602 __set(43); 603 return (B) this; 604 } 605 606 private javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> onSwipeDown; 607 /** 608 Set the value of the {@link javafx.scene.Node#getOnSwipeDown() onSwipeDown} property for the instance constructed by this builder. 609 */ 610 @SuppressWarnings("unchecked") 611 public B onSwipeDown(javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> x) { 612 this.onSwipeDown = x; 613 __set(44); 614 return (B) this; 615 } 616 617 private javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> onSwipeLeft; 618 /** 619 Set the value of the {@link javafx.scene.Node#getOnSwipeLeft() onSwipeLeft} property for the instance constructed by this builder. 620 */ 621 @SuppressWarnings("unchecked") 622 public B onSwipeLeft(javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> x) { 623 this.onSwipeLeft = x; 624 __set(45); 625 return (B) this; 626 } 627 628 private javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> onSwipeRight; 629 /** 630 Set the value of the {@link javafx.scene.Node#getOnSwipeRight() onSwipeRight} property for the instance constructed by this builder. 631 */ 632 @SuppressWarnings("unchecked") 633 public B onSwipeRight(javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> x) { 634 this.onSwipeRight = x; 635 __set(46); 636 return (B) this; 637 } 638 639 private javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> onSwipeUp; 640 /** 641 Set the value of the {@link javafx.scene.Node#getOnSwipeUp() onSwipeUp} property for the instance constructed by this builder. 642 */ 643 @SuppressWarnings("unchecked") 644 public B onSwipeUp(javafx.event.EventHandler<? super javafx.scene.input.SwipeEvent> x) { 645 this.onSwipeUp = x; 646 __set(47); 647 return (B) this; 648 } 649 650 private javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> onTouchMoved; 651 /** 652 Set the value of the {@link javafx.scene.Node#getOnTouchMoved() onTouchMoved} property for the instance constructed by this builder. 653 */ 654 @SuppressWarnings("unchecked") 655 public B onTouchMoved(javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> x) { 656 this.onTouchMoved = x; 657 __set(48); 658 return (B) this; 659 } 660 661 private javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> onTouchPressed; 662 /** 663 Set the value of the {@link javafx.scene.Node#getOnTouchPressed() onTouchPressed} property for the instance constructed by this builder. 664 */ 665 @SuppressWarnings("unchecked") 666 public B onTouchPressed(javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> x) { 667 this.onTouchPressed = x; 668 __set(49); 669 return (B) this; 670 } 671 672 private javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> onTouchReleased; 673 /** 674 Set the value of the {@link javafx.scene.Node#getOnTouchReleased() onTouchReleased} property for the instance constructed by this builder. 675 */ 676 @SuppressWarnings("unchecked") 677 public B onTouchReleased(javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> x) { 678 this.onTouchReleased = x; 679 __set(50); 680 return (B) this; 681 } 682 683 private javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> onTouchStationary; 684 /** 685 Set the value of the {@link javafx.scene.Node#getOnTouchStationary() onTouchStationary} property for the instance constructed by this builder. 686 */ 687 @SuppressWarnings("unchecked") 688 public B onTouchStationary(javafx.event.EventHandler<? super javafx.scene.input.TouchEvent> x) { 689 this.onTouchStationary = x; 690 __set(51); 691 return (B) this; 692 } 693 694 private javafx.event.EventHandler<? super javafx.scene.input.ZoomEvent> onZoom; 695 /** 696 Set the value of the {@link javafx.scene.Node#getOnZoom() onZoom} property for the instance constructed by this builder. 697 */ 698 @SuppressWarnings("unchecked") 699 public B onZoom(javafx.event.EventHandler<? super javafx.scene.input.ZoomEvent> x) { 700 this.onZoom = x; 701 __set(52); 702 return (B) this; 703 } 704 705 private javafx.event.EventHandler<? super javafx.scene.input.ZoomEvent> onZoomFinished; 706 /** 707 Set the value of the {@link javafx.scene.Node#getOnZoomFinished() onZoomFinished} property for the instance constructed by this builder. 708 */ 709 @SuppressWarnings("unchecked") 710 public B onZoomFinished(javafx.event.EventHandler<? super javafx.scene.input.ZoomEvent> x) { 711 this.onZoomFinished = x; 712 __set(53); 713 return (B) this; 714 } 715 716 private javafx.event.EventHandler<? super javafx.scene.input.ZoomEvent> onZoomStarted; 717 /** 718 Set the value of the {@link javafx.scene.Node#getOnZoomStarted() onZoomStarted} property for the instance constructed by this builder. 719 */ 720 @SuppressWarnings("unchecked") 721 public B onZoomStarted(javafx.event.EventHandler<? super javafx.scene.input.ZoomEvent> x) { 722 this.onZoomStarted = x; 723 __set(54); 724 return (B) this; 725 } 726 727 private double opacity; 728 /** 729 Set the value of the {@link javafx.scene.Node#getOpacity() opacity} property for the instance constructed by this builder. 730 */ 731 @SuppressWarnings("unchecked") 732 public B opacity(double x) { 733 this.opacity = x; 734 __set(55); 735 return (B) this; 736 } 737 738 private boolean pickOnBounds; 739 /** 740 Set the value of the {@link javafx.scene.Node#isPickOnBounds() pickOnBounds} property for the instance constructed by this builder. 741 */ 742 @SuppressWarnings("unchecked") 743 public B pickOnBounds(boolean x) { 744 this.pickOnBounds = x; 745 __set(56); 746 return (B) this; 747 } 748 749 private double rotate; 750 /** 751 Set the value of the {@link javafx.scene.Node#getRotate() rotate} property for the instance constructed by this builder. 752 */ 753 @SuppressWarnings("unchecked") 754 public B rotate(double x) { 755 this.rotate = x; 756 __set(57); 757 return (B) this; 758 } 759 760 private javafx.geometry.Point3D rotationAxis; 761 /** 762 Set the value of the {@link javafx.scene.Node#getRotationAxis() rotationAxis} property for the instance constructed by this builder. 763 */ 764 @SuppressWarnings("unchecked") 765 public B rotationAxis(javafx.geometry.Point3D x) { 766 this.rotationAxis = x; 767 __set(58); 768 return (B) this; 769 } 770 771 private double scaleX; 772 /** 773 Set the value of the {@link javafx.scene.Node#getScaleX() scaleX} property for the instance constructed by this builder. 774 */ 775 @SuppressWarnings("unchecked") 776 public B scaleX(double x) { 777 this.scaleX = x; 778 __set(59); 779 return (B) this; 780 } 781 782 private double scaleY; 783 /** 784 Set the value of the {@link javafx.scene.Node#getScaleY() scaleY} property for the instance constructed by this builder. 785 */ 786 @SuppressWarnings("unchecked") 787 public B scaleY(double x) { 788 this.scaleY = x; 789 __set(60); 790 return (B) this; 791 } 792 793 private double scaleZ; 794 /** 795 Set the value of the {@link javafx.scene.Node#getScaleZ() scaleZ} property for the instance constructed by this builder. 796 */ 797 @SuppressWarnings("unchecked") 798 public B scaleZ(double x) { 799 this.scaleZ = x; 800 __set(61); 801 return (B) this; 802 } 803 804 private java.lang.String style; 805 /** 806 Set the value of the {@link javafx.scene.Node#getStyle() style} property for the instance constructed by this builder. 807 */ 808 @SuppressWarnings("unchecked") 809 public B style(java.lang.String x) { 810 this.style = x; 811 __set(62); 812 return (B) this; 813 } 814 815 private java.util.Collection<? extends java.lang.String> styleClass; 816 /** 817 Add the given items to the List of items in the {@link javafx.scene.Node#getStyleClass() styleClass} property for the instance constructed by this builder. 818 */ 819 @SuppressWarnings("unchecked") 820 public B styleClass(java.util.Collection<? extends java.lang.String> x) { 821 this.styleClass = x; 822 __set(63); 823 return (B) this; 824 } 825 826 /** 827 Add the given items to the List of items in the {@link javafx.scene.Node#getStyleClass() styleClass} property for the instance constructed by this builder. 828 */ 829 public B styleClass(java.lang.String... x) { 830 return styleClass(java.util.Arrays.asList(x)); 831 } 832 833 private java.util.Collection<? extends javafx.scene.transform.Transform> transforms; 834 /** 835 Add the given items to the List of items in the {@link javafx.scene.Node#getTransforms() transforms} property for the instance constructed by this builder. 836 */ 837 @SuppressWarnings("unchecked") 838 public B transforms(java.util.Collection<? extends javafx.scene.transform.Transform> x) { 839 this.transforms = x; 840 __set(64); 841 return (B) this; 842 } 843 844 /** 845 Add the given items to the List of items in the {@link javafx.scene.Node#getTransforms() transforms} property for the instance constructed by this builder. 846 */ 847 public B transforms(javafx.scene.transform.Transform... x) { 848 return transforms(java.util.Arrays.asList(x)); 849 } 850 851 private double translateX; 852 /** 853 Set the value of the {@link javafx.scene.Node#getTranslateX() translateX} property for the instance constructed by this builder. 854 */ 855 @SuppressWarnings("unchecked") 856 public B translateX(double x) { 857 this.translateX = x; 858 __set(65); 859 return (B) this; 860 } 861 862 private double translateY; 863 /** 864 Set the value of the {@link javafx.scene.Node#getTranslateY() translateY} property for the instance constructed by this builder. 865 */ 866 @SuppressWarnings("unchecked") 867 public B translateY(double x) { 868 this.translateY = x; 869 __set(66); 870 return (B) this; 871 } 872 873 private double translateZ; 874 /** 875 Set the value of the {@link javafx.scene.Node#getTranslateZ() translateZ} property for the instance constructed by this builder. 876 */ 877 @SuppressWarnings("unchecked") 878 public B translateZ(double x) { 879 this.translateZ = x; 880 __set(67); 881 return (B) this; 882 } 883 884 private java.lang.Object userData; 885 /** 886 Set the value of the {@link javafx.scene.Node#getUserData() userData} property for the instance constructed by this builder. 887 */ 888 @SuppressWarnings("unchecked") 889 public B userData(java.lang.Object x) { 890 this.userData = x; 891 __set(68); 892 return (B) this; 893 } 894 895 private boolean visible; 896 /** 897 Set the value of the {@link javafx.scene.Node#isVisible() visible} property for the instance constructed by this builder. 898 */ 899 @SuppressWarnings("unchecked") 900 public B visible(boolean x) { 901 this.visible = x; 902 __set(69); 903 return (B) this; 904 } 905 906}