检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222