Sha256: 3cdd42e6a43f1acd93ec47142f99b8796a70e043b83cd987de7dce012316f31c

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

require 'swing'

class Swing::JCheckBox

  attr_setter :selected
  attr_setter :tool_tip_text

  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.8 lib/swing/j_check_box.rb
swing-0.1.7 lib/swing/j_check_box.rb
swing-0.1.5 lib/swing/j_check_box.rb
swing-0.1.4 lib/swing/j_check_box.rb
swing-0.1.3 lib/swing/j_check_box.rb