Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Design Pattern & UML  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:关于command的模式中Invoker对象? [Re:WeiterWay]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-12-03 16:02 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
WeiterWay wrote:
I think your DrawPane is the Invoker here. It is a command manager or command aggregator. Your implementation has one drawback: It is not a good idea to let command object implements shap object(the receiver or response object). this way the response object's interface is exposed to client (tight-coupled). it is better to embed the implementation details for command object, or even further maybe we can use bridge pattern to externalize the command receiver's implementation.

改了,看看



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"


话题树型展开
人气 标题 作者 字数 发贴时间
10408 关于command的模式中Invoker对象? jameszhang 69 2004-12-01 15:40
8719 Re:关于command的模式中Invoker对象? wes109 654 2004-12-01 18:30
8733 Re:关于command的模式中Invoker对象? jameszhang 256 2004-12-02 08:29
8635 Re:关于command的模式中Invoker对象? jameszhang 122 2004-12-01 20:17
8600 Re:关于command的模式中Invoker对象? floater 415 2004-12-02 00:01
8581 Re:关于command的模式中Invoker对象? floater 175 2004-12-02 23:14
8547 Re:关于command的模式中Invoker对象? wes109 339 2004-12-03 09:10
8434 Re:关于command的模式中Invoker对象? jameszhang 1581 2004-12-03 14:17
8548 Re:关于command的模式中Invoker对象? jameszhang 14 2004-12-03 14:28
8765 Re:关于command的模式中Invoker对象? WeiterWay 478 2004-12-03 15:30
10774 Re:关于command的模式中Invoker对象? jameszhang 527 2004-12-03 16:02

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2018 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923