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

Java中不同类之间参量的实时传递
引用本文:侯杰,朱会明,苏瑞霞.Java中不同类之间参量的实时传递[J].商丘师范学院学报,2000,16(2):75-80.
作者姓名:侯杰  朱会明  苏瑞霞
作者单位:1. 商丘师专物理系,河南,商丘,476000
2. 商丘师专数学系,河南,商丘,476000
3. 商丘电视台,河南,商丘,476000
基金项目:上海市教委下达重点学科资助项目(S970110)
摘    要:类之间参量正确及时地传递是面向对象程序设计系统中的一个很重要的问题.通过对Java1.1的事件处理委托模型及相关概念的本质分析,得出了实现在不同类之间进行参量实时传递的几种实用方法,对给出几种参量实时传递方法的特点进行了比较分析.详细阐述了创建自己所需Listener的一般方法,并简要给出了实现例程.

关 键 词:事件处理  委托模型  参量传递  事件源  监听器
文章编号:1008-2662(2000)02-0075-06
修稿时间:1999年10月10

On real-time parameters passing between different classes in java
HOU Jie,ZHU Hui-ming,SU Rui-xia.On real-time parameters passing between different classes in java[J].Journal of Shangqiu Teachers College,2000,16(2):75-80.
Authors:HOU Jie  ZHU Hui-ming  SU Rui-xia
Abstract:Correct and in time parameters passing between different classes is a very important point in object oriented programming system.The delegation event model is new feature in Java 1.1,which provides a efficiency and practical event handling method loved by all programmers.In this paper,some methods of real time parameters passing between different classes is provided by the analysis of the essence of the delegation event handling model of Java 1.1 and their characters are compared with each other.The general method of self made Listener is discussed in detail and some useful implement programs are also given.This paper do an useful study in parameters passing between different classes in object oriented system and has a high practical value in Java based INTERNET application system.
Keywords:event handling  delegation event model  parameter passing  event source  listener  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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