Class: Java::JavafxSceneControl::PopupControl

Inherits:
Object
  • Object
show all
Includes:
JRubyFX::DSL
Defined in:
lib/jrubyfx/core_ext/precompiled.rb

Constant Summary

Constants included from JRubyFX::DSL

JRubyFX::DSL::NAME_TO_CLASSES, JRubyFX::DSL::NAME_TO_CLASS_NAME

Constants included from JRubyFX::FXImports

JRubyFX::FXImports::JFX_CLASS_HIERARCHY, JRubyFX::FXImports::LOCAL_NAME_MAP

Constants included from JRubyFX

JRubyFX::VERSION

Instance Method Summary collapse

Methods included from JRubyFX::DSL

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

Methods included from JRubyFX::FXImports

#const_missing

Methods included from JRubyFX

#build, included, load_fx, #run_later, #with

Methods included from JRubyFX::Utils::CommonUtils

#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

#anchor_location=(rbenum) ⇒ Object



671
672
673
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 671

def anchor_location=(rbenum)
  java_send "setAnchorLocation", [Java::JavafxStage::PopupWindow::AnchorLocation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxStage::PopupWindow::AnchorLocation)
end

#on_auto_hide(&block) ⇒ Object



674
675
676
677
678
679
680
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 674

def on_auto_hide(&block)
  if block_given?
    setOnAutoHide block
  else
    getOnAutoHide
  end
end

#on_close_request(&block) ⇒ Object



709
710
711
712
713
714
715
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 709

def on_close_request(&block)
  if block_given?
    setOnCloseRequest block
  else
    getOnCloseRequest
  end
end

#on_hidden(&block) ⇒ Object



681
682
683
684
685
686
687
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 681

def on_hidden(&block)
  if block_given?
    setOnHidden block
  else
    getOnHidden
  end
end

#on_hiding(&block) ⇒ Object



702
703
704
705
706
707
708
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 702

def on_hiding(&block)
  if block_given?
    setOnHiding block
  else
    getOnHiding
  end
end

#on_showing(&block) ⇒ Object



688
689
690
691
692
693
694
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 688

def on_showing(&block)
  if block_given?
    setOnShowing block
  else
    getOnShowing
  end
end

#on_shown(&block) ⇒ Object



695
696
697
698
699
700
701
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 695

def on_shown(&block)
  if block_given?
    setOnShown block
  else
    getOnShown
  end
end