profligacy 0.3-jruby → 0.3.1-jruby

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/Rakefile +6 -2
  2. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000014.html +14 -14
  3. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000015.html +4 -4
  4. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000016.html +5 -5
  5. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000017.html +9 -9
  6. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000018.html +13 -13
  7. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000019.html +5 -5
  8. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000020.html +9 -9
  9. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000021.html +4 -4
  10. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000022.html +4 -4
  11. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000023.html +4 -4
  12. data/doc/rdoc/classes/Profligacy/LELGroupLayout.src/M000024.html +7 -7
  13. data/doc/rdoc/classes/Profligacy/LELNameScanner.src/M000025.html +4 -4
  14. data/doc/rdoc/classes/Profligacy/LELNameScanner.src/M000026.html +4 -4
  15. data/doc/rdoc/classes/Profligacy/LELNameScanner.src/M000027.html +4 -4
  16. data/doc/rdoc/classes/Profligacy/Swing/Build.html +35 -35
  17. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000005.html +7 -26
  18. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000006.html +5 -5
  19. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000007.html +26 -9
  20. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000008.html +5 -8
  21. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000009.html +9 -11
  22. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000010.html +21 -0
  23. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000011.html +24 -0
  24. data/doc/rdoc/classes/Profligacy/Swing/LEL.html +10 -10
  25. data/doc/rdoc/classes/Profligacy/Swing/LEL.src/{M000010.html → M000012.html} +19 -19
  26. data/doc/rdoc/classes/Profligacy/Swing/LEL.src/{M000011.html → M000013.html} +22 -22
  27. data/doc/rdoc/classes/Profligacy/Swing/RunnableProc.html +10 -10
  28. data/doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/{M000012.html → M000003.html} +0 -0
  29. data/doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/{M000013.html → M000004.html} +0 -0
  30. data/doc/rdoc/created.rid +1 -1
  31. data/doc/rdoc/files/COPYING.html +1 -1
  32. data/doc/rdoc/files/LICENSE.html +1 -1
  33. data/doc/rdoc/files/README.html +1 -1
  34. data/doc/rdoc/files/lib/profligacy/lel_rb.html +8 -1
  35. data/doc/rdoc/files/lib/profligacy/swing_rb.html +1 -1
  36. data/doc/rdoc/fr_method_index.html +13 -13
  37. data/lib/profligacy/lel.rb +1 -0
  38. data/lib/profligacy/parser.jar +0 -0
  39. metadata +61 -54
  40. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000003.html +0 -20
  41. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000004.html +0 -18
@@ -5,18 +5,35 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>each_or_one (Profligacy::Swing::Build)</title>
8
+ <title>build (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 110</span>
14
- 110: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>)
15
- 111: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">component</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:each</span>
16
- 112: <span class="ruby-identifier">component</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">c</span> }
17
- 113: <span class="ruby-keyword kw">else</span>
18
- 114: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">component</span>
19
- 115: <span class="ruby-keyword kw">end</span>
20
- 116: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 77</span>
14
+ 77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
+ 78: <span class="ruby-comment cmt"># create the container they ask for with these args</span>
16
+ 79: <span class="ruby-ivar">@container</span> = <span class="ruby-ivar">@container_class</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
17
+ 80: <span class="ruby-comment cmt"># tack on the layout they wanted</span>
18
+ 81: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">layout</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">layout</span>
19
+ 82:
20
+ 83: <span class="ruby-comment cmt"># go through all the children, add them on and tack on the callbacks</span>
21
+ 84: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">child</span><span class="ruby-operator">|</span>
22
+ 85: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
23
+ 86: <span class="ruby-comment cmt"># if this component answers the each call then go through all</span>
24
+ 87: <span class="ruby-identifier">component</span> = <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
25
+ 88: <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">c</span>) }
26
+ 89:
27
+ 90: <span class="ruby-identifier">configure_interactions_for</span> <span class="ruby-identifier">child</span>, <span class="ruby-identifier">component</span>
28
+ 91: <span class="ruby-keyword kw">end</span>
29
+ 92: }
30
+ 93:
31
+ 94: <span class="ruby-comment cmt"># even though swing doesn't do this, we do</span>
32
+ 95: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">pack</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:pack</span>
33
+ 96: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">visible</span> = <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:visible</span>
34
+ 97:
35
+ 98: <span class="ruby-comment cmt"># and now they can do whatever they want to the container</span>
36
+ 99: <span class="ruby-ivar">@container</span>
37
+ 100: <span class="ruby-keyword kw">end</span></pre>
21
38
  </body>
