期刊文献+

有序JList控件的设计与实现 被引量:1

Designing and Implementing a Sorted JList Component
下载PDF
导出
摘要 JList控件可以显示一组相似的数据列表,但其显示的数据通常是无序的。本文详细描述了如何设计和实现有序Jlist控件,运用一个简单的应用程序示范了其设计思想。使用装饰器设计模式为已有的ListModel接口提供了更多的功能,这样可以只需对已有的应用程序进行少量的修改,就可以充分获得使用有序列表样式所带来的好处。 Java programmers often use the JList component to provide list views of similar data, Despite the convenience of this user interface component , a JList doesn" t sort its elements. This article describes how to produce sorted lists and uses a simple application to demonstrate concepts. The application uses the decorator design pattern to provide additional functionality to the ListModel object you already use. This allows you to use and benefit from a sorted model after making only minimal changes to your existing application code base.
作者 包子建
出处 《微计算机信息》 北大核心 2007年第18期219-221,共3页 Control & Automation
关键词 有序JList 设计 实现 JAVA Sorted JList Designing Implementing Java
  • 相关文献

参考文献4

二级参考文献13

  • 1杨芙清,邵维忠,柳军飞.永久对象存储技术研究[J].电子学报,1994,22(8):1-8. 被引量:13
  • 2叶建平.设计模式在游乐设施检测管理信息系统中的应用[J].微计算机信息,2005,21(12X):213-214. 被引量:10
  • 3ErichGamma RichardHelm RalphJohnson 李英军译.设计模式:可复用面向对象软件的基础[M].北京:机械工业出版社,2000..
  • 4Stoller S. D. Testing Concurrent Java Programs Using Randomized Scheduling[C]. In: Proc. of the Second Workshop on Runtime Verification of Electronic Notes in Theoretical Computer Science.Elsevier, 2002, 70(4):1-16.
  • 5Koppol P.V., Carver R. H., Tai K. C. Incremental Integration Testing of Concurrent Programs[J]. IEEE Trans. on Software. Engineering, 2002, 28(6): 607-623.
  • 6Hwang G. H., Tai K. C., Huang T. L. Reachability testing: An Approach to Testing Concurrent Software[J]. International Journal of Software Engineering and Knowledge Engineering, 1995, 5(4):493 -510.
  • 7Li S. Q., Chen H. Y., Sun Y. X. A Framework of Reachability Testing for Java Multithread Programs[C].In: Proe. of IEEE International Conference on SMC, 2004, 2730-2734.
  • 8Yu L., Tai K. C. Efficient Reachability Testing of Asynchronous Messagepassing Programs[C]. In: Proc. of 8th IEEE Int'l Conf. on Engineering for Complex Computer Systems, 2002, 35-44.
  • 9Carver R. H., Yu L. A General Model for Reachability Testing of Concurrent Programs[C]. In: Proc. of ICFEM, 2004, 76-98.
  • 10High Performance Computing and Communications Glossary 2.1[DB/OL], http://wotug.ukc.ac.uk/parallel/acronyms/ hpccgloss/B.html, 2005.

共引文献8

同被引文献3

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部