rumai 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. data/CREDITS +4 -3
  2. data/HISTORY +327 -0
  3. data/INSTALL +31 -0
  4. data/README +92 -0
  5. data/USAGE +297 -0
  6. data/bin/rumai +9 -22
  7. data/doc/api/IO.html +119 -0
  8. data/doc/api/Integer.html +171 -0
  9. data/doc/api/Rumai.html +1270 -0
  10. data/doc/api/Rumai/Area.html +1485 -0
  11. data/doc/api/Rumai/Chain.html +301 -0
  12. data/doc/api/Rumai/Client.html +2451 -0
  13. data/doc/api/Rumai/ClientContainer.html +301 -0
  14. data/doc/api/Rumai/ExportInstanceMethods.html +103 -0
  15. data/doc/api/Rumai/IXP.html +94 -0
  16. data/doc/api/Rumai/IXP/Agent.html +1625 -0
  17. data/doc/api/Rumai/IXP/Agent/FidStream.html +959 -0
  18. data/doc/api/Rumai/IXP/Agent/RangedPool.html +381 -0
  19. data/doc/api/Rumai/IXP/Error.html +110 -0
  20. data/doc/api/Rumai/IXP/Fcall.html +503 -0
  21. data/doc/api/Rumai/IXP/Qid.html +207 -0
  22. data/doc/api/Rumai/IXP/Rattach.html +148 -0
  23. data/doc/api/Rumai/IXP/Rauth.html +148 -0
  24. data/doc/api/Rumai/IXP/Rclunk.html +148 -0
  25. data/doc/api/Rumai/IXP/Rcreate.html +148 -0
  26. data/doc/api/Rumai/IXP/Rerror.html +148 -0
  27. data/doc/api/Rumai/IXP/Rflush.html +148 -0
  28. data/doc/api/Rumai/IXP/Ropen.html +148 -0
  29. data/doc/api/Rumai/IXP/Rread.html +148 -0
  30. data/doc/api/Rumai/IXP/Rremove.html +148 -0
  31. data/doc/api/Rumai/IXP/Rstat.html +148 -0
  32. data/doc/api/Rumai/IXP/Rversion.html +148 -0
  33. data/doc/api/Rumai/IXP/Rwalk.html +148 -0
  34. data/doc/api/Rumai/IXP/Rwrite.html +148 -0
  35. data/doc/api/Rumai/IXP/Rwstat.html +148 -0
  36. data/doc/api/Rumai/IXP/Stat.html +335 -0
  37. data/doc/api/Rumai/IXP/Stream.html +194 -0
  38. data/doc/api/Rumai/IXP/Struct.html +586 -0
  39. data/doc/api/Rumai/IXP/Struct/ClassField.html +242 -0
  40. data/doc/api/Rumai/IXP/Struct/Field.html +782 -0
  41. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +227 -0
  42. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +153 -0
  43. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +242 -0
  44. data/doc/api/Rumai/IXP/Struct/StringField.html +206 -0
  45. data/doc/api/Rumai/IXP/Tattach.html +148 -0
  46. data/doc/api/Rumai/IXP/Tauth.html +148 -0
  47. data/doc/api/Rumai/IXP/Tclunk.html +148 -0
  48. data/doc/api/Rumai/IXP/Tcreate.html +148 -0
  49. data/doc/api/Rumai/IXP/Terror.html +231 -0
  50. data/doc/api/Rumai/IXP/Tflush.html +148 -0
  51. data/doc/api/Rumai/IXP/Topen.html +240 -0
  52. data/doc/api/Rumai/IXP/Tread.html +148 -0
  53. data/doc/api/Rumai/IXP/Tremove.html +148 -0
  54. data/doc/api/Rumai/IXP/Tstat.html +148 -0
  55. data/doc/api/Rumai/IXP/Tversion.html +162 -0
  56. data/doc/api/Rumai/IXP/Twalk.html +148 -0
  57. data/doc/api/Rumai/IXP/Twrite.html +148 -0
  58. data/doc/api/Rumai/IXP/Twstat.html +148 -0
  59. data/doc/api/Rumai/Node.html +1406 -0
  60. data/doc/api/Rumai/View.html +1587 -0
  61. data/doc/api/Rumai/WidgetImpl.html +333 -0
  62. data/doc/api/Rumai/WidgetNode.html +246 -0
  63. data/doc/api/String.html +258 -0
  64. data/doc/api/StringIO.html +119 -0
  65. data/doc/api/Time.html +247 -0
  66. data/doc/api/_index.html +581 -0
  67. data/doc/api/class_list.html +36 -0
  68. data/doc/api/css/common.css +1 -0
  69. data/doc/api/css/full_list.css +50 -0
  70. data/doc/api/css/style.css +273 -0
  71. data/doc/api/file.LICENSE.html +73 -0
  72. data/doc/api/file_list.html +38 -0
  73. data/doc/api/frames.html +13 -0
  74. data/doc/api/index.html +72 -13
  75. data/doc/api/js/app.js +111 -0
  76. data/doc/api/js/full_list.js +117 -0
  77. data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
  78. data/doc/api/method_list.html +1483 -0
  79. data/doc/api/top-level-namespace.html +89 -0
  80. data/doc/index.erb +18 -13
  81. data/doc/index.html +331 -386
  82. data/lib/rumai.rb +1 -18
  83. data/lib/rumai/fs.rb +11 -11
  84. data/lib/rumai/inochi.rb +48 -0
  85. data/lib/rumai/inochi.yaml +94 -0
  86. data/lib/rumai/ixp.rb +0 -4
  87. data/lib/rumai/ixp/message.rb +6 -17
  88. data/lib/rumai/ixp/transport.rb +39 -30
  89. data/lib/rumai/wm.rb +35 -37
  90. data/test/rumai/inochi_test.rb +17 -0
  91. data/test/rumai/ixp/message_test.rb +245 -0
  92. data/test/runner +25 -0
  93. data/test/test_helper.rb +1 -0
  94. metadata +107 -125
  95. data/doc/api/apple-touch-icon.png +0 -0
  96. data/doc/api/classes/IO.html +0 -72
  97. data/doc/api/classes/Integer.html +0 -110
  98. data/doc/api/classes/Object.html +0 -60
  99. data/doc/api/classes/Rumai.html +0 -837
  100. data/doc/api/classes/Rumai/Area.html +0 -909
  101. data/doc/api/classes/Rumai/Chain.html +0 -197
  102. data/doc/api/classes/Rumai/Client.html +0 -1526
  103. data/doc/api/classes/Rumai/ClientContainer.html +0 -191
  104. data/doc/api/classes/Rumai/ExportInstanceMethods.html +0 -69
  105. data/doc/api/classes/Rumai/IXP.html +0 -131
  106. data/doc/api/classes/Rumai/IXP/Agent.html +0 -941
  107. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -456
  108. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -108
  109. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -241
  110. data/doc/api/classes/Rumai/IXP/Error.html +0 -67
  111. data/doc/api/classes/Rumai/IXP/Fcall.html +0 -323
  112. data/doc/api/classes/Rumai/IXP/Qid.html +0 -153
  113. data/doc/api/classes/Rumai/IXP/Rattach.html +0 -67
  114. data/doc/api/classes/Rumai/IXP/Rauth.html +0 -67
  115. data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -67
  116. data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -67
  117. data/doc/api/classes/Rumai/IXP/Rerror.html +0 -67
  118. data/doc/api/classes/Rumai/IXP/Rflush.html +0 -67
  119. data/doc/api/classes/Rumai/IXP/Ropen.html +0 -67
  120. data/doc/api/classes/Rumai/IXP/Rread.html +0 -67
  121. data/doc/api/classes/Rumai/IXP/Rremove.html +0 -67
  122. data/doc/api/classes/Rumai/IXP/Rstat.html +0 -67
  123. data/doc/api/classes/Rumai/IXP/Rversion.html +0 -67
  124. data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -67
  125. data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -67
  126. data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -67
  127. data/doc/api/classes/Rumai/IXP/Stat.html +0 -252
  128. data/doc/api/classes/Rumai/IXP/Stream.html +0 -131
  129. data/doc/api/classes/Rumai/IXP/Struct.html +0 -311
  130. data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -415
  131. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -153
  132. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -104
  133. data/doc/api/classes/Rumai/IXP/Tattach.html +0 -68
  134. data/doc/api/classes/Rumai/IXP/Tauth.html +0 -67
  135. data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -67
  136. data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -68
  137. data/doc/api/classes/Rumai/IXP/Terror.html +0 -110
  138. data/doc/api/classes/Rumai/IXP/Tflush.html +0 -67
  139. data/doc/api/classes/Rumai/IXP/Topen.html +0 -165
  140. data/doc/api/classes/Rumai/IXP/Tread.html +0 -67
  141. data/doc/api/classes/Rumai/IXP/Tremove.html +0 -67
  142. data/doc/api/classes/Rumai/IXP/Tstat.html +0 -67
  143. data/doc/api/classes/Rumai/IXP/Tversion.html +0 -86
  144. data/doc/api/classes/Rumai/IXP/Twalk.html +0 -68
  145. data/doc/api/classes/Rumai/IXP/Twrite.html +0 -68
  146. data/doc/api/classes/Rumai/IXP/Twstat.html +0 -67
  147. data/doc/api/classes/Rumai/Node.html +0 -821
  148. data/doc/api/classes/Rumai/View.html +0 -967
  149. data/doc/api/classes/Rumai/WidgetImpl.html +0 -65
  150. data/doc/api/classes/Rumai/WidgetNode.html +0 -68
  151. data/doc/api/classes/String.html +0 -163
  152. data/doc/api/classes/StringIO.html +0 -72
  153. data/doc/api/classes/Time.html +0 -156
  154. data/doc/api/created.rid +0 -1
  155. data/doc/api/css/main.css +0 -263
  156. data/doc/api/css/panel.css +0 -383
  157. data/doc/api/css/reset.css +0 -53
  158. data/doc/api/favicon.ico +0 -0
  159. data/doc/api/files/CREDITS.html +0 -67
  160. data/doc/api/files/LICENSE.html +0 -76
  161. data/doc/api/files/lib/rumai/fs_rb.html +0 -75
  162. data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -91
  163. data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -75
  164. data/doc/api/files/lib/rumai/ixp_rb.html +0 -69
  165. data/doc/api/files/lib/rumai/wm_rb.html +0 -77
  166. data/doc/api/files/lib/rumai_rb.html +0 -65
  167. data/doc/api/i/arrows.png +0 -0
  168. data/doc/api/i/results_bg.png +0 -0
  169. data/doc/api/i/tree_bg.png +0 -0
  170. data/doc/api/js/jquery-effect.js +0 -593
  171. data/doc/api/js/main.js +0 -22
  172. data/doc/api/js/searchdoc.js +0 -628
  173. data/doc/api/panel/index.html +0 -71
  174. data/doc/api/panel/search_index.js +0 -1
  175. data/doc/api/panel/tree.js +0 -1
  176. data/doc/history.erb +0 -233
  177. data/doc/intro.erb +0 -70
  178. data/doc/setup.erb +0 -144
  179. data/doc/usage.erb +0 -308
  180. data/rakefile +0 -14
  181. data/test/rumai/ixp/message.rb +0 -237
