Examples of container()


Examples of org.jitterbit.ui.layout.BoxBuilder.container()

    private JComponent createOverlayButtons(OverlayDecorator overlay, Action okAction) {
        Grid buttons = Grid.oneRow(10);
        buttons.addAll(okAction, overlay.getCancelAction());
        BoxBuilder row = BoxBuilder.horizontal();
        row.glue().add(buttons);
        return row.container();
    }

    private void installShortcuts(OverlayDecorator overlay) {
        if (CancelFormulaBuilderOnEscapePreference.get()) {
            overlay.installOkAndCancelShortCuts();
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

        p.addRow(soapAction, binding);
        BoxBuilder row = BoxBuilder.vertical();
        row.addAllWithSpace(5, TextStyles.AdminHint.makeLabel(Strings.get("Page.Label.StructureChange")), editWsdlButton);
        JComponent operation = InputFieldFactory.getLabeledComponent(
                        operationField, Strings.get("Page.Label.Operation"));
        p.addRow(row.container(), operation);
        addAdvancedPropertiesButton(p);
        wrap(p);
    }

    private void addAdvancedPropertiesButton(TwoColumnPanel p) {
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

    }

    private JComponent layoutButtons() {
        BoxBuilder col = BoxBuilder.vertical();
        col.glue().addAllWithSpace(10, selectTablesAction, removeTablesAction).glue();
        return col.container();
    }

    @Override
    public void requestFocus() {
        availableTables.requestFocus();
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

    public static JComponent getDefaultCaption() {
        BoxBuilder caption = BoxBuilder.horizontal();
        JLabel global = new JLabel("= global", DataElementIcons.GLOBAL, SwingConstants.LEADING);
        JLabel source = new JLabel("= source", DataElementIcons.SOURCE, SwingConstants.LEADING);
        caption.addAllWithSpace(10, "Data Elements", global, source);
        return caption.container();
    }

    private void updateTable() {
        tableModel = new DataElementTableModel(dataElements.getDataElements());
        applyNewModel();
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

    private JComponent createToolbar(JButton... buttons) {
        BoxBuilder toolbar = BoxBuilder.horizontal().setOpaque(false);
        toolbar.addAllWithSpace(5, buttons);
        Border border = new RoundedBorder(6, 6, Color.GRAY);
        toolbar.setBorder(border);
        return toolbar.container();
    }

    @Override
    public void requestFocus() {
        sourceTree.requestFocusInWindow();
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

        col.addAllWithSpace(10, filterUis);
        if (useScrollPane()) {
            return wrapInScrollPane(col);
        } else {
            col.setBorder(new BorderBuilder().line().empty(9));
            return col.container();
        }
    }

    private JComponent wrapInScrollPane(BoxBuilder col) {
        col.setOpaqueRecursively(false);
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

    }

    public JComponent getUi() {
        BoxBuilder row = BoxBuilder.horizontal();
        row.addAll("Filter: ", field).setOpaque(false);
        return row.container();
    }

    @Override
    public void decorate(UiCanvas canvas) {
        canvas.display(getUi());
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

   
    public JComponent getUi() {
        BoxBuilder ui = BoxBuilder.horizontal();
        ui.addAllWithSpace(10, menuBar, toolbar);
        ui.setBorder(new BorderBuilder().etched());
        return ui.container();
    }

    private void updateContributions(Object[] selection) {
        for (OperationGraphToolbarContribution c : contributions) {
            c.selectionChanged(selection);
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

    private JComponent createDisplayer() {
        BoxBuilder col = BoxBuilder.vertical().leftAligned();
        col.addAllWithSpace(10, layoutEncryptionSection(), layoutOptionsSection());
        col.setBorder(new BorderBuilder().empty(8, 32, 0, 0).titled(null));
        DropDownPanel dropDown = new DropDownPanel(col.container(), Strings.get("Options"), false);
        dropDown.decorateTitle(WizardStyleSheet.MEDIUM_CAPTION_STYLE);
        return dropDown.getDisplayer();
    }

    private UiProvider layoutEncryptionSection() {
View Full Code Here

Examples of org.jitterbit.ui.layout.BoxBuilder.container()

    private JComponent layoutToggleButtons() {
        JComponent sectionToggles = sectionSplit.getControlPanel();
        JComponent testToggle = topBottomToggle.getToggle();
        BoxBuilder col = BoxBuilder.vertical().leftAligned().setOpaque(false);
        col.add(sectionToggles).glue().add(testToggle);
        return col.container();
    }

    @Override
    protected void postDisplay() {
        if (sectionSplit != null && !sectionSplit.isEmpty()) {
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.