Examples of KongaTable


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

    public void highlightFirstRow() {
        table.selectFirstRow();
    }

    private KongaRowTable createTable(Model<E> model, Class<E> objectClass) {
        KongaTable table = new KongaTable(model);
        table.setShowGrid(false);
        table.setTableHeader(null);
        table.getColumnModel().getColumn(0).setMaxWidth(30);
        table.setDefaultRenderer(Boolean.class, new BooleanRenderer());
        table.setDefaultRenderer(objectClass, new ObjectRenderer());
        table.setRendererPreparer(new RendererPreparerImpl());
        table.setTerminateEditOnFocusLost(true);
        registerKeyBindings(table);
        return new KongaRowTable(table);
    }
View Full Code Here

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

    }

    private KongaTable createTableDelegate(PluginDataElementTemplate[] elements) {
        PluginDataElementTableModel model = new PluginDataElementTableModel(elements);
        TableFactory factory = ComponentFactories.tableFactory();
        KongaTable delegate = factory.newSortedTable(model, 6);
        customizeTableDelegate(delegate);
        return delegate;
    }
View Full Code Here

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

        table = createTable();
    }

    private KongaRowTable createTable() {
        TableFactory factory = ComponentFactories.tableFactory();
        KongaTable raw = factory.newSortedTable(tableModel, 5);
        customizeTable(raw);
        return new KongaRowTable(raw);
    }
View Full Code Here

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

    public void requestFocus() {
        table.requestFocus();
    }

    public void installRelativePositionFilter(EnumSet<RelativePosition> positionsToInclude) {
        KongaTable t = table.getAdaptee();
        if (positionsToInclude.equals(EnumSet.allOf(RelativePosition.class))) {
            t.setRowFilter(null);
        } else {
            t.setRowFilter(new RelativePositionFilter(positionsToInclude));
        }
    }
View Full Code Here

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

        removeAction.setSelectionSource(table);
        responseModel.addPropertyChangeListener(new ResponseModelListener());
    }

    private KongaRowTable createTable() {
        KongaTable table = ComponentFactories.tableFactory().newTable(tableModel);
        installRenderersAndEditors(table);
        installTableStyle(table);
        installTableController(table);
        table.setVisibleRowCount(2);
        table.setTransferHandler(new OperationDropHandler());
        return new KongaRowTable(table);
    }
View Full Code Here

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

        controller = createController(table.getAdaptee());
    }

    private KongaRowTable createTable(DeployHistoryTableModel model) {
        TableFactory factory = ComponentFactories.tableFactory();
        KongaTable raw = factory.newSortedTable(model, 10);
        raw.setSortingStatus(DeployHistoryTableModel.DATE, SortOrder.DESCENDING);
        installRenderers(raw);
        updateStyle(raw);
        return new KongaRowTable(raw);
    }
View Full Code Here

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

        table = createTable(PluginTableModel.newAppliedPluginsModel(model));
    }

    private KongaRowTable createTable(PluginTableModel tableModel) {
        TableFactory factory = ComponentFactories.tableFactory();
        KongaTable raw = factory.newSortedTable(tableModel, 5);
        customizeTable(raw);
        return new KongaRowTable(raw);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.