首页 | 本学科首页   官方微博 | 高级检索  
     

Java中实现事件监听的多种方法剖析
引用本文:肖玉朝,何伟.Java中实现事件监听的多种方法剖析[J].数字社区&智能家居,2009(11).
作者姓名:肖玉朝  何伟
作者单位:长沙商贸旅游职业技术学院;
摘    要:在面向对象、采用事件驱动机制的Java程序设计语言中,实现用户交互与事件监听处理的方法众多,如何让学生从众多的方法中解脱出来,真正理解与掌握事件监听处理的真谛是教学环节中的一个重点与难点,该文将多种实现方法进行分类,通过归纳总结,使用通俗的语言,辅以实践案例,详细的剖析了实现事件监听的各种不同方法。

关 键 词:事件监听  抽象接口  适配器类  类中类  类外类  

An Analysis of Multi-ways on how to Realize EventListener in Java
XIAO Yu-zhao,HE Wei.An Analysis of Multi-ways on how to Realize EventListener in Java[J].Digital Community & Smart Home,2009(11).
Authors:XIAO Yu-zhao  HE Wei
Affiliation:Changsha Commerce & Tourism College;Changsha 410004;China
Abstract:In the language of designing Java programs facing objects and adapting event drive,there are many ways on how to realize the interacts with the users and deal with the eventlistener.It is an emphasis as well as a difficulty how to set the students free from so many ways and help them understand and master the eventlistener.This paper classifies multi-ways and analyses different ways on how to realize the eventlistener by summing up and using popular language and practical examples.
Keywords:eventlistener  abstract interface  adapter  innerclass  outerclass  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号