Java Reference
In-Depth Information
Table 18-4. JTable UIResource Elements
Property String
Object Type
Table.actionMap
ActionMap
Table.ancestorInputMap
InputMap
Table.ancestorInputMap.RightToLeft
InputMap
Table.background
Color
Table.darkShadow
Color
Table.focusCellBackground
Color
Table.focusCellForeground
Color
Table.focusCellHighlightBorder
Border
Table.font
Font
Table.foreground
Color
Table.gridColor
Color
Table.highlight
Color
Table.light
Color
Table.rendererUseTableColors
Boolean
Table.rendererUseUIBorder
Boolean
Table.rowHeight
Integer
Table.scrollPaneBorder
Border
Table.selectionBackground
Color
Table.selectionForeground
Color
Table.shadow
Color
TableUI
String
TableModel Interface
Now that you've looked at the basics of the JTable component, you can learn how it internally
manages its data elements. It does this with the help of classes that implement the TableModel
interface.
The TableModel interface defines the framework needed by the JTable to acquire column
headers and cell values, and modify those cell values when the table is editable. Its definition
follows:
 
Search WWH ::




Custom Search