剪切过去的形状 [英] cut copy past for shapes
本文介绍了剪切过去的形状的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我找不到具有(剪切,复制,过去,撤消,重做)功能的简单绘图Java应用程序
有人可以给我一个源代码的例子吗?
非常感谢您
hi every one,
i dont find simple drawing java app with (cut,copy,past,undo,redo)features
can someone give me an exemple of source code
thank you very much
推荐答案
更多的是您必须使用的设计模式:
设计模式是一种编写代码的方法,它使您可以进行抽象(蓬松)的事情,这些事情也限制了您编写易于维护的代码.
检查记忆和命令模式...
检查此网站的基础知识:
http://www.dofactory.com/Patterns/Patterns.aspx
its more a design pattern that you have to use :
design patterns are a way of writing code that lets you do abstract (fluffy) things that also restrict you writing easily maintainable code.
check memento and command pattern...
check this website for the basics :
http://www.dofactory.com/Patterns/Patterns.aspx
这篇关于剪切过去的形状的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文