Java事件处理机制中设计模式的分析  被引量:5

Research on design patterns in Java event handling mechanism

在线阅读下载全文

作  者:宋淼[1] 袁兆山[1] 陈刚[1] 刘奎[1] 

机构地区:[1]合肥工业大学计算机与信息学院,安徽合肥230009

出  处:《合肥工业大学学报(自然科学版)》2004年第11期1383-1386,共4页Journal of Hefei University of Technology:Natural Science

基  金:安徽省自然科学基金资助项目(01042207)

摘  要:设计模式是具有良好扩展性、健壮性及重用性的软件设计方案,是软件技术的重要研究课题。Java是一门跨平台的语言,适用于开发客户机/服务器式的应用程序。由于Java的跨平台性,使它也适合大型的多主机系统软件开发;同时Java也是一种面向对象的语言,在其中体现了许多设计模式的思想。文章介绍了设计模式的概念及Java事件处理机制,并通过对JavaAWT类库的详细分析,从Java的事件处理机制中提取出3种主要的设计模式。Design patterns are a solution to the design of complex software systems for their good reusability, flexibility and robustness. Java is a platform independent language,which is practicable to the development of c/s architecture software and also suitable to the development of multi-mainframe system software.In addition, Java is an object oriented language,which embodies several concepts of design patterns. In this paper,the concept of design patterns and the Java event-handling mechanism are introduced first. Then based on a detailed analysis of Java AWT library, three design patterns embodied in Java event-handling mechanism are investigated.

关 键 词:OBSERVER模式 COMMAND模式 DEFAULT ADAPTER模式 事件监听器 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象