软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.table |
处理
javax.swing.JTable 提供类和接口。
|
Modifier and Type | Method and Description |
---|---|
static JScrollPane |
JTable.createScrollPaneForTable(JTable aTable)
过时的。
作为摇摆版本1.0.2,取而代之的
new JScrollPane(aTable) 。
|
Component |
DefaultCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
实现了
TableCellEditor 接口。
|
Constructor and Description |
---|
AccessibleJTableCell(JTable t, int r, int c, int i)
构建了一个
AccessibleJTableHeaderEntry 。
|
Modifier and Type | Field and Description |
---|---|
protected JTable |
BasicTableUI.table |
Modifier and Type | Field and Description |
---|---|
protected JTable |
JTableHeader.table
而这个对象是头表;默认是
null 。
|
Modifier and Type | Method and Description |
---|---|
JTable |
JTableHeader.getTable()
返回与此标题相关联的表。
|
Modifier and Type | Method and Description |
---|---|
Component |
TableCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
设置初始
value 编辑。
|
Component |
DefaultTableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
返回默认单元格渲染器。
|
Component |
TableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
返回用于绘制单元格的组件。
|
void |
JTableHeader.setTable(JTable table)
设置与此标题相关联的表。
|
Constructor and Description |
---|
AccessibleJTableHeaderEntry(int c, JTableHeader p, JTable t)
构建了一个accessibljtableheaaderentry
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.