rumai 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (304) hide show
  1. data/LICENSE +13 -23
  2. data/Rakefile +8 -58
  3. data/bin/rumai +21 -22
  4. data/doc/api/IO.html +53 -0
  5. data/doc/api/Integer.html +102 -0
  6. data/doc/api/Object.html +23 -0
  7. data/doc/api/Rumai.html +1218 -0
  8. data/doc/api/Rumai/Area.html +1088 -0
  9. data/doc/api/Rumai/Chain.html +230 -0
  10. data/doc/api/Rumai/Client.html +1264 -0
  11. data/doc/api/Rumai/ClientContainer.html +227 -0
  12. data/doc/api/Rumai/ExportInstMethods.html +115 -0
  13. data/doc/api/Rumai/IXP.html +23 -0
  14. data/doc/api/Rumai/IXP/Agent.html +1222 -0
  15. data/doc/api/Rumai/IXP/Agent/FidStream.html +602 -0
  16. data/doc/api/Rumai/IXP/Agent/RangedPool.html +263 -0
  17. data/doc/api/Rumai/IXP/Error.html +32 -0
  18. data/doc/api/Rumai/IXP/Fcall.html +398 -0
  19. data/doc/api/Rumai/IXP/Qid.html +99 -0
  20. data/doc/api/Rumai/IXP/Rattach.html +71 -0
  21. data/doc/api/Rumai/IXP/Rauth.html +71 -0
  22. data/doc/api/Rumai/IXP/Rclunk.html +71 -0
  23. data/doc/api/Rumai/IXP/Rcreate.html +71 -0
  24. data/doc/api/Rumai/IXP/Rerror.html +71 -0
  25. data/doc/api/Rumai/IXP/Rflush.html +71 -0
  26. data/doc/api/Rumai/IXP/Ropen.html +71 -0
  27. data/doc/api/Rumai/IXP/Rread.html +71 -0
  28. data/doc/api/Rumai/IXP/Rremove.html +71 -0
  29. data/doc/api/Rumai/IXP/Rstat.html +71 -0
  30. data/doc/api/Rumai/IXP/Rversion.html +71 -0
  31. data/doc/api/Rumai/IXP/Rwalk.html +71 -0
  32. data/doc/api/Rumai/IXP/Rwrite.html +71 -0
  33. data/doc/api/Rumai/IXP/Rwstat.html +71 -0
  34. data/doc/api/Rumai/IXP/Stat.html +188 -0
  35. data/doc/api/Rumai/IXP/Stream.html +112 -0
  36. data/doc/api/Rumai/IXP/Struct.html +348 -0
  37. data/doc/api/Rumai/IXP/Struct/ClassField.html +177 -0
  38. data/doc/api/Rumai/IXP/Struct/Field.html +549 -0
  39. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +175 -0
  40. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +95 -0
  41. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +181 -0
  42. data/doc/api/Rumai/IXP/Struct/StringField.html +128 -0
  43. data/doc/api/Rumai/IXP/Tattach.html +71 -0
  44. data/doc/api/Rumai/IXP/Tauth.html +71 -0
  45. data/doc/api/Rumai/IXP/Tclunk.html +71 -0
  46. data/doc/api/Rumai/IXP/Tcreate.html +71 -0
  47. data/doc/api/Rumai/IXP/Terror.html +156 -0
  48. data/doc/api/Rumai/IXP/Tflush.html +71 -0
  49. data/doc/api/Rumai/IXP/Topen.html +113 -0
  50. data/doc/api/Rumai/IXP/Tread.html +71 -0
  51. data/doc/api/Rumai/IXP/Tremove.html +71 -0
  52. data/doc/api/Rumai/IXP/Tstat.html +71 -0
  53. data/doc/api/Rumai/IXP/Tversion.html +83 -0
  54. data/doc/api/Rumai/IXP/Twalk.html +71 -0
  55. data/doc/api/Rumai/IXP/Twrite.html +71 -0
  56. data/doc/api/Rumai/IXP/Twstat.html +71 -0
  57. data/doc/api/Rumai/Node.html +1139 -0
  58. data/doc/api/Rumai/View.html +1280 -0
  59. data/doc/api/Rumai/WidgetImpl.html +196 -0
  60. data/doc/api/Rumai/WidgetNode.html +184 -0
  61. data/doc/api/String.html +180 -0
  62. data/doc/api/StringIO.html +53 -0
  63. data/doc/api/Time.html +175 -0
  64. data/doc/api/all-methods.html +1436 -0
  65. data/doc/api/all-namespaces.html +140 -0
  66. data/doc/api/app.js +18 -0
  67. data/doc/api/index.html +16 -22
  68. data/doc/api/jquery.js +11 -0
  69. data/doc/api/readme.html +35 -0
  70. data/doc/api/style.css +68 -0
  71. data/doc/api/syntax_highlight.css +21 -0
  72. data/doc/history.erb +17 -0
  73. data/doc/index.erb +13 -0
  74. data/doc/index.xhtml +1235 -0
  75. data/doc/intro.erb +86 -0
  76. data/doc/setup.erb +55 -0
  77. data/doc/theory.erb +3 -0
  78. data/doc/usage.erb +285 -0
  79. data/lib/rumai.rb +10 -7
  80. data/lib/rumai/fs.rb +13 -15
  81. data/lib/rumai/ixp.rb +2 -7
  82. data/lib/rumai/ixp/message.rb +0 -3
  83. data/lib/rumai/ixp/transport.rb +1 -4
  84. data/lib/rumai/wm.rb +6 -6
  85. data/test/rumai/ixp/message.rb +249 -0
  86. metadata +104 -263
  87. data/README +0 -1
  88. data/doc/api/classes/IO.html +0 -120
  89. data/doc/api/classes/Integer.html +0 -142
  90. data/doc/api/classes/Integer.src/M000002.html +0 -18
  91. data/doc/api/classes/Object.html +0 -113
  92. data/doc/api/classes/Rumai.html +0 -530
  93. data/doc/api/classes/Rumai.src/M000007.html +0 -18
  94. data/doc/api/classes/Rumai.src/M000008.html +0 -18
  95. data/doc/api/classes/Rumai.src/M000009.html +0 -18
  96. data/doc/api/classes/Rumai.src/M000010.html +0 -18
  97. data/doc/api/classes/Rumai.src/M000011.html +0 -18
  98. data/doc/api/classes/Rumai.src/M000012.html +0 -18
  99. data/doc/api/classes/Rumai.src/M000013.html +0 -18
  100. data/doc/api/classes/Rumai.src/M000014.html +0 -20
  101. data/doc/api/classes/Rumai.src/M000015.html +0 -18
  102. data/doc/api/classes/Rumai.src/M000016.html +0 -18
  103. data/doc/api/classes/Rumai.src/M000017.html +0 -18
  104. data/doc/api/classes/Rumai.src/M000018.html +0 -18
  105. data/doc/api/classes/Rumai.src/M000019.html +0 -18
  106. data/doc/api/classes/Rumai.src/M000020.html +0 -18
  107. data/doc/api/classes/Rumai.src/M000021.html +0 -18
  108. data/doc/api/classes/Rumai.src/M000022.html +0 -18
  109. data/doc/api/classes/Rumai.src/M000023.html +0 -18
  110. data/doc/api/classes/Rumai.src/M000024.html +0 -18
  111. data/doc/api/classes/Rumai.src/M000025.html +0 -18
  112. data/doc/api/classes/Rumai.src/M000026.html +0 -18
  113. data/doc/api/classes/Rumai/Area.html +0 -461
  114. data/doc/api/classes/Rumai/Area.src/M000079.html +0 -19
  115. data/doc/api/classes/Rumai/Area.src/M000080.html +0 -18
  116. data/doc/api/classes/Rumai/Area.src/M000081.html +0 -18
  117. data/doc/api/classes/Rumai/Area.src/M000082.html +0 -18
  118. data/doc/api/classes/Rumai/Area.src/M000083.html +0 -18
  119. data/doc/api/classes/Rumai/Area.src/M000084.html +0 -18
  120. data/doc/api/classes/Rumai/Area.src/M000085.html +0 -18
  121. data/doc/api/classes/Rumai/Area.src/M000086.html +0 -18
  122. data/doc/api/classes/Rumai/Area.src/M000087.html +0 -18
  123. data/doc/api/classes/Rumai/Area.src/M000088.html +0 -18
  124. data/doc/api/classes/Rumai/Area.src/M000089.html +0 -18
  125. data/doc/api/classes/Rumai/Area.src/M000090.html +0 -22
  126. data/doc/api/classes/Rumai/Area.src/M000092.html +0 -23
  127. data/doc/api/classes/Rumai/Area.src/M000093.html +0 -28
  128. data/doc/api/classes/Rumai/Area.src/M000094.html +0 -18
  129. data/doc/api/classes/Rumai/Area.src/M000095.html +0 -31
  130. data/doc/api/classes/Rumai/Chain.html +0 -179
  131. data/doc/api/classes/Rumai/Chain.src/M000076.html +0 -18
  132. data/doc/api/classes/Rumai/Chain.src/M000077.html +0 -18
  133. data/doc/api/classes/Rumai/Chain.src/M000078.html +0 -18
  134. data/doc/api/classes/Rumai/Client.html +0 -481
  135. data/doc/api/classes/Rumai/Client.src/M000113.html +0 -18
  136. data/doc/api/classes/Rumai/Client.src/M000114.html +0 -18
  137. data/doc/api/classes/Rumai/Client.src/M000115.html +0 -18
  138. data/doc/api/classes/Rumai/Client.src/M000116.html +0 -39
  139. data/doc/api/classes/Rumai/Client.src/M000117.html +0 -19
  140. data/doc/api/classes/Rumai/Client.src/M000118.html +0 -19
  141. data/doc/api/classes/Rumai/Client.src/M000119.html +0 -18
  142. data/doc/api/classes/Rumai/Client.src/M000120.html +0 -18
  143. data/doc/api/classes/Rumai/Client.src/M000121.html +0 -18
  144. data/doc/api/classes/Rumai/Client.src/M000122.html +0 -18
  145. data/doc/api/classes/Rumai/Client.src/M000123.html +0 -19
  146. data/doc/api/classes/Rumai/Client.src/M000124.html +0 -20
  147. data/doc/api/classes/Rumai/Client.src/M000125.html +0 -20
  148. data/doc/api/classes/Rumai/Client.src/M000126.html +0 -22
  149. data/doc/api/classes/Rumai/Client.src/M000127.html +0 -18
  150. data/doc/api/classes/Rumai/Client.src/M000128.html +0 -20
  151. data/doc/api/classes/Rumai/Client.src/M000129.html +0 -18
  152. data/doc/api/classes/Rumai/Client.src/M000130.html +0 -22
  153. data/doc/api/classes/Rumai/ClientContainer.html +0 -180
  154. data/doc/api/classes/Rumai/ClientContainer.src/M000027.html +0 -18
  155. data/doc/api/classes/Rumai/ClientContainer.src/M000028.html +0 -18
  156. data/doc/api/classes/Rumai/ClientContainer.src/M000029.html +0 -18
  157. data/doc/api/classes/Rumai/ExportInstMethods.html +0 -119
  158. data/doc/api/classes/Rumai/IXP.html +0 -149
  159. data/doc/api/classes/Rumai/IXP/Agent.html +0 -447
  160. data/doc/api/classes/Rumai/IXP/Agent.src/M000044.html +0 -53
  161. data/doc/api/classes/Rumai/IXP/Agent.src/M000045.html +0 -36
  162. data/doc/api/classes/Rumai/IXP/Agent.src/M000046.html +0 -39
  163. data/doc/api/classes/Rumai/IXP/Agent.src/M000047.html +0 -20
  164. data/doc/api/classes/Rumai/IXP/Agent.src/M000048.html +0 -22
  165. data/doc/api/classes/Rumai/IXP/Agent.src/M000049.html +0 -20
  166. data/doc/api/classes/Rumai/IXP/Agent.src/M000050.html +0 -33
  167. data/doc/api/classes/Rumai/IXP/Agent.src/M000051.html +0 -19
  168. data/doc/api/classes/Rumai/IXP/Agent.src/M000052.html +0 -18
  169. data/doc/api/classes/Rumai/IXP/Agent.src/M000053.html +0 -21
  170. data/doc/api/classes/Rumai/IXP/Agent.src/M000054.html +0 -20
  171. data/doc/api/classes/Rumai/IXP/Agent.src/M000055.html +0 -20
  172. data/doc/api/classes/Rumai/IXP/Agent.src/M000056.html +0 -22
  173. data/doc/api/classes/Rumai/IXP/Agent.src/M000057.html +0 -23
  174. data/doc/api/classes/Rumai/IXP/Agent.src/M000058.html +0 -19
  175. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -312
  176. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000060.html +0 -23
  177. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000061.html +0 -19
  178. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000062.html +0 -22
  179. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000063.html +0 -18
  180. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000064.html +0 -45
  181. data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000065.html +0 -36
  182. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -130
  183. data/doc/api/classes/Rumai/IXP/Agent/MODES.src/M000059.html +0 -22
  184. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -203
  185. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000067.html +0 -22
  186. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000068.html +0 -36
  187. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000069.html +0 -18
  188. data/doc/api/classes/Rumai/IXP/Error.html +0 -117
  189. data/doc/api/classes/Rumai/IXP/Fcall.html +0 -261
  190. data/doc/api/classes/Rumai/IXP/Fcall.src/M000070.html +0 -20
  191. data/doc/api/classes/Rumai/IXP/Fcall.src/M000071.html +0 -25
  192. data/doc/api/classes/Rumai/IXP/Fcall.src/M000072.html +0 -18
  193. data/doc/api/classes/Rumai/IXP/Fcall.src/M000073.html +0 -18
  194. data/doc/api/classes/Rumai/IXP/Qid.html +0 -184
  195. data/doc/api/classes/Rumai/IXP/Rattach.html +0 -119
  196. data/doc/api/classes/Rumai/IXP/Rauth.html +0 -119
  197. data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -119
  198. data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -119
  199. data/doc/api/classes/Rumai/IXP/Rerror.html +0 -119
  200. data/doc/api/classes/Rumai/IXP/Rflush.html +0 -119
  201. data/doc/api/classes/Rumai/IXP/Ropen.html +0 -119
  202. data/doc/api/classes/Rumai/IXP/Rread.html +0 -119
  203. data/doc/api/classes/Rumai/IXP/Rremove.html +0 -119
  204. data/doc/api/classes/Rumai/IXP/Rstat.html +0 -119
  205. data/doc/api/classes/Rumai/IXP/Rversion.html +0 -119
  206. data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -119
  207. data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -119
  208. data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -119
  209. data/doc/api/classes/Rumai/IXP/Stat.html +0 -248
  210. data/doc/api/classes/Rumai/IXP/Stat.src/M000075.html +0 -18
  211. data/doc/api/classes/Rumai/IXP/Stream.html +0 -158
  212. data/doc/api/classes/Rumai/IXP/Stream.src/M000043.html +0 -18
  213. data/doc/api/classes/Rumai/IXP/Struct.html +0 -221
  214. data/doc/api/classes/Rumai/IXP/Struct.src/M000030.html +0 -19
  215. data/doc/api/classes/Rumai/IXP/Struct.src/M000031.html +0 -18
  216. data/doc/api/classes/Rumai/IXP/Struct.src/M000032.html +0 -20
  217. data/doc/api/classes/Rumai/IXP/Struct.src/M000033.html +0 -57
  218. data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -296
  219. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000034.html +0 -21
  220. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000035.html +0 -21
  221. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000036.html +0 -20
  222. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000037.html +0 -29
  223. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000038.html +0 -18
  224. data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000039.html +0 -18
  225. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -152
  226. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000041.html +0 -24
  227. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000042.html +0 -25
  228. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -137
  229. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.src/M000040.html +0 -18
  230. data/doc/api/classes/Rumai/IXP/Tattach.html +0 -120
  231. data/doc/api/classes/Rumai/IXP/Tauth.html +0 -119
  232. data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -119
  233. data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -120
  234. data/doc/api/classes/Rumai/IXP/Terror.html +0 -145
  235. data/doc/api/classes/Rumai/IXP/Terror.src/M000074.html +0 -18
  236. data/doc/api/classes/Rumai/IXP/Tflush.html +0 -119
  237. data/doc/api/classes/Rumai/IXP/Topen.html +0 -193
  238. data/doc/api/classes/Rumai/IXP/Tread.html +0 -119
  239. data/doc/api/classes/Rumai/IXP/Tremove.html +0 -119
  240. data/doc/api/classes/Rumai/IXP/Tstat.html +0 -119
  241. data/doc/api/classes/Rumai/IXP/Tversion.html +0 -137
  242. data/doc/api/classes/Rumai/IXP/Twalk.html +0 -120
  243. data/doc/api/classes/Rumai/IXP/Twrite.html +0 -120
  244. data/doc/api/classes/Rumai/IXP/Twstat.html +0 -119
  245. data/doc/api/classes/Rumai/Node.html +0 -461
  246. data/doc/api/classes/Rumai/Node.src/M000096.html +0 -18
  247. data/doc/api/classes/Rumai/Node.src/M000097.html +0 -18
  248. data/doc/api/classes/Rumai/Node.src/M000098.html +0 -22
  249. data/doc/api/classes/Rumai/Node.src/M000099.html +0 -18
  250. data/doc/api/classes/Rumai/Node.src/M000100.html +0 -18
  251. data/doc/api/classes/Rumai/Node.src/M000101.html +0 -18
  252. data/doc/api/classes/Rumai/Node.src/M000102.html +0 -18
  253. data/doc/api/classes/Rumai/Node.src/M000103.html +0 -22
  254. data/doc/api/classes/Rumai/Node.src/M000104.html +0 -18
  255. data/doc/api/classes/Rumai/Node.src/M000105.html +0 -18
  256. data/doc/api/classes/Rumai/Node.src/M000106.html +0 -18
  257. data/doc/api/classes/Rumai/Node.src/M000107.html +0 -18
  258. data/doc/api/classes/Rumai/Node.src/M000108.html +0 -18
  259. data/doc/api/classes/Rumai/Node.src/M000109.html +0 -18
  260. data/doc/api/classes/Rumai/Node.src/M000110.html +0 -18
  261. data/doc/api/classes/Rumai/Node.src/M000111.html +0 -20
  262. data/doc/api/classes/Rumai/Node.src/M000112.html +0 -27
  263. data/doc/api/classes/Rumai/View.html +0 -436
  264. data/doc/api/classes/Rumai/View.src/M000131.html +0 -18
  265. data/doc/api/classes/Rumai/View.src/M000132.html +0 -18
  266. data/doc/api/classes/Rumai/View.src/M000133.html +0 -18
  267. data/doc/api/classes/Rumai/View.src/M000134.html +0 -18
  268. data/doc/api/classes/Rumai/View.src/M000135.html +0 -18
  269. data/doc/api/classes/Rumai/View.src/M000136.html +0 -18
  270. data/doc/api/classes/Rumai/View.src/M000137.html +0 -18
  271. data/doc/api/classes/Rumai/View.src/M000138.html +0 -28
  272. data/doc/api/classes/Rumai/View.src/M000139.html +0 -18
  273. data/doc/api/classes/Rumai/View.src/M000140.html +0 -18
  274. data/doc/api/classes/Rumai/View.src/M000141.html +0 -18
  275. data/doc/api/classes/Rumai/View.src/M000142.html +0 -18
  276. data/doc/api/classes/Rumai/View.src/M000143.html +0 -29
  277. data/doc/api/classes/Rumai/View.src/M000144.html +0 -20
  278. data/doc/api/classes/Rumai/View.src/M000145.html +0 -33
  279. data/doc/api/classes/Rumai/View.src/M000146.html +0 -50
  280. data/doc/api/classes/String.html +0 -169
  281. data/doc/api/classes/String.src/M000005.html +0 -18
  282. data/doc/api/classes/String.src/M000006.html +0 -18
  283. data/doc/api/classes/StringIO.html +0 -120
  284. data/doc/api/classes/Time.html +0 -163
  285. data/doc/api/classes/Time.src/M000003.html +0 -18
  286. data/doc/api/classes/Time.src/M000004.html +0 -18
  287. data/doc/api/created.rid +0 -1
  288. data/doc/api/files/lib/rumai/fs_rb.html +0 -115
  289. data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -120
  290. data/doc/api/files/lib/rumai/ixp/message_spec_rb.html +0 -175
  291. data/doc/api/files/lib/rumai/ixp/message_spec_rb.src/M000001.html +0 -37
  292. data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -115
  293. data/doc/api/files/lib/rumai/ixp_rb.html +0 -116
  294. data/doc/api/files/lib/rumai/nfo_rb.html +0 -107
  295. data/doc/api/files/lib/rumai/wm_rb.html +0 -115
  296. data/doc/api/files/lib/rumai_rb.html +0 -115
  297. data/doc/api/fr_class_index.html +0 -82
  298. data/doc/api/fr_file_index.html +0 -34
  299. data/doc/api/fr_method_index.html +0 -172
  300. data/doc/api/rdoc-style.css +0 -208
  301. data/doc/guide.erb +0 -390
  302. data/doc/guide.html +0 -2043
  303. data/lib/rumai/ixp/message_spec.rb +0 -247
  304. data/lib/rumai/nfo.rb +0 -24
