Class: Java::javafx::scene::layout::GridPane
- Inherits:
-
Object
- Object
- Java::javafx::scene::layout::GridPane
- Includes:
- JRubyFX::DSL
- Defined in:
- lib/jrubyfx/core_ext/grid_pane.rb
Overview
JRubyFX DSL extensions for JavaFX Grid panes
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
Instance Method Summary collapse
-
#add(node, *moar) ⇒ Object
don’t kill the add(node, int, int..) methods.
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
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
#add(node, *moar) ⇒ Object
don’t kill the add(node, int, int..) methods
23 24 25 26 27 28 29 |
# File 'lib/jrubyfx/core_ext/grid_pane.rb', line 23 def add(node, *moar) if moar.length > 1 self.java_send :add, [Node, *([Java::int]*moar.length)], node, *moar else children << node end end |