22
39
  </html>
@@ -5,17 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>setup_children_and_interactions (Profligacy::Swing::Build)</title>
8
+ <title>method_missing (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 118</span>
14
- 118: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">children</span>)
15
- 119: <span class="ruby-ivar">@children</span> = <span class="ruby-identifier">children</span>
16
- 120: <span class="ruby-ivar">@klass</span> = <span class="ruby-constant">Struct</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">*</span><span class="ruby-ivar">@children</span>
17
- 121: <span class="ruby-ivar">@contents</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
18
- 122: <span class="ruby-ivar">@interactions</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
19
- 123: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 102</span>
14
+ 102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">symb</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
+ 103: <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">symb</span>]
16
+ 104: <span class="ruby-keyword kw">end</span></pre>
20
17
  </body>
21
18
  </html>
@@ -5,20 +5,18 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>configure_interactions_for (Profligacy::Swing::Build)</title>
8
+ <title>each_or_one (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 125</span>
14
- 125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure_interactions_for</span>(<span class="ruby-identifier">child</span>,<span class="ruby-identifier">component</span>)
15
- 126: <span class="ruby-identifier">actions</span> = <span class="ruby-ivar">@interactions</span>[<span class="ruby-identifier">child</span>]
16
- 127: <span class="ruby-comment cmt"># now we tack on the callback</span>
17
- 128: <span class="ruby-identifier">actions</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">type</span>, <span class="ruby-identifier">callback</span><span class="ruby-operator">|</span>
18
- 129: <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
19
- 130: <span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;add_#{type}_listener&quot;</span>, <span class="ruby-identifier">callback</span>.<span class="ruby-identifier">to_proc</span>.<span class="ruby-identifier">to_listener</span>(<span class="ruby-identifier">type</span>))
20
- 131: <span class="ruby-keyword kw">end</span>
21
- 132: } <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">actions</span>
22
- 133: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 110</span>
14
+ 110: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>)
15
+ 111: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">component</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:each</span>
16
+ 112: <span class="ruby-identifier">component</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">c</span> }
17
+ 113: <span class="ruby-keyword kw">else</span>
18
+ 114: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">component</span>
19
+ 115: <span class="ruby-keyword kw">end</span>
20
+ 116: <span class="ruby-keyword kw">end</span></pre>
23
21
  </body>
24
22
  </html>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>setup_children_and_interactions (Profligacy::Swing::Build)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 118</span>
14
+ 118: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">children</span>)
15
+ 119: <span class="ruby-ivar">@children</span> = <span class="ruby-identifier">children</span>
16
+ 120: <span class="ruby-ivar">@klass</span> = <span class="ruby-constant">Struct</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">*</span><span class="ruby-ivar">@children</span>
17
+ 121: <span class="ruby-ivar">@contents</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
18
+ 122: <span class="ruby-ivar">@interactions</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
19
+ 123: <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>configure_interactions_for (Profligacy::Swing::Build)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 125</span>
14
+ 125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure_interactions_for</span>(<span class="ruby-identifier">child</span>,<span class="ruby-identifier">component</span>)
15
+ 126: <span class="ruby-identifier">actions</span> = <span class="ruby-ivar">@interactions</span>[<span class="ruby-identifier">child</span>]
16
+ 127: <span class="ruby-comment cmt"># now we tack on the callback</span>
17
+ 128: <span class="ruby-identifier">actions</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">type</span>, <span class="ruby-identifier">callback</span><span class="ruby-operator">|</span>
18
+ 129: <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
19
+ 130: <span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;add_#{type}_listener&quot;</span>, <span class="ruby-identifier">callback</span>.<span class="ruby-identifier">to_proc</span>.<span class="ruby-identifier">to_listener</span>(<span class="ruby-identifier">type</span>))
20
+ 131: <span class="ruby-keyword kw">end</span>
21
+ 132: } <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">actions</span>
22
+ 133: <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -88,8 +88,8 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000011">build</a>&nbsp;&nbsp;
92
- <a href="#M000010">new</a>&nbsp;&nbsp;
91
+ <a href="#M000013">build</a>&nbsp;&nbsp;
92
+ <a href="#M000012">new</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -124,12 +124,12 @@
124
124
  <div id="methods">
