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