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

JTable组件的深入剖析
引用本文:吴闻.JTable组件的深入剖析[J].科技广场,2012(3):39-44.
作者姓名:吴闻
作者单位:福建师范大学数学与计算机科学学院,福建福州,350108
基金项目:福建省教育厅(A类)项目
摘    要:JTable组件是一个综合性的Java界面开发组件,内部包含一套独立的消息传递机制,以协调整个组件的运作。文中对JTable组件进行了深入的分析,介绍了JTable组件采用的设计模式、消息的传递方法、JTable的使用、TableModel的常用方法、如何向JTable传递消息及如何实现对JTable的控制。最后,介绍了单元渲染器和编辑器的实现和使用。

关 键 词:Java  JTable  Table  Model  Cell  Render  Cell  Editor

In-depth Analysis of the JTable Component
Wu Wen.In-depth Analysis of the JTable Component[J].Science Mosaic,2012(3):39-44.
Authors:Wu Wen
Institution:Wu Wen(School of Mathematics and Computer Science,Fujian Normal University,Fujian Fuzhou 350108)
Abstract:JTable is a comprehensive component of Java GUI.It includes an independent message transmission mechanism to coordinate the operation of JTable.This paper conducts an in-depth analysis of JTable,introduces its design pattern,message delivery method,and how to use it,then introduces the commonly used method in the table model,the way of message transmission,and how to achieve control of JTable.Finally,the paper introduces the implementation and use of a cell renderer and editor.
Keywords:Java  JTable  Table Model  Cell Render  Cell Editor
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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