swing 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/HISTORY CHANGED
@@ -25,3 +25,7 @@
25
25
  == 0.1.0 / 2011-05-25
26
26
 
27
27
  * API changed to conform to original Swing classes
28
+
29
+ == 0.1.1 / 2011-05-25
30
+
31
+ * Type fixed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JCheckBox
3
+ class Swing::JCheckBox
4
4
 
5
5
  attr_setter :selected
6
6
 
data/lib/swing/j_frame.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JFrame
3
+ class Swing::JFrame
4
4
  # include AttrSetter
5
5
 
6
6
  attr_setter :layout, :background, :size, :title,
data/lib/swing/j_label.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JLabel
3
+ class Swing::JLabel
4
4
 
5
5
  end # class Label
6
6
 
data/lib/swing/j_list.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JList
3
+ class Swing::JList
4
4
 
5
5
  end # class List
6
6
 
data/lib/swing/j_menu.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JMenu
3
+ class Swing::JMenu
4
4
 
5
5
  end
@@ -2,7 +2,7 @@ require 'swing'
2
2
  require 'swing/j_menu'
3
3
  require 'swing/j_menu_item'
4
4
 
5
- module Swing::JMenuBar
5
+ class Swing::JMenuBar
6
6
 
7
7
  def initialize opts = {}
8
8
  super opts
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JMenuItem
3
+ class Swing::JMenuItem
4
4
 
5
5
  def initialize text, opts = {}, &block
6
6
  super text
data/lib/swing/j_panel.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JPanel
3
+ class Swing::JPanel
4
4
 
5
5
  attr_setter :layout, :background
6
6
  end # class Panel
@@ -1,7 +1,7 @@
1
1
  require 'swing'
2
2
 
3
3
  # Scroll Pane around given scrollable component
4
- module Swing::JScrollPane
4
+ class Swing::JScrollPane
5
5
 
6
6
  attr_setter :horizontal_scroll_bar_policy, :vertical_scroll_bar_policy
7
7
 
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JSplitPane
3
+ class Swing::JSplitPane
4
4
 
5
5
  attr_setter :one_touch_expandable, :orientation, :continuous_layout,
6
6
  :divider_size, :divider_location, :resize_weight
data/lib/swing/j_table.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'swing'
2
2
 
3
- module Swing::JTable
3
+ class Swing::JTable
4
4
 
5
5
  # autoCreateColumnsFromModel boolean � � false
6
6
  # autoResizeMode int � � AUTO_RESIZE_ALL_COLUMNS
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: swing
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - arvicco