Class: Java::JavafxSceneControl::ToggleButton
- Inherits:
-
Object
- Object
- Java::JavafxSceneControl::ToggleButton
show all
- Includes:
- JRubyFX::DSL
- Defined in:
- lib/jrubyfx/core_ext/precompiled.rb
Constant Summary
JRubyFX::DSL::NAME_TO_CLASSES, JRubyFX::DSL::NAME_TO_CLASS_NAME
JRubyFX::FXImports::JFX_CLASS_HIERARCHY, JRubyFX::FXImports::LOCAL_NAME_MAP
Constants included
from JRubyFX
JRubyFX::VERSION
Instance Method Summary
collapse
compile_dsl, included, load_dsl, #logical_lookup, #method_missing, #self_test_lookup, write_color_method_converter, write_enum_converter, write_enum_method_converter, write_event_method
#const_missing
Methods included from JRubyFX
#build, included, load_fx, #run_later, #with
#attempt_conversion, #populate_properties, #split_args_from_properties
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class JRubyFX::DSL
Instance Method Details
#alignment=(rbenum) ⇒ Object
#blend_mode=(rbenum) ⇒ Object
#cache_hint=(rbenum) ⇒ Object
#content_display=(rbenum) ⇒ Object
453
454
455
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 453
def content_display=(rbenum)
java_send "setContentDisplay", [Java::JavafxSceneControl::ContentDisplay], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneControl::ContentDisplay)
end
|
#depth_test=(rbenum) ⇒ Object
#on_action(&block) ⇒ Object
477
478
479
480
481
482
483
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 477
def on_action(&block)
if block_given?
setOnAction block
else
getOnAction
end
end
|
484
485
486
487
488
489
490
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 484
def (&block)
if block_given?
block
else
end
end
|
#on_drag_detected(&block) ⇒ Object
491
492
493
494
495
496
497
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 491
def on_drag_detected(&block)
if block_given?
setOnDragDetected block
else
getOnDragDetected
end
end
|
#on_drag_done(&block) ⇒ Object
498
499
500
501
502
503
504
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 498
def on_drag_done(&block)
if block_given?
setOnDragDone block
else
getOnDragDone
end
end
|
#on_drag_dropped(&block) ⇒ Object
505
506
507
508
509
510
511
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 505
def on_drag_dropped(&block)
if block_given?
setOnDragDropped block
else
getOnDragDropped
end
end
|
#on_drag_entered(&block) ⇒ Object
512
513
514
515
516
517
518
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 512
def on_drag_entered(&block)
if block_given?
setOnDragEntered block
else
getOnDragEntered
end
end
|
#on_drag_exited(&block) ⇒ Object
519
520
521
522
523
524
525
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 519
def on_drag_exited(&block)
if block_given?
setOnDragExited block
else
getOnDragExited
end
end
|
#on_drag_over(&block) ⇒ Object
526
527
528
529
530
531
532
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 526
def on_drag_over(&block)
if block_given?
setOnDragOver block
else
getOnDragOver
end
end
|
#on_input_method_text_changed(&block) ⇒ Object
533
534
535
536
537
538
539
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 533
def on_input_method_text_changed(&block)
if block_given?
setOnInputMethodTextChanged block
else
getOnInputMethodTextChanged
end
end
|
#on_key_pressed(&block) ⇒ Object
540
541
542
543
544
545
546
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 540
def on_key_pressed(&block)
if block_given?
setOnKeyPressed block
else
getOnKeyPressed
end
end
|
#on_key_released(&block) ⇒ Object
547
548
549
550
551
552
553
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 547
def on_key_released(&block)
if block_given?
setOnKeyReleased block
else
getOnKeyReleased
end
end
|
#on_key_typed(&block) ⇒ Object
554
555
556
557
558
559
560
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 554
def on_key_typed(&block)
if block_given?
setOnKeyTyped block
else
getOnKeyTyped
end
end
|
#on_mouse_clicked(&block) ⇒ Object
561
562
563
564
565
566
567
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 561
def on_mouse_clicked(&block)
if block_given?
setOnMouseClicked block
else
getOnMouseClicked
end
end
|
#on_mouse_drag_entered(&block) ⇒ Object
568
569
570
571
572
573
574
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 568
def on_mouse_drag_entered(&block)
if block_given?
setOnMouseDragEntered block
else
getOnMouseDragEntered
end
end
|
#on_mouse_drag_exited(&block) ⇒ Object
575
576
577
578
579
580
581
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 575
def on_mouse_drag_exited(&block)
if block_given?
setOnMouseDragExited block
else
getOnMouseDragExited
end
end
|
#on_mouse_drag_over(&block) ⇒ Object
582
583
584
585
586
587
588
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 582
def on_mouse_drag_over(&block)
if block_given?
setOnMouseDragOver block
else
getOnMouseDragOver
end
end
|
#on_mouse_drag_released(&block) ⇒ Object
589
590
591
592
593
594
595
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 589
def on_mouse_drag_released(&block)
if block_given?
setOnMouseDragReleased block
else
getOnMouseDragReleased
end
end
|
#on_mouse_dragged(&block) ⇒ Object
596
597
598
599
600
601
602
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 596
def on_mouse_dragged(&block)
if block_given?
setOnMouseDragged block
else
getOnMouseDragged
end
end
|
#on_mouse_entered(&block) ⇒ Object
603
604
605
606
607
608
609
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 603
def on_mouse_entered(&block)
if block_given?
setOnMouseEntered block
else
getOnMouseEntered
end
end
|
#on_mouse_exited(&block) ⇒ Object
610
611
612
613
614
615
616
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 610
def on_mouse_exited(&block)
if block_given?
setOnMouseExited block
else
getOnMouseExited
end
end
|
#on_mouse_moved(&block) ⇒ Object
617
618
619
620
621
622
623
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 617
def on_mouse_moved(&block)
if block_given?
setOnMouseMoved block
else
getOnMouseMoved
end
end
|
#on_mouse_pressed(&block) ⇒ Object
624
625
626
627
628
629
630
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 624
def on_mouse_pressed(&block)
if block_given?
setOnMousePressed block
else
getOnMousePressed
end
end
|
#on_mouse_released(&block) ⇒ Object
631
632
633
634
635
636
637
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 631
def on_mouse_released(&block)
if block_given?
setOnMouseReleased block
else
getOnMouseReleased
end
end
|
#on_rotate(&block) ⇒ Object
638
639
640
641
642
643
644
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 638
def on_rotate(&block)
if block_given?
setOnRotate block
else
getOnRotate
end
end
|
#on_rotation_finished(&block) ⇒ Object
645
646
647
648
649
650
651
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 645
def on_rotation_finished(&block)
if block_given?
setOnRotationFinished block
else
getOnRotationFinished
end
end
|
#on_rotation_started(&block) ⇒ Object
652
653
654
655
656
657
658
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 652
def on_rotation_started(&block)
if block_given?
setOnRotationStarted block
else
getOnRotationStarted
end
end
|
659
660
661
662
663
664
665
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 659
def on_scroll(&block)
if block_given?
setOnScroll block
else
getOnScroll
end
end
|
666
667
668
669
670
671
672
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 666
def on_scroll_finished(&block)
if block_given?
setOnScrollFinished block
else
getOnScrollFinished
end
end
|
673
674
675
676
677
678
679
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 673
def on_scroll_started(&block)
if block_given?
setOnScrollStarted block
else
getOnScrollStarted
end
end
|
#on_swipe_down(&block) ⇒ Object
680
681
682
683
684
685
686
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 680
def on_swipe_down(&block)
if block_given?
setOnSwipeDown block
else
getOnSwipeDown
end
end
|
#on_swipe_left(&block) ⇒ Object
687
688
689
690
691
692
693
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 687
def on_swipe_left(&block)
if block_given?
setOnSwipeLeft block
else
getOnSwipeLeft
end
end
|
#on_swipe_right(&block) ⇒ Object
694
695
696
697
698
699
700
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 694
def on_swipe_right(&block)
if block_given?
setOnSwipeRight block
else
getOnSwipeRight
end
end
|
#on_swipe_up(&block) ⇒ Object
701
702
703
704
705
706
707
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 701
def on_swipe_up(&block)
if block_given?
setOnSwipeUp block
else
getOnSwipeUp
end
end
|
#on_touch_moved(&block) ⇒ Object
708
709
710
711
712
713
714
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 708
def on_touch_moved(&block)
if block_given?
setOnTouchMoved block
else
getOnTouchMoved
end
end
|
#on_touch_pressed(&block) ⇒ Object
715
716
717
718
719
720
721
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 715
def on_touch_pressed(&block)
if block_given?
setOnTouchPressed block
else
getOnTouchPressed
end
end
|
#on_touch_released(&block) ⇒ Object
722
723
724
725
726
727
728
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 722
def on_touch_released(&block)
if block_given?
setOnTouchReleased block
else
getOnTouchReleased
end
end
|
#on_touch_stationary(&block) ⇒ Object
729
730
731
732
733
734
735
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 729
def on_touch_stationary(&block)
if block_given?
setOnTouchStationary block
else
getOnTouchStationary
end
end
|
#on_zoom(&block) ⇒ Object
736
737
738
739
740
741
742
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 736
def on_zoom(&block)
if block_given?
setOnZoom block
else
getOnZoom
end
end
|
#on_zoom_finished(&block) ⇒ Object
743
744
745
746
747
748
749
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 743
def on_zoom_finished(&block)
if block_given?
setOnZoomFinished block
else
getOnZoomFinished
end
end
|
#on_zoom_started(&block) ⇒ Object
750
751
752
753
754
755
756
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 750
def on_zoom_started(&block)
if block_given?
setOnZoomStarted block
else
getOnZoomStarted
end
end
|
#text_alignment=(rbenum) ⇒ Object
#text_fill=(value) ⇒ Object
#text_overrun=(rbenum) ⇒ Object