Sha256: c9e87a75153ce727926185d23c49f7628fa5072c3b98fd7718f07a0225511bbc
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
require 'swing/attr_setter' module Clients # Swing-based GUI controls module Swing # 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.2 | lib/swing/scroll_pane.rb |