Search in sources :

Example 1 with BooleanCellEditor

use of de.jaret.util.ui.table.editor.BooleanCellEditor in project translationstudio8 by heartsome.

the class JaretTable method registerDefaultEditors.

/**
     * Register all default editors.
     * 
     */
private void registerDefaultEditors() {
    registerCellEditor(String.class, new TextCellEditor(true));
    registerCellEditor(Boolean.class, new BooleanCellEditor(true));
    registerCellEditor(Date.class, new DateCellEditor());
    registerCellEditor(JaretDate.class, new DateCellEditor());
    registerCellEditor(Enum.class, new EnumComboEditor());
    registerCellEditor(Integer.class, new IntegerCellEditor());
    registerCellEditor(Integer.TYPE, new IntegerCellEditor());
    registerCellEditor(Double.class, new DoubleCellEditor());
    registerCellEditor(Double.TYPE, new DoubleCellEditor());
}
Also used : IntegerCellEditor(de.jaret.util.ui.table.editor.IntegerCellEditor) EnumComboEditor(de.jaret.util.ui.table.editor.EnumComboEditor) BooleanCellEditor(de.jaret.util.ui.table.editor.BooleanCellEditor) TextCellEditor(de.jaret.util.ui.table.editor.TextCellEditor) DateCellEditor(de.jaret.util.ui.table.editor.DateCellEditor) DoubleCellEditor(de.jaret.util.ui.table.editor.DoubleCellEditor)

Aggregations

BooleanCellEditor (de.jaret.util.ui.table.editor.BooleanCellEditor)1 DateCellEditor (de.jaret.util.ui.table.editor.DateCellEditor)1 DoubleCellEditor (de.jaret.util.ui.table.editor.DoubleCellEditor)1 EnumComboEditor (de.jaret.util.ui.table.editor.EnumComboEditor)1 IntegerCellEditor (de.jaret.util.ui.table.editor.IntegerCellEditor)1 TextCellEditor (de.jaret.util.ui.table.editor.TextCellEditor)1