Sha256: d836d5297a5a047c2363222d23fb30a1606107da26c418962cf647a83029b22f

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

require 'swing/attr_setter'

module Clients

  # Swing-based GUI controls
  module SwingGui

    class List < javax.swing.JList
      include AttrSetter

      def initialize model, opts = {}
        set_attributes(opts) {super(model)}

        opts[:parent].add self if opts[:parent]
      end
    end # class List

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
swing-0.0.1 lib/swing/list.rb