Package org.jitterbit.ui.widget.table

Examples of org.jitterbit.ui.widget.table.TableStringEditor


        TableFactory factory = ComponentFactories.tableFactory();
        KongaTable table = factory.newTable(model, 4);
        TableStyles.wide().makeOver(table);
        TableCellRenderer valueRenderer = new ValueRenderer(updateKeys);
        table.setCellRendererAt(2, valueRenderer);
        TableStringEditor valueEditor = new TableStringEditor();
        valueEditor.setClickCountToStart(1);
        table.setCellEditorAt(2, valueEditor);
        table.setTerminateEditOnFocusLost(true);
        TableUndoRedoService undoRedo = new TableUndoRedoService();
        undoRedo.install(table, true);
        return new KongaRowTable(table);
View Full Code Here


        dim.height = table.getRowHeight() * visibleRows;
        table.setPreferredScrollableViewportSize(dim);
    }

    private void installEditors(KongaTable table) {
        TableStringEditor stringEditor = new TableStringEditor();
        stringEditor.setTextStyle(TextStyles.DefaultMonoSpaced);
        stringEditor.setClickCountToStart(1);
        table.setCellEditorAt(1, stringEditor);
        table.setTerminateEditOnFocusLost(true);
    }
View Full Code Here

    private void setRenderers(KongaTable table) {
        MessagePropertiesTableRenderers.install(table);
    }

    private void setEditors(KongaTable table) {
        table.setDefaultEditor(String.class, new TableStringEditor());
        TableEnumEditor typeEditor = new TableEnumEditor(MessagePropertyType.class);
        typeEditor.setComboBoxRenderer(new TypeListRenderer());
        table.setDefaultEditor(MessagePropertyType.class, typeEditor);
    }
View Full Code Here

        installEditors(table);
        return new KongaRowTable(table);
    }

    private void installEditors(KongaTable table) {
        TableStringEditor stringEditor = new TableStringEditor();
        stringEditor.setClickCountToStart(1);
        table.setCellEditorAt(1, stringEditor);
        TableEnumEditor enumEditor = new TableEnumEditor(SortOrder.class);
        enumEditor.setClickCountToStart(1);
        table.setCellEditorAt(2, enumEditor);
        table.setTerminateEditOnFocusLost(true);
View Full Code Here

        }
    }

    private void setupEditors() {
        table.setEditors(this);
        DefaultCellEditor textEditor = new TableStringEditor();
        setDefaultEditor(String.class, textEditor);
        setClickCountToStartEdit(1);
    }
View Full Code Here

        TableStyles.wide().makeOver(table);
        return new KongaRowTable(table);
    }

    private void installEditors(KongaTable table) {
        table.setCellEditorFor(Model.NAME, new TableStringEditor());
        table.setCellEditorFor(Model.DATA_TYPE, new TableEnumEditor(AttributeDataType.class));
        table.setCellEditorFor(Model.USE, new TableEnumEditor(AttributeUse.class));
        table.setCellEditorFor(Model.CARDINALITY, new TableEnumEditor(AttributeCardinality.class));
    }
View Full Code Here

    }

    private void customizeTable(KongaTable table) {
        table.setTerminateEditOnFocusLost(true);
        JndiContextTableRenderers.install(table);
        table.setDefaultEditor(String.class, new TableStringEditor());
        TableStyle style = TableStyles.normal();
        style.setGridMode(TableGridMode.BOTH);
        style.makeOver(table);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.table.TableStringEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.