/ Developer CD Series 2000 November: Tool Chest
/ Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Java / SlideShow / Source Clippings / Controller / Controller Action Management ![]() | next > |
MacBinary | 2000-09-28 | 1.4 KB | [clpt/drag] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, inited, Sat May 8 16:45:50 1999, modified Thu Sep 28 11:56:39 2000, creator 'drag', type 'clpt' "Controller Action Management", at 0x80 1206 bytes resource Apple HFS/HFS+ resource fork, map offset 0x470, map length 0x46, data length 0x370, at 16 0x0c000090, nextResourceMap 0x5abab28, fileRef 0x3fe6, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 | default (weak) | |
99% | file | data | default | |
49% | TrID | Mac Text clippings (MacBinary) | default | |
33% | TrID | SpeedScript document (C64) | default (weak) | |
16% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [clpt] |
macFileCreator | [drag] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1c 43 6f 6e 74 72 6f | 6c 6c 65 72 20 41 63 74 |..Contro|ller Act|
|00000010| 69 6f 6e 20 4d 61 6e 61 | 67 65 6d 65 6e 74 00 00 |ion Mana|gement..|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 04 b6 b3 5a 52 fe b5 |........|....ZR..|
|00000060| f9 1a b7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 98 75 00 00 |........|.....u..|
|00000080| 00 00 01 00 00 00 04 70 | 00 00 03 70 00 00 00 46 |.......p|...p...F|
|00000090| 0c 00 00 90 41 00 14 7c | 09 03 a6 80 4c 00 04 4e |....A..||....L..N|
|000000a0| 80 04 20 00 81 12 22 0c | f8 02 22 01 38 03 21 f8 |.. ...".|..".8.!.|
|000000b0| 1c 43 6f 6e 74 72 6f 6c | 6c 65 72 20 41 63 74 69 |.Control|ler Acti|
|000000c0| 6f 6e 20 4d 61 6e 61 67 | 65 6d 65 6e 74 69 6e 72 |on Manag|ementinr|
|000000d0| 02 00 63 6c 70 74 64 72 | 61 67 00 00 01 78 01 60 |..clptdr|ag...x.`|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 b3 5a 4b f6 00 00 | 00 00 00 00 04 b6 01 67 |...ZK...|.......g|
|00000100| 01 01 00 00 00 00 00 00 | 01 20 21 30 03 21 d8 0a |........|. !0.!..|
|00000110| 2c 01 88 00 0a 00 0b 65 | 6e 65 74 00 01 04 22 01 |,......e|net...".|
|00000120| 98 02 2c 01 a0 00 05 00 | 08 74 6f 6b 6e 00 02 04 |..,.....|.tokn...|
|00000130| 22 01 b0 02 2c 01 b8 00 | 0f 00 08 66 64 64 69 00 |"...,...|...fddi.|
|00000140| 11 04 22 01 c8 04 28 65 | 6e 65 74 44 52 56 52 08 |.."...(e|netDRVR.|
|00000150| 26 2e 45 4e 45 54 30 02 | 28 74 6f 6b 6e 44 52 56 |&.ENET0.|(toknDRV|
|00000160| 52 08 26 2e 54 4f 4b 4e | 30 02 28 66 64 64 69 44 |R.&.TOKN|0.(fddiD|
|00000170| 52 56 52 08 26 2e 46 44 | 44 49 30 0a 2a 09 53 4c |RVR.&.FD|DI0.*.SL|
|00000180| 00 00 03 48 20 20 20 20 | 2f 2a 2a 0d 20 20 20 20 |...H |/**. |
|00000190| 20 2a 20 41 64 64 73 20 | 74 68 65 20 73 70 65 63 | * Adds |the spec|
|000001a0| 69 66 69 65 64 20 61 63 | 74 69 6f 6e 20 6c 69 73 |ified ac|tion lis|
|000001b0| 74 65 6e 65 72 20 74 6f | 20 72 65 63 65 69 76 65 |tener to| receive|
|000001c0| 20 61 63 74 69 6f 6e 20 | 65 76 65 6e 74 73 2e 0d | action |events..|
|000001d0| 20 20 20 20 20 2a 20 40 | 70 61 72 61 6d 20 6c 20 | * @|param l |
|000001e0| 74 68 65 20 61 63 74 69 | 6f 6e 20 6c 69 73 74 65 |the acti|on liste|
|000001f0| 6e 65 72 0d 20 20 20 20 | 20 2a 2f 0d 09 70 75 62 |ner. | */..pub|
|00000200| 6c 69 63 20 76 6f 69 64 | 20 61 64 64 41 63 74 69 |lic void| addActi|
|00000210| 6f 6e 4c 69 73 74 65 6e | 65 72 28 41 63 74 69 6f |onListen|er(Actio|
|00000220| 6e 4c 69 73 74 65 6e 65 | 72 20 6c 29 0d 09 7b 0d |nListene|r l)..{.|
|00000230| 09 09 61 63 74 69 6f 6e | 4c 69 73 74 65 6e 65 72 |..action|Listener|
|00000240| 20 3d 20 41 57 54 45 76 | 65 6e 74 4d 75 6c 74 69 | = AWTEv|entMulti|
|00000250| 63 61 73 74 65 72 2e 61 | 64 64 28 61 63 74 69 6f |caster.a|dd(actio|
|00000260| 6e 4c 69 73 74 65 6e 65 | 72 2c 20 6c 29 3b 0d 09 |nListene|r, l);..|
|00000270| 7d 0d 0d 20 20 20 20 2f | 2a 2a 0d 20 20 20 20 20 |}.. /|**. |
|00000280| 2a 20 52 65 6d 6f 76 65 | 73 20 74 68 65 20 73 70 |* Remove|s the sp|
|00000290| 65 63 69 66 69 65 64 20 | 61 63 74 69 6f 6e 20 6c |ecified |action l|
|000002a0| 69 73 74 65 6e 65 72 20 | 73 6f 20 69 74 20 6e 6f |istener |so it no|
|000002b0| 20 6c 6f 6e 67 65 72 20 | 72 65 63 65 69 76 65 73 | longer |receives|
|000002c0| 0d 20 20 20 20 20 2a 20 | 61 63 74 69 6f 6e 20 65 |. * |action e|
|000002d0| 76 65 6e 74 73 20 66 72 | 6f 6d 20 74 68 69 73 20 |vents fr|om this |
|000002e0| 63 6f 6d 70 6f 6e 65 6e | 74 2e 0d 20 20 20 20 20 |componen|t.. |
|000002f0| 2a 20 40 70 61 72 61 6d | 20 6c 20 74 68 65 20 61 |* @param| l the a|
|00000300| 63 74 69 6f 6e 20 6c 69 | 73 74 65 6e 65 72 0d 20 |ction li|stener. |
|00000310| 20 20 20 20 2a 2f 0d 09 | 70 75 62 6c 69 63 20 76 | */..|public v|
|00000320| 6f 69 64 20 72 65 6d 6f | 76 65 41 63 74 69 6f 6e |oid remo|veAction|
|00000330| 4c 69 73 74 65 6e 65 72 | 28 41 63 74 69 6f 6e 4c |Listener|(ActionL|
|00000340| 69 73 74 65 6e 65 72 20 | 6c 29 0d 09 7b 0d 09 09 |istener |l)..{...|
|00000350| 61 63 74 69 6f 6e 4c 69 | 73 74 65 6e 65 72 20 3d |actionLi|stener =|
|00000360| 20 41 57 54 45 76 65 6e | 74 4d 75 6c 74 69 63 61 | AWTEven|tMultica|
|00000370| 73 74 65 72 2e 72 65 6d | 6f 76 65 28 61 63 74 69 |ster.rem|ove(acti|
|00000380| 6f 6e 4c 69 73 74 65 6e | 65 72 2c 20 6c 29 3b 0d |onListen|er, l);.|
|00000390| 09 7d 0d 09 0d 09 2f 2a | 2a 0d 20 20 20 20 20 2a |.}..../*|*. *|
|000003a0| 20 46 69 72 65 20 61 6e | 20 61 63 74 69 6f 6e 20 | Fire an| action |
|000003b0| 65 76 65 6e 74 20 74 6f | 20 74 68 65 20 6c 69 73 |event to| the lis|
|000003c0| 74 65 6e 65 72 73 2e 0d | 20 20 20 20 20 2a 20 40 |teners..| * @|
|000003d0| 70 61 72 61 6d 20 63 6f | 6d 6d 61 6e 64 2c 20 74 |param co|mmand, t|
|000003e0| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 53 74 72 69 6e |he comma|nd Strin|
|000003f0| 67 20 74 6f 20 73 65 6e | 64 20 77 69 74 68 20 74 |g to sen|d with t|
|00000400| 68 65 20 41 63 74 69 6f | 6e 45 76 65 6e 74 0d 20 |he Actio|nEvent. |
|00000410| 20 20 20 20 2a 2f 0d 09 | 70 72 6f 74 65 63 74 65 | */..|protecte|
|00000420| 64 20 76 6f 69 64 20 66 | 69 72 65 41 63 74 69 6f |d void f|ireActio|
|00000430| 6e 45 76 65 6e 74 28 53 | 74 72 69 6e 67 20 63 6f |nEvent(S|tring co|
|00000440| 6d 6d 61 6e 64 29 0d 09 | 7b 0d 09 09 69 66 20 28 |mmand)..|{...if (|
|00000450| 61 63 74 69 6f 6e 4c 69 | 73 74 65 6e 65 72 20 21 |actionLi|stener !|
|00000460| 3d 20 6e 75 6c 6c 29 0d | 09 09 09 61 63 74 69 6f |= null).|...actio|
|00000470| 6e 4c 69 73 74 65 6e 65 | 72 2e 61 63 74 69 6f 6e |nListene|r.action|
|00000480| 50 65 72 66 6f 72 6d 65 | 64 28 6e 65 77 20 41 63 |Performe|d(new Ac|
|00000490| 74 69 6f 6e 45 76 65 6e | 74 28 74 68 69 73 2c 20 |tionEven|t(this, |
|000004a0| 41 63 74 69 6f 6e 45 76 | 65 6e 74 2e 41 43 54 49 |ActionEv|ent.ACTI|
|000004b0| 4f 4e 5f 50 45 52 46 4f | 52 4d 45 44 2c 20 63 6f |ON_PERFO|RMED, co|
|000004c0| 6d 6d 61 6e 64 29 29 3b | 0d 09 7d 0d 00 00 00 20 |mmand));|..}.... |
|000004d0| 00 00 00 01 00 00 00 04 | 00 00 00 00 00 00 00 01 |........|........|
|000004e0| 54 45 58 54 00 00 01 00 | 00 00 00 00 00 00 00 00 |TEXT....|........|
|000004f0| 00 00 01 00 00 00 04 70 | 00 00 03 70 00 00 00 46 |.......p|...p...F|
|00000500| 05 ab ab 28 3f e6 00 00 | 00 1c 00 46 00 01 54 45 |...(?...|...F..TE|
|00000510| 58 54 00 00 00 12 64 72 | 61 67 00 00 00 1e 01 00 |XT....dr|ag......|
|00000520| ff ff 00 00 00 00 00 62 | 10 fc 00 80 ff ff 00 00 |.......b|........|
|00000530| 03 4c 00 85 1a f8 00 00 | 00 00 00 00 00 00 00 00 |.L......|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+