Module: Rubeus::Extensions::Javax::Swing::JSplitPane::ClassMethods
- Defined in:
- lib/rubeus/extensions/javax/swing/j_split_pane.rb
Instance Method Summary collapse
- #add_new_component_to(object, &block) ⇒ Object
- #new_with_rubeus(new_orientation, *args, &block) ⇒ Object
Instance Method Details
#add_new_component_to(object, &block) ⇒ Object
20 21 22 |
# File 'lib/rubeus/extensions/javax/swing/j_split_pane.rb', line 20 def add_new_component_to(object, &block) Rubeus::Awt::Nestable::Context.add_new_component_to(object, :append_component, &block) end |
#new_with_rubeus(new_orientation, *args, &block) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/rubeus/extensions/javax/swing/j_split_pane.rb', line 13 def new_with_rubeus(new_orientation, *args, &block) if new_orientation.is_a?(Symbol) new_orientation = const_get(new_orientation) end new_without_rubeus(new_orientation, *args, &block) end |