Sha256: b56793b2f2e1a5bf358bd1b0b0733e0b18927d0b981de123e7807e4d176aac21

Contents?: true

Size: 270 Bytes

Versions: 5

Compression:

Stored size: 270 Bytes

Contents

require 'swing'

class Swing::JCheckBox

  attr_setter :selected

  def initialize *args, &block
    super *args

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
swing-0.1.14 lib/swing/j_check_box.rb
swing-0.1.12 lib/swing/j_check_box.rb
swing-0.1.10 lib/swing/j_check_box.rb
swing-0.1.2 lib/swing/j_check_box.rb
swing-0.1.1 lib/swing/j_check_box.rb