Sha256: 74babf1f6d38eccdd43253a3c3460686ef57cfdb4829050a2c71587d8010904e
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
require 'swing/attr_setter' import javax.swing.JSplitPane module Clients # Swing-based GUI controls module SwingGui class SplitPane < JSplitPane include AttrSetter attr_setter :one_touch_expandable, :orientation, :continuous_layout, :divider_size, :divider_location, :resize_weight def initialize first, second, opts = {} set_attributes(opts) { super(JSplitPane::HORIZONTAL_SPLIT, first, second) } 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/split_pane.rb |