Method setDefaultEditor(Class columnClass, TableCellEditor editor)
Return type: void
Member of: javax.swing.JTable
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 setDefaultEditor(Date.class, new HybridTableCellEditor(Types.DATE));
2 setDefaultEditor(TreeTableModelAdapter.class, new TreeTableCellEditor());
3 setDefaultEditor(Boolean.class, new BooleanEditor());
4 setDefaultEditor(Object.class, null);
5 table.setDefaultEditor(Integer.class, integerEditor);
6 attrTable.setDefaultEditor(String.class, singleClickEditor);
7 setDefaultEditor(TreeTableModel.class, new TreeTableCellEditor());
8 table.setDefaultEditor(Date.class, editor);
9 t.setDefaultEditor(MVisibilityKind.class, new DefaultCellEditor(visCombo));
10 setDefaultEditor(TreeTableModel.class, new TreeTableCellEditor());
11 tabProperties.setDefaultEditor(String[].class, mdlProperties.getChoiceEditor());
12 table.setDefaultEditor(Object.class, createTableCellEditor());
13 stringTable.setDefaultEditor(
14 sheetView.setDefaultEditor(HSSFCell.class, cellEditor);
15 setDefaultEditor(TreeTableModel.class, new TreeTableCellEditor());
16 fileTable.setDefaultEditor((new JComboBox()).getClass(), new JComboBoxEditor());
17 cvTable.setDefaultEditor(JTextField.class, new ValueEditor());
18 paraTable.setDefaultEditor(String.class, new moses.util.TextCellEditor(new JTextArea()));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.