@@ -1,909 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title>Rumai::Area</title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
9
- <link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
10
- <script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
- <script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
- <script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
13
- </head>
14
-
15
- <body>
16
- <div class="banner">
17
- <h1>
18
- <span class="type">Class</span>
19
- Rumai::Area
20
-
21
- <span class="parent">&lt;
22
-
23
- <a href="../Object.html">Object</a>
24
-
25
- </span>
26
-
27
- </h1>
28
- <ul class="files">
29
-
30
- <li><a href="../../files/lib/rumai/wm_rb.html">lib/rumai/wm.rb</a></li>
31
-
32
- </ul>
33
- </div>
34
- <div id="bodyContent">
35
- <div id="content">
36
-
37
- <div class="description">
38
- <p>
39
- A region that contains clients. This can be either the floating area or a
40
- column in the managed area.
41
- </p>
42
-
43
- </div>
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
- <div class="sectiontitle">Methods</div>
54
- <dl class="methods">
55
-
56
- <dt>#</dt>
57
- <dd>
58
- <ul>
59
-
60
- <li><a href="#M000100"><<</a></li>
61
-
62
- </ul>
63
- </dd>
64
-
65
- <dt>C</dt>
66
- <dd>
67
- <ul>
68
-
69
- <li><a href="#M000087">chain</a>,</li>
70
-
71
- <li><a href="#M000090">client_ids</a>,</li>
72
-
73
- <li><a href="#M000077">column?</a>,</li>
74
-
75
- <li><a href="#M000106">concat</a>,</li>
76
-
77
- <li><a href="#M000079">curr</a></li>
78
-
79
- </ul>
80
- </dd>
81
-
82
- <dt>E</dt>
83
- <dd>
84
- <ul>
85
-
86
- <li><a href="#M000091">each</a>,</li>
87
-
88
- <li><a href="#M000088">exist?</a></li>
89
-
90
- </ul>
91
- </dd>
92
-
93
- <dt>F</dt>
94
- <dd>
95
- <ul>
96
-
97
- <li><a href="#M000086">floating</a>,</li>
98
-
99
- <li><a href="#M000076">floating?</a>,</li>
100
-
101
- <li><a href="#M000094">focus</a></li>
102
-
103
- </ul>
104
- </dd>
105
-
106
- <dt>I</dt>
107
- <dd>
108
- <ul>
109
-
110
- <li><a href="#M000103">insert</a></li>
111
-
112
- </ul>
113
- </dd>
114
-
115
- <dt>L</dt>
116
- <dd>
117
- <ul>
118
-
119
- <li><a href="#M000092">layout=</a>,</li>
120
-
121
- <li><a href="#M000095">length</a>,</li>
122
-
123
- <li><a href="#M000107">length=</a></li>
124
-
125
- </ul>
126
- </dd>
127
-
128
- <dt>M</dt>
129
- <dd>
130
- <ul>
131
-
132
- <li><a href="#M000078">managed?</a></li>
133
-
134
- </ul>
135
- </dd>
136
-
137
- <dt>N</dt>
138
- <dd>
139
- <ul>
140
-
141
- <li><a href="#M000072">new</a></li>
142
-
143
- </ul>
144
- </dd>
145
-
146
- <dt>P</dt>
147
- <dd>
148
- <ul>
149
-
150
- <li><a href="#M000099">push</a></li>
151
-
152
- </ul>
153
- </dd>
154
-
155
- <dt>U</dt>
156
- <dd>
157
- <ul>
158
-
159
- <li><a href="#M000104">unshift</a></li>
160
-
161
- </ul>
162
- </dd>
163
-
164
- </dl>
165
-
166
-
167
-
168
- <div class="sectiontitle">Included Modules</div>
169
- <ul>
170
-
171
- <li>
172
-
173
- <a href="../Rumai.html">Rumai</a>
174
-
175
- START:includes
176
- </li>
177
-
178
- <li>
179
-
180
- <a href="../Rumai.html">Rumai</a>
181
-
182
- START:includes
183
- </li>
184
-
185
- <li>
186
-
187
- <a href="../Rumai.html">Rumai</a>
188
-
189
- START:includes
190
- </li>
191
-
192
- <li>
193
-
194
- <span>Enumerable</span>
195
-
196
- START:includes
197
- </li>
198
-
199
- </ul>
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
- <div class="sectiontitle">Attributes</div>
210
- <table border='0' cellpadding='5'>
211
-
212
- <tr valign='top'>
213
- <td class='attr-rw'>
214
- [R]
215
- </td>
216
- <td class='attr-name'>view</td>
217
- <td class='attr-desc'></td>
218
- </tr>
219
-
220
- </table>
221
-
222
-
223
-
224
- <div class="sectiontitle">Class Public methods</div>
225
-
226
- <div class="method">
227
- <div class="title" id="M000079">
228
-
229
- <a name="M000079"></a><b>curr</b>()
230
-
231
- </div>
232
-
233
- <div class="description">
234
- <p>
235
- Returns the currently focused area.
236
- </p>
237
-
238
- </div>
239
-
240
-
241
-
242
-
243
- <div class="sourcecode">
244
- <p class="source-link">
245
- Source: <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show</a>
246
-
247
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L522" target="_blank" class="github_url">on GitHub</a>
248
-
249
- </p>
250
- <div id="M000079_source" class="dyn-source">
251
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 522</span>
252
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
253
- <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>.<span class="ruby-identifier">area_of_client</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>
254
- <span class="ruby-keyword kw">end</span></pre>
255
- </div>
256
- </div>
257
-
258
- </div>
259
-
260
- <div class="method">
261
- <div class="title" id="M000086">
262
-
263
- <a name="M000086"></a><b>floating</b>(view = View.curr)
264
-
265
- </div>
266
-
267
- <div class="description">
268
- <p>
269
- Returns the floating area in the given view.
270
- </p>
271
-
272
- </div>
273
-
274
-
275
-
276
-
277
- <div class="sourcecode">
278
- <p class="source-link">
279
- Source: <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show</a>
280
-
281
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L529" target="_blank" class="github_url">on GitHub</a>
282
-
283
- </p>
284
- <div id="M000086_source" class="dyn-source">
285
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 529</span>
286
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">floating</span> <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
287
- <span class="ruby-identifier">new</span> <span class="ruby-constant">FLOATING_AREA_ID</span>, <span class="ruby-identifier">view</span>
288
- <span class="ruby-keyword kw">end</span></pre>
289
- </div>
290
- </div>
291
-
292
- </div>
293
-
294
- <div class="method">
295
- <div class="title" id="M000072">
296
-
297
- <a name="M000072"></a><b>new</b>(area_id, view = View.curr)
298
-
299
- </div>
300
-
301
- <div class="description">
302
- <dl>
303
- <dt>view</dt><dd>the view object which contains this area
304
-
305
- </dd>
306
- </dl>
307
-
308
- </div>
309
-
310
-
311
-
312
-
313
- <div class="sourcecode">
314
- <p class="source-link">
315
- Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
316
-
317
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L496" target="_blank" class="github_url">on GitHub</a>
318
-
319
- </p>
320
- <div id="M000072_source" class="dyn-source">
321
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 496</span>
322
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">area_id</span>, <span class="ruby-identifier">view</span> = <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
323
- <span class="ruby-ivar">@id</span> = <span class="ruby-constant">Integer</span>(<span class="ruby-identifier">area_id</span>) <span class="ruby-keyword kw">rescue</span> <span class="ruby-identifier">area_id</span>
324
- <span class="ruby-ivar">@view</span> = <span class="ruby-identifier">view</span>
325
- <span class="ruby-keyword kw">end</span></pre>
326
- </div>
327
- </div>
328
-
329
- </div>
330
-
331
- <div class="sectiontitle">Instance Public methods</div>
332
-
333
- <div class="method">
334
- <div class="title" id="M000100">
335
-
336
- <a name="M000100"></a><b>&lt;&lt;</b>(*clients)
337
-
338
- </div>
339
-
340
- <div class="description">
341
- <p>
342
- Alias for <a href="Area.html#M000099">push</a>
343
- </p>
344
-
345
- </div>
346
-
347
-
348
-
349
- </div>
350
-
351
- <div class="method">
352
- <div class="title" id="M000087">
353
-
354
- <a name="M000087"></a><b>chain</b>()
355
-
356
- </div>
357
-
358
- <div class="description">
359
- <p>
360
- Returns a list of all areas in the current view.
361
- </p>
362
-
363
- </div>
364
-
365
-
366
-
367
-
368
- <div class="sourcecode">
369
- <p class="source-link">
370
- Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
371
-
372
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L538" target="_blank" class="github_url">on GitHub</a>
373
-
374
- </p>
375
- <div id="M000087_source" class="dyn-source">
376
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 538</span>
377
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
378
- <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">areas</span>
379
- <span class="ruby-keyword kw">end</span></pre>
380
- </div>
381
- </div>
382
-
383
- </div>
384
-
385
- <div class="method">
386
- <div class="title" id="M000090">
387
-
388
- <a name="M000090"></a><b>client_ids</b>()
389
-
390
- </div>
391
-
392
- <div class="description">
393
- <p>
394
- Returns the IDs of the clients in this area.
395
- </p>
396
-
397
- </div>
398
-
399
-
400
-
401
-
402
- <div class="sourcecode">
403
- <p class="source-link">
404
- Source: <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show</a>
405
-
406
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L554" target="_blank" class="github_url">on GitHub</a>
407
-
408
- </p>
409
- <div id="M000090_source" class="dyn-source">
410
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 554</span>
411
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
412
- <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">client_ids</span> <span class="ruby-ivar">@id</span>
413
- <span class="ruby-keyword kw">end</span></pre>
414
- </div>
415
- </div>
416
-
417
- </div>
418
-
419
- <div class="method">
420
- <div class="title" id="M000077">
421
-
422
- <a name="M000077"></a><b>column?</b>()
423
-
424
- </div>
425
-
426
- <div class="description">
427
- <p>
428
- Checks if this is a managed area (a column).
429
- </p>
430
-
431
- </div>
432
-
433
-
434
- <div class="aka">
435
- This method is also aliased as
436
-
437
- <a href="Area.html#M000078">managed?</a>
438
-
439
- </div>
440
-
441
-
442
-
443
- <div class="sourcecode">
444
- <p class="source-link">
445
- Source: <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show</a>
446
-
447
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L511" target="_blank" class="github_url">on GitHub</a>
448
-
449
- </p>
450
- <div id="M000077_source" class="dyn-source">
451
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 511</span>
452
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column?</span>
453
- <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">floating?</span>
454
- <span class="ruby-keyword kw">end</span></pre>
455
- </div>
456
- </div>
457
-
458
- </div>
459
-
460
- <div class="method">
461
- <div class="title" id="M000106">
462
-
463
- <a name="M000106"></a><b>concat</b>(area)
464
-
465
- </div>
466
-
467
- <div class="description">
468
- <p>
469
- Concatenates the given area to the bottom of this area.
470
- </p>
471
-
472
- </div>
473
-
474
-
475
-
476
-
477
- <div class="sourcecode">
478
- <p class="source-link">
479
- Source: <a href="javascript:toggleSource('M000106_source')" id="l_M000106_source">show</a>
480
-
481
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L653" target="_blank" class="github_url">on GitHub</a>
482
-
483
- </p>
484
- <div id="M000106_source" class="dyn-source">
485
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 653</span>
486
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concat</span> <span class="ruby-identifier">area</span>
487
- <span class="ruby-identifier">push</span> <span class="ruby-identifier">area</span>.<span class="ruby-identifier">clients</span>
488
- <span class="ruby-keyword kw">end</span></pre>
489
- </div>
490
- </div>
491
-
492
- </div>
493
-
494
- <div class="method">
495
- <div class="title" id="M000091">
496
-
497
- <a name="M000091"></a><b>each</b>(&amp;block)
498
-
499
- </div>
500
-
501
- <div class="description">
502
- <p>
503
- Iterates through each client in this container.
504
- </p>
505
-
506
- </div>
507
-
508
-
509
-
510
-
511
- <div class="sourcecode">
512
- <p class="source-link">
513
- Source: <a href="javascript:toggleSource('M000091_source')" id="l_M000091_source">show</a>
514
-
515
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L563" target="_blank" class="github_url">on GitHub</a>
516
-
517
- </p>
518
- <div id="M000091_source" class="dyn-source">
519
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 563</span>
520
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
521
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
522
- <span class="ruby-keyword kw">end</span></pre>
523
- </div>
524
- </div>
525
-
526
- </div>
527
-
528
- <div class="method">
529
- <div class="title" id="M000088">
530
-
531
- <a name="M000088"></a><b>exist?</b>()
532
-
533
- </div>
534
-
535
- <div class="description">
536
- <p>
537
- Checks if this object exists in the chain.
538
- </p>
539
-
540
- </div>
541
-
542
-
543
-
544
-
545
- <div class="sourcecode">
546
- <p class="source-link">
547
- Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
548
-
549
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L545" target="_blank" class="github_url">on GitHub</a>
550
-
551
- </p>
552
- <div id="M000088_source" class="dyn-source">
553
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 545</span>
554
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exist?</span>
555
- <span class="ruby-identifier">chain</span>.<span class="ruby-identifier">include?</span> <span class="ruby-keyword kw">self</span>
556
- <span class="ruby-keyword kw">end</span></pre>
557
- </div>
558
- </div>
559
-
560
- </div>
561
-
562
- <div class="method">
563
- <div class="title" id="M000076">
564
-
565
- <a name="M000076"></a><b>floating?</b>()
566
-
567
- </div>
568
-
569
- <div class="description">
570
- <p>
571
- Checks if this area is the floating area.
572
- </p>
573
-
574
- </div>
575
-
576
-
577
-
578
-
579
- <div class="sourcecode">
580
- <p class="source-link">
581
- Source: <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show</a>
582
-
583
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L504" target="_blank" class="github_url">on GitHub</a>
584
-
585
- </p>
586
- <div id="M000076_source" class="dyn-source">
587
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 504</span>
588
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">floating?</span>
589
- <span class="ruby-ivar">@id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">FLOATING_AREA_ID</span>
590
- <span class="ruby-keyword kw">end</span></pre>
591
- </div>
592
- </div>
593
-
594
- </div>
595
-
596
- <div class="method">
597
- <div class="title" id="M000094">
598
-
599
- <a name="M000094"></a><b>focus</b>()
600
-
601
- </div>
602
-
603
- <div class="description">
604
- <p>
605
- Puts focus on this area.
606
- </p>
607
-
608
- </div>
609
-
610
-
611
-
612
-
613
- <div class="sourcecode">
614
- <p class="source-link">
615
- Source: <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show</a>
616
-
617
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L586" target="_blank" class="github_url">on GitHub</a>
618
-
619
- </p>
620
- <div id="M000094_source" class="dyn-source">
621
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 586</span>
622
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span>
623
- <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">&quot;select #{@id}&quot;</span>
624
- <span class="ruby-keyword kw">end</span></pre>
625
- </div>
626
- </div>
627
-
628
- </div>
629
-
630
- <div class="method">
631
- <div class="title" id="M000103">
632
-
633
- <a name="M000103"></a><b>insert</b>(*clients)
634
-
635
- </div>
636
-
637
- <div class="description">
638
- <p>
639
- Inserts the given clients after the currently focused client in this area.
640
- </p>
641
-
642
- </div>
643
-
644
-
645
-
646
-
647
- <div class="sourcecode">
648
- <p class="source-link">
649
- Source: <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show</a>
650
-
651
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L624" target="_blank" class="github_url">on GitHub</a>
652
-
653
- </p>
654
- <div id="M000103_source" class="dyn-source">
655
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 624</span>
656
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
657
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
658
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
659
-
660
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
661
- <span class="ruby-identifier">import_client</span> <span class="ruby-identifier">c</span>
662
- <span class="ruby-keyword kw">end</span>
663
- <span class="ruby-keyword kw">end</span></pre>
664
- </div>
665
- </div>
666
-
667
- </div>
668
-
669
- <div class="method">
670
- <div class="title" id="M000092">
671
-
672
- <a name="M000092"></a><b>layout=</b>(mode)
673
-
674
- </div>
675
-
676
- <div class="description">
677
- <p>
678
- Sets the layout of clients in this column.
679
- </p>
680
-
681
- </div>
682
-
683
-
684
-
685
-
686
- <div class="sourcecode">
687
- <p class="source-link">
688
- Source: <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show</a>
689
-
690
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L570" target="_blank" class="github_url">on GitHub</a>
691
-
692
- </p>
693
- <div id="M000092_source" class="dyn-source">
694
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 570</span>
695
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">layout=</span> <span class="ruby-identifier">mode</span>
696
- <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">mode</span>
697
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:stack</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">mode</span> = <span class="ruby-value str">'stack-max'</span>
698
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:max</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">mode</span> = <span class="ruby-value str">'stack+max'</span>
699
- <span class="ruby-keyword kw">end</span>
700
-
701
- <span class="ruby-ivar">@view</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">&quot;colmode #{@id} #{mode}&quot;</span>
702
- <span class="ruby-keyword kw">end</span></pre>
703
- </div>
704
- </div>
705
-
706
- </div>
707
-
708
- <div class="method">
709
- <div class="title" id="M000095">
710
-
711
- <a name="M000095"></a><b>length</b>()
712
-
713
- </div>
714
-
715
- <div class="description">
716
- <p>
717
- Returns the number of clients in this area.
718
- </p>
719
-
720
- </div>
721
-
722
-
723
-
724
-
725
- <div class="sourcecode">
726
- <p class="source-link">
727
- Source: <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show</a>
728
-
729
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L597" target="_blank" class="github_url">on GitHub</a>
730
-
731
- </p>
732
- <div id="M000095_source" class="dyn-source">
733
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 597</span>
734
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
735
- <span class="ruby-identifier">client_ids</span>.<span class="ruby-identifier">length</span>
736
- <span class="ruby-keyword kw">end</span></pre>
737
- </div>
738
- </div>
739
-
740
- </div>
741
-
742
- <div class="method">
743
- <div class="title" id="M000107">
744
-
745
- <a name="M000107"></a><b>length=</b>(max_clients)
746
-
747
- </div>
748
-
749
- <div class="description">
750
- <p>
751
- Ensures that this area has at most the given number of clients.
752
- </p>
753
- <p>
754
- Areas to the right of this one serve as a buffer into which excess clients
755
- are evicted and from which deficit clients are imported.
756
- </p>
757
-
758
- </div>
759
-
760
-
761
-
762
-
763
- <div class="sourcecode">
764
- <p class="source-link">
765
- Source: <a href="javascript:toggleSource('M000107_source')" id="l_M000107_source">show</a>
766
-
767
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L663" target="_blank" class="github_url">on GitHub</a>
768
-
769
- </p>
770
- <div id="M000107_source" class="dyn-source">
771
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 663</span>
772
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length=</span> <span class="ruby-identifier">max_clients</span>
773
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">max_clients</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
774
- <span class="ruby-identifier">len</span>, <span class="ruby-identifier">out</span> = <span class="ruby-identifier">length</span>, <span class="ruby-identifier">fringe</span>
775
-
776
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">len</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">max_clients</span>
777
- <span class="ruby-identifier">out</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">clients</span>[<span class="ruby-identifier">max_clients</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
778
-
779
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">len</span> <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">max_clients</span>
780
- <span class="ruby-keyword kw">until</span> (<span class="ruby-identifier">diff</span> = <span class="ruby-identifier">max_clients</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">length</span>) <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
781
- <span class="ruby-identifier">importable</span> = <span class="ruby-identifier">out</span>.<span class="ruby-identifier">clients</span>[<span class="ruby-value">0</span>, <span class="ruby-identifier">diff</span>]
782
- <span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">importable</span>.<span class="ruby-identifier">empty?</span>
783
-
784
- <span class="ruby-identifier">push</span> <span class="ruby-identifier">importable</span>
785
- <span class="ruby-keyword kw">end</span>
786
- <span class="ruby-keyword kw">end</span>
787
- <span class="ruby-keyword kw">end</span></pre>
788
- </div>
789
- </div>
790
-
791
- </div>
792
-
793
- <div class="method">
794
- <div class="title" id="M000078">
795
-
796
- <a name="M000078"></a><b>managed?</b>()
797
-
798
- </div>
799
-
800
- <div class="description">
801
- <p>
802
- Alias for <a href="Area.html#M000077">column?</a>
803
- </p>
804
-
805
- </div>
806
-
807
-
808
-
809
- </div>
810
-
811
- <div class="method">
812
- <div class="title" id="M000099">
813
-
814
- <a name="M000099"></a><b>push</b>(*clients)
815
-
816
- </div>
817
-
818
- <div class="description">
819
- <p>
820
- Inserts the given clients at the bottom of this area.
821
- </p>
822
-
823
- </div>
824
-
825
-
826
- <div class="aka">
827
- This method is also aliased as
828
-
829
- <a href="Area.html#M000100">&lt;&lt;</a>
830
-
831
- </div>
832
-
833
-
834
-
835
- <div class="sourcecode">
836
- <p class="source-link">
837
- Source: <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show</a>
838
-
839
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L604" target="_blank" class="github_url">on GitHub</a>
840
-
841
- </p>
842
- <div id="M000099_source" class="dyn-source">
843
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 604</span>
844
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
845
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
846
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
847
-
848
- <span class="ruby-identifier">insert</span> <span class="ruby-identifier">clients</span>
849
-
850
- <span class="ruby-comment cmt"># move inserted clients to bottom</span>
851
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
852
- <span class="ruby-keyword kw">until</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">client_ids</span>[<span class="ruby-operator">-</span><span class="ruby-identifier">i</span>.<span class="ruby-identifier">succ</span>]
853
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">:down</span>
854
- <span class="ruby-keyword kw">end</span>
855
- <span class="ruby-keyword kw">end</span>
856
- <span class="ruby-keyword kw">end</span></pre>
857
- </div>
858
- </div>
859
-
860
- </div>
861
-
862
- <div class="method">
863
- <div class="title" id="M000104">
864
-
865
- <a name="M000104"></a><b>unshift</b>(*clients)
866
-
867
- </div>
868
-
869
- <div class="description">
870
- <p>
871
- Inserts the given clients at the top of this area.
872
- </p>
873
-
874
- </div>
875
-
876
-
877
-
878
-
879
- <div class="sourcecode">
880
- <p class="source-link">
881
- Source: <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show</a>
882
-
883
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/wm.rb#L636" target="_blank" class="github_url">on GitHub</a>
884
-
885
- </p>
886
- <div id="M000104_source" class="dyn-source">
887
- <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 636</span>
888
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unshift</span> <span class="ruby-operator">*</span><span class="ruby-identifier">clients</span>
889
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">flatten!</span>
890
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">empty?</span>
891
-
892
- <span class="ruby-identifier">insert</span> <span class="ruby-identifier">clients</span>
893
-
894
- <span class="ruby-comment cmt"># move inserted clients to top</span>
895
- <span class="ruby-identifier">clients</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
896
- <span class="ruby-keyword kw">until</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">client_ids</span>[<span class="ruby-identifier">i</span>]
897
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">:up</span>
898
- <span class="ruby-keyword kw">end</span>
899
- <span class="ruby-keyword kw">end</span>
900
- <span class="ruby-keyword kw">end</span></pre>
901
- </div>
902
- </div>
903
-
904
- </div>
905
-
906
- </div>
907
- </div>
908
- </body>
909
- </html>