Figure 1 shows the concept realized with JTable.
图1显示了使用JTable实现的概念。
We then use this vector to set the column headings of the JTable.
然后我们用这一向量来设定JTable的列的标题。
Comparing a mockup table with the JTable from the running example.
通过运行示例比较模拟表和jtable。
The JTable data provider is built on a foundation of rows and cells.
JTable数据提供程序构建在行和单元格的基础之上。
Table is rendered with JTable, showing all names and a list of their choices beneath their names.
使用 JTable呈现的表,显示所有姓名并在姓名下面列出各个人的选择。
Using JTable, the user is free to define his or her own custom perspectives in a convenient and compact view.
通过使用 JTable,用户可以在一个方便紧凑的视图中定制自己的透视图。
The JTable can be set up to display any data model that implements the TableModel interface with the following code.
我们可以用JTable显示任意数据模型,并通过下面的代码来实现TableModel接口。
Bindings to complex Swing components (such as JTable, JList and JComboBox) are now handled by custom Binding subclasses.
对复杂Swing组件(例如JTable、JList和JComboBox)的绑定现在由定制的Binding子类处理。
With JTable, users can visualize data in two dimensions and interactively change the horizontal and vertical data sets at runtime.
借助JTable,用户可以将数据可视化为二维视图,并且在运行时交互地更改水平和垂直数据集。
To present a table at run time, you have to supply the actual data in a table model, and then associate that table model with the JTable bean.
为了在运行时显示表格,你必须为表格模型提供实际数据,然后将表格模型和JTable bean相关联。
You need to implement the methods in your table model class, so the JTable bean can access the data in the model and present it in its view of the table.
您需要在表格模型类中实现这些方法,这样,JTablebean就可以访问模型中的数据,并在表格视图中显示出来。
Before we go on to our implementation solutions for the JTable application, we'd like to show you how we generated the data to run the JTable application.
在查看JTable应用程序的实现解决方案之前,我们先展示如何生成运行JTable应用程序所需的数据。
If we present our data in the JTable, users can choose a custom perspective to suit their informational needs by changing the horizontal and vertical data sets.
如果我们在JTable中显示数据,用户就可以更改水平和垂直的数据集,从而根据自己的信息需求选择定制的透视图。
AWT and Swing components, such as JButton or JTable, use the Observer pattern to decouple the generation of GUI events from their semantics within a given application.
AWT和Swing组件(例如JButton或JTable)使用观察者模式消除了GUI事件生成与它们在指定应用程序中的语义之间的耦合。
The table model provides several methods that the JTable bean calls to get such things as the number of columns and rows in the table, or the data for a particular table cell.
表格模型提供了多种可以被JTablebean调用的方法,利用这些方法,JTable bean 就能获取一些信息,如表格的行数和列数,或者是用在特定表格单元的数据。
While these few lines of code are enough to build an application with a default AdvancedDataGrid, the component has limitations when it comes to the implementation of our JTable.
尽管使用这些代码和默认的AdvancedDataGrid就可以创建一个应用程序,但是该组件在实现我们的JTable时会受到限制。
Part 1 of this series explored the juxtaposition table (JTable), a two-dimensional visualization assistant used to arrange, classify, and compare potentially large quantities of data.
创建并置表,第 1部分:使用 Flex 创建JTable 介绍了使用并置表(JTable)这一二维可视化辅助工具来排列、分类和比较大量数据。
Part 1 of this series explored the juxtaposition table (JTable), a two-dimensional visualization assistant used to arrange, classify, and compare potentially large quantities of data.
创建并置表,第 1部分:使用 Flex 创建JTable 介绍了使用并置表(JTable)这一二维可视化辅助工具来排列、分类和比较大量数据。
应用推荐