Class: Java::JavafxSceneControl::ListView

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

#on_edit_cancel(&block) ⇒ Object



640
641
642
643
644
645
646
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 640

def on_edit_cancel(&block)
  if block_given?
    setOnEditCancel block
  else
    getOnEditCancel
  end
end

#on_edit_commit(&block) ⇒ Object



633
634
635
636
637
638
639
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 633

def on_edit_commit(&block)
  if block_given?
    setOnEditCommit block
  else
    getOnEditCommit
  end
end

#on_edit_start(&block) ⇒ Object



626
627
628
629
630
631
632
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 626

def on_edit_start(&block)
  if block_given?
    setOnEditStart block
  else
    getOnEditStart
  end
end

#on_scroll_to(&block) ⇒ Object



647
648
649
650
651
652
653
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 647

def on_scroll_to(&block)
  if block_given?
    setOnScrollTo block
  else
    getOnScrollTo
  end
end

#orientation=(rbenum) ⇒ Object



623
624
625
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 623

def orientation=(rbenum)
  java_send "setOrientation", [Java::JavafxGeometry::Orientation], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Orientation)
end