Sha256: 7d8d3a3d62345a9f8c265ee21ea19610088ab55d1f89180735829ad43812a779
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
require 'swing/attr_setter' module Clients # Swing-based GUI controls module SwingGui # Scroll Pane around given scrollable component class ScrollPane < javax.swing.JScrollPane include AttrSetter attr_setter :horizontal_scroll_bar_policy, :vertical_scroll_bar_policy def initialize component, opts = {} set_attributes(opts) { super(component) } opts[:parent].add self if opts[:parent] end end # class Panel end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
swing-0.0.1 | lib/swing/scroll_pane.rb |