Lines Matching defs:table
26 package javax.swing.table;
49 * The table class defines a single cell renderer and uses it as a
50 * as a rubber-stamp for rendering all cells in the table;
107 * Creates a default table cell renderer.
165 // implements javax.swing.table.TableCellRenderer
168 * Returns the default table cell renderer.
174 * or not the table is being printed, check the return value from
177 * @param table the <code>JTable</code>
184 * @return the default table cell renderer
187 public Component getTableCellRendererComponent(JTable table, Object value,
189 if (table == null) {
196 JTable.DropLocation dropLocation = table.getDropLocation();
210 super.setForeground(fg == null ? table.getSelectionForeground()
212 super.setBackground(bg == null ? table.getSelectionBackground()
217 : table.getBackground();
226 : table.getForeground());
230 setFont(table.getFont());
242 if (!isSelected && table.isCellEditable(row, column)) {