Sha256: 3f2b3756bd7620c521d44ee247b44a888c82394650241e91c9078253db418889

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

require 'swing'

class Swing::JCheckBox

  attr_setter :selected

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

end # class JCheckBox

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swing-0.1.16 lib/swing/j_check_box.rb
swing-0.1.15 lib/swing/j_check_box.rb