125
125
  <h3 class="section-bar">Public Class methods</h3>
126
126
 
127
- <div id="method-M000010" class="method-detail">
128
- <a name="M000010"></a>
127
+ <div id="method-M000012" class="method-detail">
128
+ <a name="M000012"></a>
129
129
 
130
130
  <div class="method-heading">
131
- <a href="LEL.src/M000010.html" target="Code" class="method-signature"
132
- onclick="popupCode('LEL.src/M000010.html');return false;">
131
+ <a href="LEL.src/M000012.html" target="Code" class="method-signature"
132
+ onclick="popupCode('LEL.src/M000012.html');return false;">
133
133
  <span class="method-name">new</span><span class="method-args">(type, expr) {|@contents, @interactions| ...}</span>
134
134
  </a>
135
135
  </div>
@@ -140,12 +140,12 @@
140
140
 
141
141
  <h3 class="section-bar">Public Instance methods</h3>
142
142
 
143
- <div id="method-M000011" class="method-detail">
144
- <a name="M000011"></a>
143
+ <div id="method-M000013" class="method-detail">
144
+ <a name="M000013"></a>
145
145
 
146
146
  <div class="method-heading">
147
- <a href="LEL.src/M000011.html" target="Code" class="method-signature"
148
- onclick="popupCode('LEL.src/M000011.html');return false;">
147
+ <a href="LEL.src/M000013.html" target="Code" class="method-signature"
148
+ onclick="popupCode('LEL.src/M000013.html');return false;">
149
149
  <span class="method-name">build</span><span class="method-args">(prefs={})</span>
150
150
  </a>
151
151
  </div>
@@ -10,24 +10,24 @@
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/lel.rb, line 148</span>
14
- 148: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">expr</span>)
15
- 149:
16
- 150: <span class="ruby-ivar">@expr</span> = <span class="ruby-identifier">expr</span>
17
- 151: <span class="ruby-ivar">@container_class</span> = <span class="ruby-identifier">type</span>
18
- 152: <span class="ruby-ivar">@parser</span> = <span class="ruby-constant">LELParser</span>.<span class="ruby-identifier">new</span>
19
- 153: <span class="ruby-identifier">names</span> = <span class="ruby-constant">LELNameScanner</span>.<span class="ruby-identifier">new</span>
20
- 154: <span class="ruby-ivar">@prefs</span> = {
21
- 155: <span class="ruby-identifier">:auto_create_gaps</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
22
- 156: <span class="ruby-identifier">:auto_create_container_gaps</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
23
- 157: <span class="ruby-identifier">:honors_visibility</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
24
- 158: <span class="ruby-identifier">:pack</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
25
- 159: <span class="ruby-identifier">:visible</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
26
- 160: <span class="ruby-identifier">:args</span> =<span class="ruby-operator">&gt;</span> []
27
- 161: }
28
- 162: <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">names</span>)
29
- 163: <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">names</span>.<span class="ruby-identifier">children</span>)
30
- 164: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@contents</span>, <span class="ruby-ivar">@interactions</span>
31
- 165: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/lel.rb, line 149</span>
14
+ 149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">expr</span>)
15
+ 150:
16
+ 151: <span class="ruby-ivar">@expr</span> = <span class="ruby-identifier">expr</span>
17
+ 152: <span class="ruby-ivar">@container_class</span> = <span class="ruby-identifier">type</span>
18
+ 153: <span class="ruby-ivar">@parser</span> = <span class="ruby-constant">LELParser</span>.<span class="ruby-identifier">new</span>
19
+ 154: <span class="ruby-identifier">names</span> = <span class="ruby-constant">LELNameScanner</span>.<span class="ruby-identifier">new</span>
20
+ 155: <span class="ruby-ivar">@prefs</span> = {
21
+ 156: <span class="ruby-identifier">:auto_create_gaps</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
22
+ 157: <span class="ruby-identifier">:auto_create_container_gaps</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
23
+ 158: <span class="ruby-identifier">:honors_visibility</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
24
+ 159: <span class="ruby-identifier">:pack</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
25
+ 160: <span class="ruby-identifier">:visible</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>,
26
+ 161: <span class="ruby-identifier">:args</span> =<span class="ruby-operator">&gt;</span> []
27
+ 162: }
28
+ 163: <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">names</span>)
29
+ 164: <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">names</span>.<span class="ruby-identifier">children</span>)
30
+ 165: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@contents</span>, <span class="ruby-ivar">@interactions</span>
31
+ 166: <span class="ruby-keyword kw">end</span></pre>
32
32
  </body>
