大哥大姐们帮我翻译下这段短文,万分感谢!

大哥大姐们帮我翻译下这段短文,可以用软件翻译,但是希望能帮我整理成通顺的句子,非常谢谢!!!ChainofResponsibility(seepage42):TheAWT... 大哥大姐们帮我翻译下这段短文,可以用软件翻译,但是希望能帮我整理成通顺的句子,非常谢谢!!!

Chain of Responsibility (see page 42): The AWTEventMulticaster forwards all of the calls to the methods that are defined in the listener interfaces, to the listeners AWTEventMulticaster has a reference to.AWTEventMulticaster doesn't have to do much itself. It simply calls the method on each of its children. If a child is an AWT event listener, it executes the event handling behavior. If it is an AWTEventMulticaster, it forwards the method call to its own children.
Command (see page 51): AWTEventMulticaster is structured much like the Macro Command. It contains a collection, in this case a collection of two, of other Command objects. One object is terminal (the actual listener),and the other is another Macro Command (another AWTEventMulticaster). The different event listener methods
are used instead of the execute method in the Command pattern.The caller of the method (the source of the event) is unaware of the structure, and doesn’t need to know anything about it. The event source only needs to call the execute method once on the event listener, and that listener behaves like a Macro Command executing the proper methods.
186
大哥大姐们,可以用软件翻译,但是希望你们能帮我整理成通顺的句子,别这么不通顺就贴出来了....有重赏噢
展开
爱说梦话的狗
2008-03-17 · TA获得超过925个赞
知道答主
回答量:284
采纳率:0%
帮助的人:0
展开全部
责任链子(参见第42页) : AWTEventMulticaster批转所有电话对在听众接口被定义的方法,给AWTEventMulticaster有参考to.AWTEventMulticaster不必须做本身的听众。 它叫在它的孩子中的每一个的方法。 如果孩子是AWT事件听众,它执行处理行为的事件。 如果它是AWTEventMulticaster,它寄方法电话给它自己的孩子。
Command (参见第51页) : AWTEventMulticaster被构造很象宏观指令。 它包含汇集,在这种情况下一汇集二,其他命令对象。 一个对象终端(实际听众),并且其他是另一个宏观指令(另一AWTEventMulticaster)。 不同的事件听众方法
are使用而不是执行方法在命令样式。方法(事件的来源的访问者)对结构和doesn’t需要是未察觉的知道任何东西对此。 事件来源只需要一次叫执行方法在事件听众,并且表现象一个宏观指令执行适当的方法的那个听众。
186
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式