设计模式+简单工厂模式+桥接模式+装饰者模式实现画板绘图功能

上传者: 43304253 | 上传时间: 2023-02-21 21:19:12 | 文件大小: 59KB | 文件类型: ZIP
1.需求分析 该系统是一个画图程序,我们要用设计模式的思想来设计系统结构,然后实现基本图形的绘制功能。 1.1 设计模式要求 在软件的设计中请使用到三种以上设计模式。 1.2 画图基本要求 能实现基本图形的绘制功能,包括实现绘制直线、三角形和圆形,并有装饰;修改绘图笔颜色。 1.3 画图高级要求 实现图形的操作(如选取、移动、放大、缩小、删除、改变颜色、修变线形等)和持久化(利用文件或利用数据库)。

文件下载

资源详情

[{"title":"( 73 个子文件 59KB ) 设计模式+简单工厂模式+桥接模式+装饰者模式实现画板绘图功能","children":[{"title":"java课程设计","children":[{"title":"bin","children":[{"title":"界面","children":[{"title":"MainFrame$11.class <span style='color:#111;'> 829B </span>","children":null,"spread":false},{"title":"MainFrame.class <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"MainFrame$7.class <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"MainFrame$5.class <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"MainFrame$12.class <span style='color:#111;'> 827B </span>","children":null,"spread":false},{"title":"Jie.class <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"MainFrame$4.class <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"Jpanel.class <span style='color:#111;'> 711B </span>","children":null,"spread":false},{"title":"Jie$1.class <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"MainFrame$3.class <span style='color:#111;'> 709B </span>","children":null,"spread":false},{"title":"MainFrame$6.class <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"MainFrame$10.class <span style='color:#111;'> 827B </span>","children":null,"spread":false},{"title":"MainFrame$9.class <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"MainFrame$14.class <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"MainFrame$13.class <span style='color:#111;'> 829B </span>","children":null,"spread":false},{"title":"MainFrame$2.class <span style='color:#111;'> 709B </span>","children":null,"spread":false},{"title":"MainFrame$1.class <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"MainFrame$8.class <span style='color:#111;'> 996B </span>","children":null,"spread":false}],"spread":false},{"title":"桥接模式","children":[{"title":"Big.class <span style='color:#111;'> 365B </span>","children":null,"spread":false},{"title":"MiddlePen.class <span style='color:#111;'> 859B </span>","children":null,"spread":false},{"title":"Pen.class <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"smallpen.class <span style='color:#111;'> 856B </span>","children":null,"spread":false},{"title":"size.class <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"Small.class <span style='color:#111;'> 365B </span>","children":null,"spread":false},{"title":"BigPen.class <span style='color:#111;'> 850B </span>","children":null,"spread":false},{"title":"Middle.class <span style='color:#111;'> 374B </span>","children":null,"spread":false}],"spread":true},{"title":"简单工厂模式","children":[{"title":"proFactory.class <span style='color:#111;'> 756B </span>","children":null,"spread":false},{"title":"DrawOval.class <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"Draw.class <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"DrawTri.class <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"DrawRec.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"装饰模式","children":[{"title":"Oval_Oval.class <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"Rec_Rec.class <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"Tri.class <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"Decorator.class <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"Oval.class <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"Rec.class <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"Conpotent.class <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"Tri_Tri.class <span style='color:#111;'> 749B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java课程设计.iml <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 642B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"界面","children":[{"title":"Jie.java <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"MainFrame.java <span style='color:#111;'> 13.03KB </span>","children":null,"spread":false},{"title":"Jpanel.java <span style='color:#111;'> 489B </span>","children":null,"spread":false}],"spread":true},{"title":"桥接模式","children":[{"title":"Pen.java <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"Middle.java <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"BigPen.java <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"Big.java <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"MiddlePen.java <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"Small.java <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"smallpen.java <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"size.java <span style='color:#111;'> 75B </span>","children":null,"spread":false}],"spread":true},{"title":"简单工厂模式","children":[{"title":"Draw.java <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"DrawOval.java <span style='color:#111;'> 966B </span>","children":null,"spread":false},{"title":"DrawTri.java <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"DrawRec.java <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"proFactory.java <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":true},{"title":"装饰模式","children":[{"title":"Tri.java <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":"Tri_Tri.java <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"Oval.java <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"Oval_Oval.java <span style='color:#111;'> 393B </span>","children":null,"spread":false},{"title":"Rec.java <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"Rec_Rec.java <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"Conpotent.java <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"Decorator.java <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"qaplug_profiles.xml <span style='color:#111;'> 422B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 21.61KB </span>","children":null,"spread":false},{"title":"checkstyle-idea.xml <span style='color:#111;'> 624B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 396B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明