@@ -0,0 +1,1280 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
+ <link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
7
+ <link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
8
+
9
+ <script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
10
+ <script src="../app.js" type="text/javascript" charset="utf-8"></script>
11
+ <title>Class: Rumai::View</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section class Rumai_View">
16
+ <h1 class="title">Class: Rumai::View</h1>
17
+ <div class="section inheritance">
18
+ <ul>
19
+ <li><a href="../Object.html" title="Object">Object</a></li><ul><li><a href="Node.html" title="Rumai::Node">Rumai::Node</a></li><ul><li><a href="WidgetNode.html" title="Rumai::WidgetNode">Rumai::WidgetNode</a></li><ul><li>Rumai::View</li>
20
+ </ul></ul></ul></ul>
21
+ </div><div class="section mixins">
22
+ <h1>Included Modules</h1>
23
+ <p><a href="View/WidgetImpl.html" title="Rumai::WidgetImpl">Rumai::WidgetImpl</a>, <a href="View/Chain.html" title="Rumai::Chain">Rumai::Chain</a>, <a href="View/ClientContainer.html" title="Rumai::ClientContainer">Rumai::ClientContainer</a>, Enumerable</p>
24
+ </div><div class="section docstring">
25
+ <p>
26
+ The visualization of a tag.
27
+ </p>
28
+
29
+ </div><div class="section constants">
30
+
31
+ </div><div class="section constructor">
32
+ <h1>Constructor Summary</h1>
33
+ <div id="initialize-instance_method" class="section method">
34
+ <div class="details_title">
35
+ <div class='section methodsignature'>
36
+ <tt class='def'>
37
+ <span class='visibility'>public</span>
38
+ <span class='return_types'></span>
39
+ <span class='name'>initialize</span><span class='args'>(aViewId)</span>
40
+ <span class='block'></span>
41
+ </tt>
42
+ </div>
43
+
44
+ </div><div class="section source">
45
+ <span>[<a class="source_link" href="#">View source</a>]</span>
46
+ <div class="source_code">
47
+ <table>
48
+ <tr>
49
+ <td>
50
+ <pre class="lines">
51
+
52
+
53
+ 544
54
+ 545
55
+ 546</pre>
56
+ </td>
57
+ <td>
58
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 544</span>
59
+
60
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span> <span class='aViewId identifier id'>aViewId</span>
61
+ <span class='super super kw'>super</span> <span class='aViewId identifier id'>aViewId</span><span class='comma token'>,</span> <span class='string val'>'/tag'</span>
62
+ <span class='end end kw'>end</span>
63
+ </pre>
64
+ </td>
65
+ </tr>
66
+ </table>
67
+ </div>
68
+ </div>
69
+ </div>
70
+ </div><div class="section methodmissing">
71
+ <h1>Dynamic Method Handling</h1>
72
+
73
+ <p class="note">
74
+ This class handles dynamic methods through the <tt>method_missing</tt> method
75
+
76
+ in the class <a href="Node.html" title="Rumai::Node">Rumai::Node</a>
77
+
78
+ </p>
79
+
80
+ <div id="method_missing-instance_method" class="section method">
81
+ <div class="details_title">
82
+ <div class='section methodsignature'>
83
+ <tt class='def'>
84
+ <span class='visibility'>public</span>
85
+ <span class='return_types'></span>
86
+ <span class='name'>method_missing</span><span class='args'>(aMeth, *aArgs)</span>
87
+ <span class='block'></span>
88
+ </tt>
89
+ </div>
90
+
91
+ </div><div class="section docstring">
92
+ <p>
93
+ Provides access to child nodes through method calls.
94
+ </p>
95
+ <p>
96
+ :call-seq: node.child -&gt; Node
97
+ </p>
98
+
99
+ </div><div class="section source">
100
+ <span>[<a class="source_link" href="#">View source</a>]</span>
101
+ <div class="source_code">
102
+ <table>
103
+ <tr>
104
+ <td>
105
+ <pre class="lines">
106
+
107
+
108
+ 129
109
+ 130
110
+ 131
111
+ 132
112
+ 133
113
+ 134
114
+ 135
115
+ 136
116
+ 137
117
+ 138
118
+ 139
119
+ 140</pre>
120
+ </td>
121
+ <td>
122
+ <pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 129</span>
123
+
124
+ <span class='def def kw'>def</span> <span class='method_missing identifier id'>method_missing</span> <span class='aMeth identifier id'>aMeth</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span>
125
+ <span class='child identifier id'>child</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='aMeth identifier id'>aMeth</span><span class='rbrack token'>]</span>
126
+
127
+ <span class='comment val'># speed up future accesses</span>
128
+ <span class='lparen token'>(</span><span class='class class kw'>class</span> <span class='lshft op'>&lt;&lt;</span> <span class='self self kw'>self</span><span class='semicolon token'>;</span> <span class='self self kw'>self</span><span class='semicolon token'>;</span> <span class='end end kw'>end</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='instance_eval identifier id'>instance_eval</span> <span class='do do kw'>do</span>
129
+ <span class='define_method identifier id'>define_method</span> <span class='aMeth identifier id'>aMeth</span> <span class='do do kw'>do</span>
130
+ <span class='child identifier id'>child</span>
131
+ <span class='end end kw'>end</span>
132
+ <span class='end end kw'>end</span>
133
+
134
+ <span class='child identifier id'>child</span>
135
+ <span class='end end kw'>end</span>
136
+ </pre>
137
+ </td>
138
+ </tr>
139
+ </table>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ </div> <div class="section visibilitygroup public">
144
+ <h1>Public Visibility</h1>
145
+ <div class="section methodsummary class public">
146
+ <h1>Public Class Method Summary</h1>
147
+ <table class="summary">
148
+
149
+ <tr>
150
+ <th class="signature">
151
+ <span class='name'><a href="#curr-class_method" title="curr">curr</a></span><span class='args'></span>
152
+ <span class='block'></span>
153
+
154
+ </th>
155
+ <td class="docstring">
156
+ <p>
157
+ Returns the currently focused view.
158
+ </p>
159
+
160
+
161
+ </td>
162
+ </tr>
163
+
164
+ </table>
165
+ </div>
166
+ <div class="section methodsummary instance public">
167
+ <h1>Public Instance Method Summary</h1>
168
+ <table class="summary">
169
+
170
+ <tr>
171
+ <th class="signature">
172
+ <span class='name'><a href="#area_ids-instance_method" title="#area_ids">#area_ids</a></span><span class='args'></span>
173
+ <span class='block'></span>
174
+
175
+ </th>
176
+ <td class="docstring">
177
+ <p>
178
+ Returns the IDs of all areas in this view.
179
+ </p>
180
+
181
+
182
+ </td>
183
+ </tr>
184
+
185
+ <tr>
186
+ <th class="signature">
187
+ <span class='name'><a href="#area_of_client-instance_method" title="#area_of_client">#area_of_client</a></span><span class='args'>(aClientOrId)</span>
188
+ <span class='block'></span>
189
+
190
+ </th>
191
+ <td class="docstring">
192
+ <p>
193
+ WM hierarchy.
194
+ </p>
195
+
196
+
197
+ </td>
198
+ </tr>
199
+
200
+ <tr>
201
+ <th class="signature">
202
+ <span class='name'><a href="#areas-instance_method" title="#areas">#areas</a></span><span class='args'></span>
203
+ <span class='block'></span>
204
+
205
+ </th>
206
+ <td class="docstring">
207
+ <p>
208
+ Returns all areas in this view.
209
+ </p>
210
+
211
+
212
+ </td>
213
+ </tr>
214
+
215
+ <tr>
216
+ <th class="signature">
217
+ <span class='name'><a href="#arrange_as_larswm-instance_method" title="#arrange_as_larswm">#arrange_as_larswm</a></span><span class='args'></span>
218
+ <span class='block'></span>
219
+
220
+ </th>
221
+ <td class="docstring">
222
+ <p>
223
+ visual arrangement of clients.
224
+ </p>
225
+
226
+
227
+ </td>
228
+ </tr>
229
+
230
+ <tr>
231
+ <th class="signature">
232
+ <span class='name'><a href="#arrange_in_diamond-instance_method" title="#arrange_in_diamond">#arrange_in_diamond</a></span><span class='args'></span>
233
+ <span class='block'></span>
234
+
235
+ </th>
236
+ <td class="docstring">
237
+ <p>
238
+ Arranges the clients in this view, while maintaining their relative order,
239
+ in a (at best) equilateral triangle.
240
+ </p>
241
+
242
+
243
+ </td>
244
+ </tr>
245
+
246
+ <tr>
247
+ <th class="signature">
248
+ <span class='name'><a href="#arrange_in_grid-instance_method" title="#arrange_in_grid">#arrange_in_grid</a></span><span class='args'>(aMaxClientsPerColumn = nil)</span>
249
+ <span class='block'></span>
250
+
251
+ </th>
252
+ <td class="docstring">
253
+ <p>
254
+ Arranges the clients in this view, while maintaining their relative order,
255
+ in a (at best) square grid.
256
+ </p>
257
+
258
+
259
+ </td>
260
+ </tr>
261
+
262
+ <tr>
263
+ <th class="signature">
264
+ <span class='name'><a href="#chain-instance_method" title="#chain">#chain</a></span><span class='args'></span>
265
+ <span class='block'></span>
266
+
267
+ </th>
268
+ <td class="docstring">
269
+
270
+
271
+ </td>
272
+ </tr>
273
+
274
+ <tr>
275
+ <th class="signature">
276
+ <span class='name'><a href="#client_ids-instance_method" title="#client_ids">#client_ids</a></span><span class='args'>(aAreaId = '\S+')</span>
277
+ <span class='block'></span>
278
+
279
+ </th>
280
+ <td class="docstring">
281
+ <p>
282
+ Returns the IDs of the clients contained in the given area within this
283
+ view.
284
+ </p>
285
+
286
+
287
+ </td>
288
+ </tr>
289
+
290
+ <tr>
291
+ <th class="signature">
292
+ <span class='name'><a href="#columns-instance_method" title="#columns">#columns</a></span><span class='args'></span>
293
+ <span class='block'></span>
294
+
295
+ </th>
296
+ <td class="docstring">
297
+ <p>
298
+ Returns all columns (managed areas) in this view.
299
+ </p>
300
+
301
+
302
+ </td>
303
+ </tr>
304
+
305
+ <tr>
306
+ <th class="signature">
307
+ <span class='name'><a href="#each-instance_method" title="#each">#each</a></span><span class='args'>(&amp;aBlock)</span>
308
+ <span class='block'></span>
309
+
310
+ </th>
311
+ <td class="docstring">
312
+ <p>
313
+ Iterates through each area in this view.
314
+ </p>
315
+
316
+
317
+ </td>
318
+ </tr>
319
+
320
+ <tr>
321
+ <th class="signature">
322
+ <span class='name'><a href="#each_column-instance_method" title="#each_column">#each_column</a></span><span class='args'>(aStartingColumnId = 1)</span>
323
+ <span class='block'></span>
324
+
325
+ </th>
326
+ <td class="docstring">
327
+ <p>
328
+ Resiliently iterates through possibly destructive changes to each column.
329
+ </p>
330
+
331
+
332
+ </td>
333
+ </tr>
334
+
335
+ <tr>
336
+ <th class="signature">
337
+ <span class='name'><a href="#floater-instance_method" title="#floater">#floater</a></span><span class='args'></span>
338
+ <span class='block'></span>
339
+
340
+ </th>
341
+ <td class="docstring">
342
+ <p>
343
+ Returns the floating area of this view.
344
+ </p>
345
+
346
+
347
+ </td>
348
+ </tr>
349
+
350
+ <tr>
351
+ <th class="signature">
352
+ <span class='name'><a href="#focus-instance_method" title="#focus">#focus</a></span><span class='args'></span>
353
+ <span class='block'></span>
354
+
355
+ </th>
356
+ <td class="docstring">
357
+ <p>
358
+ Focuses this view.
359
+ </p>
360
+
361
+
362
+ </td>
363
+ </tr>
364
+
365
+ <tr>
366
+ <th class="signature">
367
+ <span class='name'><a href="#manifest-instance_method" title="#manifest">#manifest</a></span><span class='args'></span>
368
+ <span class='block'></span>
369
+
370
+ </th>
371
+ <td class="docstring">
372
+ <p>
373
+ Returns the manifest of all areas and clients in this view.
374
+ </p>
375
+
376
+
377
+ </td>
378
+ </tr>
379
+
380
+ </table><div class="inherited">
381
+
382
+ <div>
383
+ <h1>Public Instance Methods Inherited from <a href="Node.html" title="Rumai::Node">Rumai::Node</a></h1>
384
+ <p><span class='name'><a href="Node.html#%5B%5D-instance_method" title="[]">[]</a></span>, <span class='name'><a href="Node.html#children-instance_method" title="children">children</a></span>, <span class='name'><a href="Node.html#clear-instance_method" title="clear">clear</a></span>, <span class='name'><a href="Node.html#create-instance_method" title="create">create</a></span>, <span class='name'><a href="Node.html#directory%3F-instance_method" title="directory?">directory?</a></span>, <span class='name'><a href="Node.html#each_line-instance_method" title="each_line">each_line</a></span>, <span class='name'><a href="Node.html#entries-instance_method" title="entries">entries</a></span>, <span class='name'><a href="Node.html#exist%3F-instance_method" title="exist?">exist?</a></span>, <span class='name'><a href="Node.html#open-instance_method" title="open">open</a></span>, <span class='name'><a href="Node.html#parent-instance_method" title="parent">parent</a></span>, <span class='name'><a href="Node.html#read-instance_method" title="read">read</a></span>, <span class='name'><a href="Node.html#remove-instance_method" title="remove">remove</a></span>, <span class='name'><a href="Node.html#stat-instance_method" title="stat">stat</a></span>, <span class='name'><a href="Node.html#write-instance_method" title="write">write</a></span></p>
385
+ </div>
386
+
387
+ </div>
388
+ <div class="clear"></div><div class="included">
389
+
390
+ <div>
391
+ <h1>Public Instance Methods Included from <a href="View/WidgetImpl.html" title="Rumai::WidgetImpl">Rumai::WidgetImpl</a></h1>
392
+ <p><span class='name'><a href="WidgetImpl.html#%3D%3D-instance_method" title="==">==</a></span>, <span class='name'><a href="WidgetImpl.html#current%3F-instance_method" title="current?">current?</a></span></p>
393
+ </div>
394
+
395
+ <div>
396
+ <h1>Public Instance Methods Included from <a href="View/Chain.html" title="Rumai::Chain">Rumai::Chain</a></h1>
397
+ <p><span class='name'><a href="Chain.html#next-instance_method" title="next">next</a></span>, <span class='name'><a href="Chain.html#prev-instance_method" title="prev">prev</a></span></p>
398
+ </div>
399
+
400
+ <div>
401
+ <h1>Public Instance Methods Included from <a href="View/ClientContainer.html" title="Rumai::ClientContainer">Rumai::ClientContainer</a></h1>
402
+ <p><span class='name'><a href="ClientContainer.html#clients-instance_method" title="clients">clients</a></span>, <span class='name'><a href="ClientContainer.html#grouping-instance_method" title="grouping">grouping</a></span></p>
403
+ </div>
404
+
405
+ </div>
406
+ <div class="clear"></div>
407
+ </div>
408
+ <div class="section methoddetails class public">
409
+ <h1>Public Class Method Details</h1>
410
+
411
+ <div class="method">
412
+ <div class="method_header">
413
+ <h3>curr</h3>
414
+ </div><div id="curr-class_method" class="section method">
415
+ <div class="details_title">
416
+ <div class='section methodsignature'>
417
+ <tt class='def'>
418
+ <span class='visibility'>public</span>
419
+ <span class='return_types'></span>
420
+ <span class='name'>curr</span><span class='args'></span>
421
+ <span class='block'></span>
422
+ </tt>
423
+ </div>
424
+
425
+ </div><div class="section docstring">
426
+ <p>
427
+ Returns the currently focused view.
428
+ </p>
429
+
430
+ </div><div class="section source">
431
+ <span>[<a class="source_link" href="#">View source</a>]</span>
432
+ <div class="source_code">
433
+ <table>
434
+ <tr>
435
+ <td>
436
+ <pre class="lines">
437
+
438
+
439
+ 517
440
+ 518
441
+ 519</pre>
442
+ </td>
443
+ <td>
444
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 517</span>
445
+
446
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='curr identifier id'>curr</span>
447
+ <span class='new identifier id'>new</span> <span class='symbol val'>:sel</span>
448
+ <span class='end end kw'>end</span>
449
+ </pre>
450
+ </td>
451
+ </tr>
452
+ </table>
453
+ </div>
454
+ </div>
455
+ </div>
456
+ </div>
457
+
458
+ </div><div class="section methoddetails instance public">
459
+ <h1>Public Instance Method Details</h1>
460
+
461
+ <div class="method">
462
+ <div class="method_header">
463
+ <h3>area_ids</h3>
464
+ </div><div id="area_ids-instance_method" class="section method">
465
+ <div class="details_title">
466
+ <div class='section methodsignature'>
467
+ <tt class='def'>
468
+ <span class='visibility'>public</span>
469
+ <span class='return_types'></span>
470
+ <span class='name'>area_ids</span><span class='args'></span>
471
+ <span class='block'></span>
472
+ </tt>
473
+ </div>
474
+
475
+ </div><div class="section docstring">
476
+ <p>
477
+ Returns the IDs of all areas in this view.
478
+ </p>
479
+
480
+ </div><div class="section source">
481
+ <span>[<a class="source_link" href="#">View source</a>]</span>
482
+ <div class="source_code">
483
+ <table>
484
+ <tr>
485
+ <td>
486
+ <pre class="lines">
487
+
488
+
489
+ 575
490
+ 576
491
+ 577
492
+ 578
493
+ 579</pre>
494
+ </td>
495
+ <td>
496
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 575</span>
497
+
498
+ <span class='def def kw'>def</span> <span class='area_ids identifier id'>area_ids</span>
499
+ <span class='ids identifier id'>ids</span> <span class='assign token'>=</span> <span class='manifest identifier id'>manifest</span><span class='dot token'>.</span><span class='scan identifier id'>scan</span><span class='lparen token'>(</span><span class='regexp val'>/^# (\d+)/</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='flatten identifier id'>flatten</span>
500
+ <span class='ids identifier id'>ids</span><span class='dot token'>.</span><span class='unshift identifier id'>unshift</span> <span class='string val'>'~'</span> <span class='comment val'># always exists in output</span>
501
+ <span class='ids identifier id'>ids</span>
502
+ <span class='end end kw'>end</span>
503
+ </pre>
504
+ </td>
505
+ </tr>
506
+ </table>
507
+ </div>
508
+ </div>
509
+ </div>
510
+ </div>
511
+
512
+ <div class="method">
513
+ <div class="method_header">
514
+ <h3>area_of_client</h3>
515
+ </div><div id="area_of_client-instance_method" class="section method">
516
+ <div class="details_title">
517
+ <div class='section methodsignature'>
518
+ <tt class='def'>
519
+ <span class='visibility'>public</span>
520
+ <span class='return_types'></span>
521
+ <span class='name'>area_of_client</span><span class='args'>(aClientOrId)</span>
522
+ <span class='block'></span>
523
+ </tt>
524
+ </div>
525
+
526
+ </div><div class="section docstring">
527
+ <p>
528
+ WM hierarchy
529
+ </p>
530
+ <p>
531
+ Returns the area which contains the given client in this view.
532
+ </p>
533
+
534
+ </div><div class="section source">
535
+ <span>[<a class="source_link" href="#">View source</a>]</span>
536
+ <div class="source_code">
537
+ <table>
538
+ <tr>
539
+ <td>
540
+ <pre class="lines">
541
+
542
+
543
+ 560
544
+ 561
545
+ 562
546
+ 563
547
+ 564
548
+ 565
549
+ 566
550
+ 567
551
+ 568
552
+ 569
553
+ 570
554
+ 571
555
+ 572</pre>
556
+ </td>
557
+ <td>
558
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 560</span>
559
+
560
+ <span class='def def kw'>def</span> <span class='area_of_client identifier id'>area_of_client</span> <span class='aClientOrId identifier id'>aClientOrId</span>
561
+ <span class='arg identifier id'>arg</span> <span class='assign token'>=</span>
562
+ <span class='if if kw'>if</span> <span class='aClientOrId identifier id'>aClientOrId</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='colon op'>:</span><span class='id identifier id'>id</span>
563
+ <span class='aClientOrId identifier id'>aClientOrId</span><span class='dot token'>.</span><span class='id identifier id'>id</span>
564
+ <span class='else else kw'>else</span>
565
+ <span class='aClientOrId identifier id'>aClientOrId</span>
566
+ <span class='end end kw'>end</span>
567
+
568
+ <span class='manifest identifier id'>manifest</span> <span class='match op'>=~</span> <span class='dregexp node'>/^(\S+) #{arg}/</span>
569
+ <span class='if if kw'>if</span> <span class='areaId identifier id'>areaId</span> <span class='assign token'>=</span> <span class='$1 nth_ref id'>$1</span>
570
+ <span class='Area constant id'>Area</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='areaId identifier id'>areaId</span><span class='comma token'>,</span> <span class='self self kw'>self</span>
571
+ <span class='end end kw'>end</span>
572
+ <span class='end end kw'>end</span>
573
+ </pre>
574
+ </td>
575
+ </tr>
576
+ </table>
577
+ </div>
578
+ </div>
579
+ </div>
580
+ </div>
581
+
582
+ <div class="method">
583
+ <div class="method_header">
584
+ <h3>areas</h3>
585
+ </div><div id="areas-instance_method" class="section method">
586
+ <div class="details_title">
587
+ <div class='section methodsignature'>
588
+ <tt class='def'>
589
+ <span class='visibility'>public</span>
590
+ <span class='return_types'></span>
591
+ <span class='name'>areas</span><span class='args'></span>
592
+ <span class='block'></span>
593
+ </tt>
594
+ </div>
595
+
596
+ </div><div class="section docstring">
597
+ <p>
598
+ Returns all areas in this view.
599
+ </p>
600
+
601
+ </div><div class="section source">
602
+ <span>[<a class="source_link" href="#">View source</a>]</span>
603
+ <div class="source_code">
604
+ <table>
605
+ <tr>
606
+ <td>
607
+ <pre class="lines">
608
+
609
+
610
+ 582
611
+ 583
612
+ 584</pre>
613
+ </td>
614
+ <td>
615
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 582</span>
616
+
617
+ <span class='def def kw'>def</span> <span class='areas identifier id'>areas</span>
618
+ <span class='area_ids identifier id'>area_ids</span><span class='dot token'>.</span><span class='map! fid id'>map!</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='i identifier id'>i</span><span class='bitor op'>|</span> <span class='Area constant id'>Area</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='i identifier id'>i</span><span class='comma token'>,</span> <span class='self self kw'>self</span><span class='rbrace token'>}</span>
619
+ <span class='end end kw'>end</span>
620
+ </pre>
621
+ </td>
622
+ </tr>
623
+ </table>
624
+ </div>
625
+ </div>
626
+ </div>
627
+ </div>
628
+
629
+ <div class="method">
630
+ <div class="method_header">
631
+ <h3>arrange_as_larswm</h3>
632
+ </div><div id="arrange_as_larswm-instance_method" class="section method">
633
+ <div class="details_title">
634
+ <div class='section methodsignature'>
635
+ <tt class='def'>
636
+ <span class='visibility'>public</span>
637
+ <span class='return_types'></span>
638
+ <span class='name'>arrange_as_larswm</span><span class='args'></span>
639
+ <span class='block'></span>
640
+ </tt>
641
+ </div>
642
+
643
+ </div><div class="section docstring">
644
+ <p>
645
+ visual arrangement of clients
646
+ </p>
647
+ <p>
648
+ Arranges the clients in this view, while maintaining their relative order,
649
+ in the tiling fashion of LarsWM. Only the first client in the primary
650
+ column is kept; all others are evicted to the <b>top</b> of the secondary
651
+ column. Any subsequent columns are squeezed into the <b>bottom</b> of the
652
+ secondary column.
653
+ </p>
654
+
655
+ </div><div class="section source">
656
+ <span>[<a class="source_link" href="#">View source</a>]</span>
657
+ <div class="source_code">
658
+ <table>
659
+ <tr>
660
+ <td>
661
+ <pre class="lines">
662
+
663
+
664
+ 626
665
+ 627
666
+ 628
667
+ 629
668
+ 630</pre>
669
+ </td>
670
+ <td>
671
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 626</span>
672
+
673
+ <span class='def def kw'>def</span> <span class='arrange_as_larswm identifier id'>arrange_as_larswm</span>
674
+ <span class='float identifier id'>float</span><span class='comma token'>,</span> <span class='main identifier id'>main</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='extra identifier id'>extra</span> <span class='assign token'>=</span> <span class='areas identifier id'>areas</span>
675
+ <span class='main identifier id'>main</span><span class='dot token'>.</span><span class='length identifier id'>length</span> <span class='assign token'>=</span> <span class='integer val'>1</span>
676
+ <span class='squeeze identifier id'>squeeze</span> <span class='extra identifier id'>extra</span>
677
+ <span class='end end kw'>end</span>
678
+ </pre>
679
+ </td>
680
+ </tr>
681
+ </table>
682
+ </div>
683
+ </div>
684
+ </div>
685
+ </div>
686
+
687
+ <div class="method">
688
+ <div class="method_header">
689
+ <h3>arrange_in_diamond</h3>
690
+ </div><div id="arrange_in_diamond-instance_method" class="section method">
691
+ <div class="details_title">
692
+ <div class='section methodsignature'>
693
+ <tt class='def'>
694
+ <span class='visibility'>public</span>
695
+ <span class='return_types'></span>
696
+ <span class='name'>arrange_in_diamond</span><span class='args'></span>
697
+ <span class='block'></span>
698
+ </tt>
699
+ </div>
700
+
701
+ </div><div class="section docstring">
702
+ <p>
703
+ Arranges the clients in this view, while maintaining their relative order,
704
+ in a (at best) equilateral triangle. However, the resulting arrangement
705
+ appears like a diamond because wmii does not waste screen space.
706
+ </p>
707
+
708
+ </div><div class="section source">
709
+ <span>[<a class="source_link" href="#">View source</a>]</span>
710
+ <div class="source_code">
711
+ <table>
712
+ <tr>
713
+ <td>
714
+ <pre class="lines">
715
+
716
+
717
+ 656
718
+ 657
719
+ 658
720
+ 659
721
+ 660
722
+ 661
723
+ 662
724
+ 663
725
+ 664
726
+ 665
727
+ 666
728
+ 667
729
+ 668
730
+ 669
731
+ 670
732
+ 671
733
+ 672
734
+ 673
735
+ 674
736
+ 675
737
+ 676
738
+ 677
739
+ 678
740
+ 679
741
+ 680
742
+ 681
743
+ 682
744
+ 683
745
+ 684
746
+ 685
747
+ 686
748
+ 687
749
+ 688
750
+ 689
751
+ 690</pre>
752
+ </td>
753
+ <td>
754
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 656</span>
755
+
756
+ <span class='def def kw'>def</span> <span class='arrange_in_diamond identifier id'>arrange_in_diamond</span>
757
+ <span class='numClients identifier id'>numClients</span> <span class='assign token'>=</span> <span class='num_managed_clients identifier id'>num_managed_clients</span>
758
+ <span class='return return kw'>return</span> <span class='unless unless_mod kw'>unless</span> <span class='numClients identifier id'>numClients</span> <span class='gt op'>&gt;</span> <span class='integer val'>1</span>
759
+
760
+ <span class='comment val'># determine dimensions of the rising sub-triangle</span>
761
+ <span class='rise identifier id'>rise</span> <span class='assign token'>=</span> <span class='numClients identifier id'>numClients</span> <span class='div op'>/</span> <span class='integer val'>2</span>
762
+
763
+ <span class='span identifier id'>span</span> <span class='assign token'>=</span> <span class='sum identifier id'>sum</span> <span class='assign token'>=</span> <span class='integer val'>0</span>
764
+ <span class='float val'>1</span><span class='dot token'>.</span><span class='upto identifier id'>upto</span> <span class='rise identifier id'>rise</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='h identifier id'>h</span><span class='bitor op'>|</span>
765
+ <span class='if if kw'>if</span> <span class='sum identifier id'>sum</span> <span class='plus op'>+</span> <span class='h identifier id'>h</span> <span class='gt op'>&gt;</span> <span class='rise identifier id'>rise</span>
766
+ <span class='break break kw'>break</span>
767
+ <span class='else else kw'>else</span>
768
+ <span class='sum identifier id'>sum</span> <span class='opasgn op'>+=</span> <span class='h identifier id'>h</span>
769
+ <span class='span identifier id'>span</span> <span class='opasgn op'>+=</span> <span class='integer val'>1</span>
770
+ <span class='end end kw'>end</span>
771
+ <span class='end end kw'>end</span>
772
+
773
+ <span class='peak identifier id'>peak</span> <span class='assign token'>=</span> <span class='numClients identifier id'>numClients</span> <span class='minus op'>-</span> <span class='lparen token'>(</span><span class='sum identifier id'>sum</span> <span class='mult op'>*</span> <span class='integer val'>2</span><span class='rparen token'>)</span>
774
+
775
+ <span class='comment val'># describe the overall triangle as a sequence of heights</span>
776
+ <span class='riseSeq identifier id'>riseSeq</span> <span class='assign token'>=</span> <span class='lparen token'>(</span><span class='float val'>1</span><span class='dot2 op'>..</span><span class='span identifier id'>span</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_a identifier id'>to_a</span>
777
+ <span class='fallSeq identifier id'>fallSeq</span> <span class='assign token'>=</span> <span class='riseSeq identifier id'>riseSeq</span><span class='dot token'>.</span><span class='reverse identifier id'>reverse</span>
778
+
779
+ <span class='heights identifier id'>heights</span> <span class='assign token'>=</span> <span class='riseSeq identifier id'>riseSeq</span>
780
+ <span class='heights identifier id'>heights</span> <span class='lshft op'>&lt;&lt;</span> <span class='peak identifier id'>peak</span> <span class='if if_mod kw'>if</span> <span class='peak identifier id'>peak</span> <span class='gt op'>&gt;</span> <span class='integer val'>0</span>
781
+ <span class='heights identifier id'>heights</span><span class='dot token'>.</span><span class='concat identifier id'>concat</span> <span class='fallSeq identifier id'>fallSeq</span>
782
+
783
+ <span class='comment val'># apply the heights</span>
784
+ <span class='each_column identifier id'>each_column</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='col identifier id'>col</span><span class='bitor op'>|</span>
785
+ <span class='if if kw'>if</span> <span class='h identifier id'>h</span> <span class='assign token'>=</span> <span class='heights identifier id'>heights</span><span class='dot token'>.</span><span class='shift identifier id'>shift</span>
786
+ <span class='col identifier id'>col</span><span class='dot token'>.</span><span class='length identifier id'>length</span> <span class='assign token'>=</span> <span class='h identifier id'>h</span>
787
+ <span class='col identifier id'>col</span><span class='dot token'>.</span><span class='layout identifier id'>layout</span> <span class='assign token'>=</span> <span class='symbol val'>:default</span>
788
+ <span class='end end kw'>end</span>
789
+ <span class='end end kw'>end</span>
790
+ <span class='end end kw'>end</span>
791
+ </pre>
792
+ </td>
793
+ </tr>
794
+ </table>
795
+ </div>
796
+ </div>
797
+ </div>
798
+ </div>
799
+
800
+ <div class="method">
801
+ <div class="method_header">
802
+ <h3>arrange_in_grid</h3>
803
+ </div><div id="arrange_in_grid-instance_method" class="section method">
804
+ <div class="details_title">
805
+ <div class='section methodsignature'>
806
+ <tt class='def'>
807
+ <span class='visibility'>public</span>
808
+ <span class='return_types'></span>
809
+ <span class='name'>arrange_in_grid</span><span class='args'>(aMaxClientsPerColumn = nil)</span>
810
+ <span class='block'></span>
811
+ </tt>
812
+ </div>
813
+
814
+ </div><div class="section docstring">
815
+ <p>
816
+ Arranges the clients in this view, while maintaining their relative order,
817
+ in a (at best) square grid.
818
+ </p>
819
+
820
+ </div><div class="section source">
821
+ <span>[<a class="source_link" href="#">View source</a>]</span>
822
+ <div class="source_code">
823
+ <table>
824
+ <tr>
825
+ <td>
826
+ <pre class="lines">
827
+
828
+
829
+ 634
830
+ 635
831
+ 636
832
+ 637
833
+ 638
834
+ 639
835
+ 640
836
+ 641
837
+ 642
838
+ 643
839
+ 644
840
+ 645
841
+ 646
842
+ 647
843
+ 648
844
+ 649
845
+ 650
846
+ 651</pre>
847
+ </td>
848
+ <td>
849
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 634</span>
850
+
851
+ <span class='def def kw'>def</span> <span class='arrange_in_grid identifier id'>arrange_in_grid</span> <span class='aMaxClientsPerColumn identifier id'>aMaxClientsPerColumn</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span>
852
+ <span class='comment val'># compute client distribution</span>
853
+ <span class='unless unless kw'>unless</span> <span class='aMaxClientsPerColumn identifier id'>aMaxClientsPerColumn</span>
854
+ <span class='numClients identifier id'>numClients</span> <span class='assign token'>=</span> <span class='num_managed_clients identifier id'>num_managed_clients</span>
855
+ <span class='return return kw'>return</span> <span class='unless unless_mod kw'>unless</span> <span class='numClients identifier id'>numClients</span> <span class='gt op'>&gt;</span> <span class='integer val'>0</span>
856
+
857
+ <span class='numColumns identifier id'>numColumns</span> <span class='assign token'>=</span> <span class='Math constant id'>Math</span><span class='dot token'>.</span><span class='sqrt identifier id'>sqrt</span><span class='lparen token'>(</span><span class='numClients identifier id'>numClients</span><span class='rparen token'>)</span>
858
+ <span class='aMaxClientsPerColumn identifier id'>aMaxClientsPerColumn</span> <span class='assign token'>=</span> <span class='lparen token'>(</span><span class='numClients identifier id'>numClients</span> <span class='div op'>/</span> <span class='numColumns identifier id'>numColumns</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='round identifier id'>round</span>
859
+ <span class='end end kw'>end</span>
860
+
861
+ <span class='return return kw'>return</span> <span class='unless unless_mod kw'>unless</span> <span class='aMaxClientsPerColumn identifier id'>aMaxClientsPerColumn</span> <span class='gt op'>&gt;</span> <span class='integer val'>1</span>
862
+
863
+ <span class='comment val'># apply the distribution</span>
864
+ <span class='each_column identifier id'>each_column</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span>
865
+ <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='length identifier id'>length</span> <span class='assign token'>=</span> <span class='aMaxClientsPerColumn identifier id'>aMaxClientsPerColumn</span>
866
+ <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='layout identifier id'>layout</span> <span class='assign token'>=</span> <span class='symbol val'>:default</span>
867
+ <span class='end end kw'>end</span>
868
+ <span class='end end kw'>end</span>
869
+ </pre>
870
+ </td>
871
+ </tr>
872
+ </table>
873
+ </div>
874
+ </div>
875
+ </div>
876
+ </div>
877
+
878
+ <div class="method">
879
+ <div class="method_header">
880
+ <h3>chain</h3>
881
+ </div><div id="chain-instance_method" class="section method">
882
+ <div class="details_title">
883
+ <div class='section methodsignature'>
884
+ <tt class='def'>
885
+ <span class='visibility'>public</span>
886
+ <span class='return_types'></span>
887
+ <span class='name'>chain</span><span class='args'></span>
888
+ <span class='block'></span>
889
+ </tt>
890
+ </div>
891
+
892
+ </div><div class="section source">
893
+ <span>[<a class="source_link" href="#">View source</a>]</span>
894
+ <div class="source_code">
895
+ <table>
896
+ <tr>
897
+ <td>
898
+ <pre class="lines">
899
+
900
+
901
+ 527
902
+ 528
903
+ 529</pre>
904
+ </td>
905
+ <td>
906
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 527</span>
907
+
908
+ <span class='def def kw'>def</span> <span class='chain identifier id'>chain</span>
909
+ <span class='Rumai constant id'>Rumai</span><span class='dot token'>.</span><span class='views identifier id'>views</span>
910
+ <span class='end end kw'>end</span>
911
+ </pre>
912
+ </td>
913
+ </tr>
914
+ </table>
915
+ </div>
916
+ </div>
917
+ </div>
918
+ </div>
919
+
920
+ <div class="method">
921
+ <div class="method_header">
922
+ <h3>client_ids</h3>
923
+ </div><div id="client_ids-instance_method" class="section method">
924
+ <div class="details_title">
925
+ <div class='section methodsignature'>
926
+ <tt class='def'>
927
+ <span class='visibility'>public</span>
928
+ <span class='return_types'></span>
929
+ <span class='name'>client_ids</span><span class='args'>(aAreaId = '\S+')</span>
930
+ <span class='block'></span>
931
+ </tt>
932
+ </div>
933
+
934
+ </div><div class="section docstring">
935
+ <p>
936
+ Returns the IDs of the clients contained in the given area within this
937
+ view.
938
+ </p>
939
+
940
+ </div><div class="section source">
941
+ <span>[<a class="source_link" href="#">View source</a>]</span>
942
+ <div class="source_code">
943
+ <table>
944
+ <tr>
945
+ <td>
946
+ <pre class="lines">
947
+
948
+
949
+ 534
950
+ 535
951
+ 536</pre>
952
+ </td>
953
+ <td>
954
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 534</span>
955
+
956
+ <span class='def def kw'>def</span> <span class='client_ids identifier id'>client_ids</span> <span class='aAreaId identifier id'>aAreaId</span> <span class='assign token'>=</span> <span class='string val'>'\S+'</span>
957
+ <span class='manifest identifier id'>manifest</span><span class='dot token'>.</span><span class='scan identifier id'>scan</span><span class='lparen token'>(</span><span class='dregexp node'>/^#{aAreaId} (0x\S+)/</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='flatten identifier id'>flatten</span>
958
+ <span class='end end kw'>end</span>
959
+ </pre>
960
+ </td>
961
+ </tr>
962
+ </table>
963
+ </div>
964
+ </div>
965
+ </div>
966
+ </div>
967
+
968
+ <div class="method">
969
+ <div class="method_header">
970
+ <h3>columns</h3>
971
+ </div><div id="columns-instance_method" class="section method">
972
+ <div class="details_title">
973
+ <div class='section methodsignature'>
974
+ <tt class='def'>
975
+ <span class='visibility'>public</span>
976
+ <span class='return_types'></span>
977
+ <span class='name'>columns</span><span class='args'></span>
978
+ <span class='block'></span>
979
+ </tt>
980
+ </div>
981
+
982
+ </div><div class="section docstring">
983
+ <p>
984
+ Returns all columns (managed areas) in this view.
985
+ </p>
986
+
987
+ </div><div class="section source">
988
+ <span>[<a class="source_link" href="#">View source</a>]</span>
989
+ <div class="source_code">
990
+ <table>
991
+ <tr>
992
+ <td>
993
+ <pre class="lines">
994
+
995
+
996
+ 592
997
+ 593
998
+ 594</pre>
999
+ </td>
1000
+ <td>
1001
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 592</span>
1002
+
1003
+ <span class='def def kw'>def</span> <span class='columns identifier id'>columns</span>
1004
+ <span class='areas identifier id'>areas</span><span class='lbrack token'>[</span><span class='float val'>1</span><span class='dot2 op'>..</span><span class='integer val'>-1</span><span class='rbrack token'>]</span>
1005
+ <span class='end end kw'>end</span>
1006
+ </pre>
1007
+ </td>
1008
+ </tr>
1009
+ </table>
1010
+ </div>
1011
+ </div>
1012
+ </div>
1013
+ </div>
1014
+
1015
+ <div class="method">
1016
+ <div class="method_header">
1017
+ <h3>each</h3>
1018
+ </div><div id="each-instance_method" class="section method">
1019
+ <div class="details_title">
1020
+ <div class='section methodsignature'>
1021
+ <tt class='def'>
1022
+ <span class='visibility'>public</span>
1023
+ <span class='return_types'></span>
1024
+ <span class='name'>each</span><span class='args'>(&amp;aBlock)</span>
1025
+ <span class='block'></span>
1026
+ </tt>
1027
+ </div>
1028
+
1029
+ </div><div class="section docstring">
1030
+ <p>
1031
+ Iterates through each area in this view.
1032
+ </p>
1033
+
1034
+ </div><div class="section source">
1035
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1036
+ <div class="source_code">
1037
+ <table>
1038
+ <tr>
1039
+ <td>
1040
+ <pre class="lines">
1041
+
1042
+
1043
+ 540
1044
+ 541
1045
+ 542</pre>
1046
+ </td>
1047
+ <td>
1048
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 540</span>
1049
+
1050
+ <span class='def def kw'>def</span> <span class='each identifier id'>each</span> <span class='bitand op'>&amp;</span><span class='aBlock identifier id'>aBlock</span>
1051
+ <span class='areas identifier id'>areas</span><span class='dot token'>.</span><span class='each identifier id'>each</span><span class='lparen token'>(</span><span class='bitand op'>&amp;</span><span class='aBlock identifier id'>aBlock</span><span class='rparen token'>)</span>
1052
+ <span class='end end kw'>end</span>
1053
+ </pre>
1054
+ </td>
1055
+ </tr>
1056
+ </table>
1057
+ </div>
1058
+ </div>
1059
+ </div>
1060
+ </div>
1061
+
1062
+ <div class="method">
1063
+ <div class="method_header">
1064
+ <h3>each_column</h3>
1065
+ </div><div id="each_column-instance_method" class="section method">
1066
+ <div class="details_title">
1067
+ <div class='section methodsignature'>
1068
+ <tt class='def'>
1069
+ <span class='visibility'>public</span>
1070
+ <span class='return_types'></span>
1071
+ <span class='name'>each_column</span><span class='args'>(aStartingColumnId = 1)</span>
1072
+ <span class='block'></span>
1073
+ </tt>
1074
+ </div>
1075
+
1076
+ </div><div class="section docstring">
1077
+ <p>
1078
+ Resiliently iterates through possibly destructive changes to each column.
1079
+ That is, if the given block creates new columns, then those will also be
1080
+ processed in the iteration.
1081
+ </p>
1082
+
1083
+ </div><div class="section source">
1084
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1085
+ <div class="source_code">
1086
+ <table>
1087
+ <tr>
1088
+ <td>
1089
+ <pre class="lines">
1090
+
1091
+
1092
+ 599
1093
+ 600
1094
+ 601
1095
+ 602
1096
+ 603
1097
+ 604
1098
+ 605
1099
+ 606
1100
+ 607
1101
+ 608
1102
+ 609
1103
+ 610
1104
+ 611
1105
+ 612</pre>
1106
+ </td>
1107
+ <td>
1108
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 599</span>
1109
+
1110
+ <span class='def def kw'>def</span> <span class='each_column identifier id'>each_column</span> <span class='aStartingColumnId identifier id'>aStartingColumnId</span> <span class='assign token'>=</span> <span class='integer val'>1</span>
1111
+ <span class='i identifier id'>i</span> <span class='assign token'>=</span> <span class='aStartingColumnId identifier id'>aStartingColumnId</span>
1112
+ <span class='loop identifier id'>loop</span> <span class='do do kw'>do</span>
1113
+ <span class='a identifier id'>a</span> <span class='assign token'>=</span> <span class='Area constant id'>Area</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='i identifier id'>i</span><span class='comma token'>,</span> <span class='self self kw'>self</span>
1114
+
1115
+ <span class='if if kw'>if</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='exist? fid id'>exist?</span>
1116
+ <span class='yield yield kw'>yield</span> <span class='a identifier id'>a</span>
1117
+ <span class='else else kw'>else</span>
1118
+ <span class='break break kw'>break</span>
1119
+ <span class='end end kw'>end</span>
1120
+
1121
+ <span class='i identifier id'>i</span> <span class='opasgn op'>+=</span> <span class='integer val'>1</span>
1122
+ <span class='end end kw'>end</span>
1123
+ <span class='end end kw'>end</span>
1124
+ </pre>
1125
+ </td>
1126
+ </tr>
1127
+ </table>
1128
+ </div>
1129
+ </div>
1130
+ </div>
1131
+ </div>
1132
+
1133
+ <div class="method">
1134
+ <div class="method_header">
1135
+ <h3>floater</h3>
1136
+ </div><div id="floater-instance_method" class="section method">
1137
+ <div class="details_title">
1138
+ <div class='section methodsignature'>
1139
+ <tt class='def'>
1140
+ <span class='visibility'>public</span>
1141
+ <span class='return_types'></span>
1142
+ <span class='name'>floater</span><span class='args'></span>
1143
+ <span class='block'></span>
1144
+ </tt>
1145
+ </div>
1146
+
1147
+ </div><div class="section docstring">
1148
+ <p>
1149
+ Returns the floating area of this view.
1150
+ </p>
1151
+
1152
+ </div><div class="section source">
1153
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1154
+ <div class="source_code">
1155
+ <table>
1156
+ <tr>
1157
+ <td>
1158
+ <pre class="lines">
1159
+
1160
+
1161
+ 587
1162
+ 588
1163
+ 589</pre>
1164
+ </td>
1165
+ <td>
1166
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 587</span>
1167
+
1168
+ <span class='def def kw'>def</span> <span class='floater identifier id'>floater</span>
1169
+ <span class='areas identifier id'>areas</span><span class='dot token'>.</span><span class='first identifier id'>first</span>
1170
+ <span class='end end kw'>end</span>
1171
+ </pre>
1172
+ </td>
1173
+ </tr>
1174
+ </table>
1175
+ </div>
1176
+ </div>
1177
+ </div>
1178
+ </div>
1179
+
1180
+ <div class="method">
1181
+ <div class="method_header">
1182
+ <h3>focus</h3>
1183
+ </div><div id="focus-instance_method" class="section method">
1184
+ <div class="details_title">
1185
+ <div class='section methodsignature'>
1186
+ <tt class='def'>
1187
+ <span class='visibility'>public</span>
1188
+ <span class='return_types'></span>
1189
+ <span class='name'>focus</span><span class='args'></span>
1190
+ <span class='block'></span>
1191
+ </tt>
1192
+ </div>
1193
+
1194
+ </div><div class="section docstring">
1195
+ <p>
1196
+ Focuses this view.
1197
+ </p>
1198
+
1199
+ </div><div class="section source">
1200
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1201
+ <div class="source_code">
1202
+ <table>
1203
+ <tr>
1204
+ <td>
1205
+ <pre class="lines">
1206
+
1207
+
1208
+ 522
1209
+ 523
1210
+ 524</pre>
1211
+ </td>
1212
+ <td>
1213
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 522</span>
1214
+
1215
+ <span class='def def kw'>def</span> <span class='focus identifier id'>focus</span>
1216
+ <span class='Rumai constant id'>Rumai</span><span class='dot token'>.</span><span class='fs identifier id'>fs</span><span class='dot token'>.</span><span class='ctl identifier id'>ctl</span><span class='dot token'>.</span><span class='write identifier id'>write</span> <span class='dstring node'>&quot;view #{@id}&quot;</span>
1217
+ <span class='end end kw'>end</span>
1218
+ </pre>
1219
+ </td>
1220
+ </tr>
1221
+ </table>
1222
+ </div>
1223
+ </div>
1224
+ </div>
1225
+ </div>
1226
+
1227
+ <div class="method">
1228
+ <div class="method_header">
1229
+ <h3>manifest</h3>
1230
+ </div><div id="manifest-instance_method" class="section method">
1231
+ <div class="details_title">
1232
+ <div class='section methodsignature'>
1233
+ <tt class='def'>
1234
+ <span class='visibility'>public</span>
1235
+ <span class='return_types'></span>
1236
+ <span class='name'>manifest</span><span class='args'></span>
1237
+ <span class='block'></span>
1238
+ </tt>
1239
+ </div>
1240
+
1241
+ </div><div class="section docstring">
1242
+ <p>
1243
+ Returns the manifest of all areas and clients in this view.
1244
+ </p>
1245
+
1246
+ </div><div class="section source">
1247
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1248
+ <div class="source_code">
1249
+ <table>
1250
+ <tr>
1251
+ <td>
1252
+ <pre class="lines">
1253
+
1254
+
1255
+ 549
1256
+ 550
1257
+ 551</pre>
1258
+ </td>
1259
+ <td>
1260
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 549</span>
1261
+
1262
+ <span class='def def kw'>def</span> <span class='manifest identifier id'>manifest</span>
1263
+ <span class='index identifier id'>index</span><span class='dot token'>.</span><span class='read identifier id'>read</span> <span class='orop op'>||</span> <span class='string val'>''</span>
1264
+ <span class='end end kw'>end</span>
1265
+ </pre>
1266
+ </td>
1267
+ </tr>
1268
+ </table>
1269
+ </div>
1270
+ </div>
1271
+ </div>
1272
+ </div>
1273
+
1274
+ </div>
1275
+ </div>
1276
+
1277
+ </div>
1278
+ </div>
1279
+ </body>
1280
+ </html>