Class: Swing::JCheckBox

Inherits:
Object
  • Object
show all
Defined in:
lib/swing/j_check_box.rb

Instance Method Summary collapse

Instance Method Details

#add_block_listener(&block) ⇒ Object



7
8
9
10
# File 'lib/swing/j_check_box.rb', line 7

def add_block_listener &block
  # TODO: Probably need to implement ItemListener as well?
  self.addActionListener SwingSupport::ActionListener.new &block
end