33
33
  </html>
@@ -10,27 +10,27 @@
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/lel.rb, line 167</span>
14
- 167: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span>(<span class="ruby-identifier">prefs</span>={})
15
- 168: <span class="ruby-identifier">prefs</span> = <span class="ruby-ivar">@prefs</span>.<span class="ruby-identifier">merge</span> <span class="ruby-identifier">prefs</span>
16
- 169:
17
- 170: <span class="ruby-ivar">@container</span> = <span class="ruby-ivar">@container_class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span>(<span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:args</span>]))
18
- 171: <span class="ruby-identifier">pane</span> = <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:content_pane</span>) <span class="ruby-operator">?</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">content_pane</span> <span class="ruby-operator">:</span> <span class="ruby-ivar">@container</span>
19
- 172: <span class="ruby-identifier">layout</span> = <span class="ruby-constant">GroupLayout</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">pane</span>
20
- 173: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">layout</span>
21
- 174: <span class="ruby-identifier">layout</span>.<span class="ruby-identifier">auto_create_gaps</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:auto_create_gaps</span>]
22
- 175: <span class="ruby-identifier">layout</span>.<span class="ruby-identifier">auto_create_container_gaps</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:auto_create_container_gaps</span>]
23
- 176: <span class="ruby-identifier">layout</span>.<span class="ruby-identifier">honors_visibility</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:honors_visibility</span>]
24
- 177:
25
- 178: <span class="ruby-identifier">parse</span>(<span class="ruby-constant">LELGroupLayout</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">layout</span>, <span class="ruby-ivar">@contents</span>))
26
- 179:
27
- 180: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">child</span><span class="ruby-operator">|</span>
28
- 181: <span class="ruby-identifier">configure_interactions_for</span>(<span class="ruby-identifier">child</span>,<span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
29
- 182: }
30
- 183:
31
- 184: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">pack</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:pack</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:pack</span>))
32
- 185: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">visible</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:visible</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:visible</span>
33
- 186: <span class="ruby-ivar">@container</span>
34
- 187: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/lel.rb, line 168</span>
14
+ 168: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span>(<span class="ruby-identifier">prefs</span>={})
15
+ 169: <span class="ruby-identifier">prefs</span> = <span class="ruby-ivar">@prefs</span>.<span class="ruby-identifier">merge</span> <span class="ruby-identifier">prefs</span>
16
+ 170:
17
+ 171: <span class="ruby-ivar">@container</span> = <span class="ruby-ivar">@container_class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span>(<span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:args</span>]))
18
+ 172: <span class="ruby-identifier">pane</span> = <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:content_pane</span>) <span class="ruby-operator">?</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">content_pane</span> <span class="ruby-operator">:</span> <span class="ruby-ivar">@container</span>
19
+ 173: <span class="ruby-identifier">layout</span> = <span class="ruby-constant">GroupLayout</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">pane</span>
20
+ 174: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">layout</span>
21
+ 175: <span class="ruby-identifier">layout</span>.<span class="ruby-identifier">auto_create_gaps</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:auto_create_gaps</span>]
22
+ 176: <span class="ruby-identifier">layout</span>.<span class="ruby-identifier">auto_create_container_gaps</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:auto_create_container_gaps</span>]
23
+ 177: <span class="ruby-identifier">layout</span>.<span class="ruby-identifier">honors_visibility</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:honors_visibility</span>]
24
+ 178:
25
+ 179: <span class="ruby-identifier">parse</span>(<span class="ruby-constant">LELGroupLayout</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">layout</span>, <span class="ruby-ivar">@contents</span>))
26
+ 180:
27
+ 181: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">child</span><span class="ruby-operator">|</span>
28
+ 182: <span class="ruby-identifier">configure_interactions_for</span>(<span class="ruby-identifier">child</span>,<span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
29
+ 183: }
30
+ 184:
31
+ 185: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">pack</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:pack</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:pack</span>))
32
+ 186: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">visible</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:visible</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:visible</span>
33
+ 187: <span class="ruby-ivar">@container</span>
34
+ 188: <span class="ruby-keyword kw">end</span></pre>
35
35
  </body>
36
36
  </html>
@@ -86,8 +86,8 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000012">new</a>&nbsp;&nbsp;
90
- <a href="#M000013">run</a>&nbsp;&nbsp;
89
+ <a href="#M000003">new</a>&nbsp;&nbsp;
90
+ <a href="#M000004">run</a>&nbsp;&nbsp;
91
91
  </div>
92
92
  </div>
93
93
 
@@ -116,12 +116,12 @@
116
116
  <div id="methods">
117
117
  <h3 class="section-bar">Public Class methods</h3>
118
118
 
119
- <div id="method-M000012" class="method-detail">
120
- <a name="M000012"></a>
119
+ <div id="method-M000003" class="method-detail">
120
+ <a name="M000003"></a>
121
121
 
122
122
  <div class="method-heading">
123
- <a href="RunnableProc.src/M000012.html" target="Code" class="method-signature"
124
- onclick="popupCode('RunnableProc.src/M000012.html');return false;">
123
+ <a href="RunnableProc.src/M000003.html" target="Code" class="method-signature"
124
+ onclick="popupCode('RunnableProc.src/M000003.html');return false;">
125
125
  <span class="method-name">new</span><span class="method-args">(&amp;block)</span>
126
126
  </a>
127
127
  </div>
@@ -132,12 +132,12 @@
132
132
 
133
133
  <h3 class="section-bar">Public Instance methods</h3>
134
134
 
135
- <div id="method-M000013" class="method-detail">
136
- <a name="M000013"></a>
135
+ <div id="method-M000004" class="method-detail">
136
+ <a name="M000004"></a>
137
137
 
138
138
  <div class="method-heading">
139
- <a href="RunnableProc.src/M000013.html" target="Code" class="method-signature"
140
- onclick="popupCode('RunnableProc.src/M000013.html');return false;">
139
+ <a href="RunnableProc.src/M000004.html" target="Code" class="method-signature"
140
+ onclick="popupCode('RunnableProc.src/M000004.html');return false;">
141
141
  <span class="method-name">run</span><span class="method-args">()</span>
142
142
  </a>
143
143
  </div>
data/doc/rdoc/created.rid CHANGED
@@ -1 +1 @@
1
- Fri Jul 06 01:38:23 EDT 2007
1
+ Sat, 07 Jul 2007 04:01:19 -0400
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jul 04 17:54:24 EDT 2007</td>
59
+ <td>Wed Jul 04 17:54:24 -0400 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jul 04 17:54:36 EDT 2007</td>
59
+ <td>Wed Jul 04 17:54:36 -0400 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jul 04 17:53:07 EDT 2007</td>
59
+ <td>Wed Jul 04 17:53:07 -0400 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Jul 06 01:09:43 EDT 2007</td>
59
+ <td>Sat Jul 07 03:56:24 -0400 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -69,6 +69,13 @@
69
69
  <div id="contextContent">
70
70
 
71
71
 
72
+ <div id="requires-list">
73
+ <h3 class="section-bar">Required files</h3>
74
+
75
+ <div class="name-list">
76
+ profligacy/parser&nbsp;&nbsp;
77
+ </div>
78
+ </div>
72
79
 
73
80
  </div>
74
81
 
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Thu Jul 05 20:56:24 EDT 2007</td>
59
+ <td>Sat Jul 07 03:56:18 -0400 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -21,28 +21,28 @@
21
21
  <h1 class="section-bar">Methods</h1>
22
22
  <div id="index-entries">
23
23
  <a href="classes/Profligacy/LELGroupLayout.html#M000020">align (Profligacy::LELGroupLayout)</a><br />
24
- <a href="classes/Profligacy/Swing/Build.html#M000005">build (Profligacy::Swing::Build)</a><br />
25
- <a href="classes/Profligacy/Swing/LEL.html#M000011">build (Profligacy::Swing::LEL)</a><br />
24
+ <a href="classes/Profligacy/Swing/Build.html#M000007">build (Profligacy::Swing::Build)</a><br />
25
+ <a href="classes/Profligacy/Swing/LEL.html#M000013">build (Profligacy::Swing::LEL)</a><br />
26
26
  <a href="classes/Profligacy/LELGroupLayout.html#M000015">col (Profligacy::LELGroupLayout)</a><br />
27
- <a href="classes/Profligacy/Swing/Build.html#M000009">configure_interactions_for (Profligacy::Swing::Build)</a><br />
28
- <a href="classes/Profligacy/Swing/Build.html#M000007">each_or_one (Profligacy::Swing::Build)</a><br />
27
+ <a href="classes/Profligacy/Swing/Build.html#M000011">configure_interactions_for (Profligacy::Swing::Build)</a><br />
28
+ <a href="classes/Profligacy/Swing/Build.html#M000009">each_or_one (Profligacy::Swing::Build)</a><br />
29
29
  <a href="classes/Profligacy/LELGroupLayout.html#M000023">expand (Profligacy::LELGroupLayout)</a><br />
30
30
  <a href="classes/Profligacy/LELGroupLayout.html#M000024">finished (Profligacy::LELGroupLayout)</a><br />
31
- <a href="classes/Profligacy/LELGroupLayout.html#M000018">id (Profligacy::LELGroupLayout)</a><br />
32
31
  <a href="classes/Profligacy/LELNameScanner.html#M000026">id (Profligacy::LELNameScanner)</a><br />
33
- <a href="classes/Profligacy/Swing/Build.html#M000004">interactions (Profligacy::Swing::Build)</a><br />
32
+ <a href="classes/Profligacy/LELGroupLayout.html#M000018">id (Profligacy::LELGroupLayout)</a><br />
33
+ <a href="classes/Profligacy/Swing/Build.html#M000006">interactions (Profligacy::Swing::Build)</a><br />
34
34
  <a href="classes/Profligacy/LELGroupLayout.html#M000016">ltab (Profligacy::LELGroupLayout)</a><br />
35
- <a href="classes/Profligacy/Swing/Build.html#M000006">method_missing (Profligacy::Swing::Build)</a><br />
35
+ <a href="classes/Profligacy/Swing/Build.html#M000008">method_missing (Profligacy::Swing::Build)</a><br />
36
36
  <a href="classes/Profligacy/LELNameScanner.html#M000027">method_missing (Profligacy::LELNameScanner)</a><br />
37
- <a href="classes/Profligacy/Swing/Build.html#M000003">new (Profligacy::Swing::Build)</a><br />
38
- <a href="classes/Profligacy/Swing/LEL.html#M000010">new (Profligacy::Swing::LEL)</a><br />
39
- <a href="classes/Profligacy/Swing/RunnableProc.html#M000012">new (Profligacy::Swing::RunnableProc)</a><br />
40
- <a href="classes/Profligacy/LELGroupLayout.html#M000014">new (Profligacy::LELGroupLayout)</a><br />
37
+ <a href="classes/Profligacy/Swing/Build.html#M000005">new (Profligacy::Swing::Build)</a><br />
38
+ <a href="classes/Profligacy/Swing/LEL.html#M000012">new (Profligacy::Swing::LEL)</a><br />
39
+ <a href="classes/Profligacy/Swing/RunnableProc.html#M000003">new (Profligacy::Swing::RunnableProc)</a><br />
41
40
  <a href="classes/Profligacy/LELNameScanner.html#M000025">new (Profligacy::LELNameScanner)</a><br />
41
+ <a href="classes/Profligacy/LELGroupLayout.html#M000014">new (Profligacy::LELGroupLayout)</a><br />
42
42
  <a href="classes/Profligacy/LELGroupLayout.html#M000019">row (Profligacy::LELGroupLayout)</a><br />
43
- <a href="classes/Profligacy/Swing/RunnableProc.html#M000013">run (Profligacy::Swing::RunnableProc)</a><br />
43
+ <a href="classes/Profligacy/Swing/RunnableProc.html#M000004">run (Profligacy::Swing::RunnableProc)</a><br />
44
44
  <a href="classes/Profligacy/LELGroupLayout.html#M000022">setheight (Profligacy::LELGroupLayout)</a><br />
45
- <a href="classes/Profligacy/Swing/Build.html#M000008">setup_children_and_interactions (Profligacy::Swing::Build)</a><br />
45
+ <a href="classes/Profligacy/Swing/Build.html#M000010">setup_children_and_interactions (Profligacy::Swing::Build)</a><br />
46
46
  <a href="classes/Profligacy/LELGroupLayout.html#M000021">setwidth (Profligacy::LELGroupLayout)</a><br />
47
47
  <a href="classes/Proc.html#M000001">to_listener (Proc)</a><br />
48
48
  <a href="classes/Proc.html#M000002">to_runnable (Proc)</a><br />
@@ -1,3 +1,4 @@
1
+ require 'profligacy/parser'
1
2
 
2
3
  module Profligacy
3
4
  include_package 'profligacy'
Binary file