Package org.jitterbit.ui

Examples of org.jitterbit.ui.UiProviderAdapter


    }

    @Override
    public UiProvider asUiProvider() {
        if (label == null) {
            return new UiProviderAdapter(this);
        }
        return new BorderLayoutBuilder(0, 3).north(label).center(this);
    }
View Full Code Here


            public boolean accept(Component t) {
                t.setMinimumSize(new Dimension(1, 1));
                return !(t instanceof JTable);
            }
        });
        split.split(deWidget, new UiProviderAdapter(c));
        canvas.display(split);
    }
View Full Code Here

            row.setLeftWeights(0.0, 0.0);
            row.setLeftInsets(0, 0, 0, 10);
            row.setRightWeights(1.0, 0.0);
            row.setLeftFill(Fill.NONE);
            row.setRightFill(Fill.HORIZONTAL);
            row.addRow(new UiProviderAdapter(downloadButton), filterDefiner);
            components.add(row);
        }
View Full Code Here

        layout.addRow(nameField.asUiProvider());
        locationField.setLabel(getString("LocationBrowser.Label.Path"));
        layout.setRightAnchor(TwoColumnPanel.SOUTHEAST);
        layout.setLeftInsets(0, 0, 0, 10);
        layout.setRightInsets(0, 0, 0, 0);
        layout.addRow(locationField.asUiProvider(), new UiProviderAdapter(browseButton));
        return layout;
    }
View Full Code Here

        grid.setLeftInsets(0, 0, gap, 10);
        grid.setRightInsets(0, 0, gap, 0);
    }

    public void addSection(String title, JComponent ui) {
        addSection(title, new UiProviderAdapter(ui));
    }
View Full Code Here

     *            to be re-typed into the second field to protect against typos.
     * @return an array of <tt>char</tt> holding the defined password, or <tt>null</tt> if the
     *         dialog was cancelled.
     */
    public static char[] definePassword(Window owner, String caption, boolean includeReTypeField) {
        UiProvider captionUi = StringUtils.isBlank(caption) ? null : new UiProviderAdapter(new JLabel(caption));
        return definePassword(owner, captionUi, includeReTypeField);
    }
View Full Code Here

            grid.setLeftFill(Fill.NONE).setLeftWeights(0.0, 0.0).setLeftInsets(0, 0, 5, 10);
            grid.setRightFill(Fill.HORIZONTAL).setRightWeights(1.0, 0.0).setRightInsets(0, 0, 5, 0);
            grid.addRow(TextStyles.AdminHintBold.makeLabel(replaceField.getProperty().getName()));
            String oldValue = getOldValueString();
            grid.addRow(new JLabel("Old value:"), new JLabel(oldValue));
            grid.addRow(new UiProviderAdapter(new JLabel("Replace value:")), replaceField);
            grid.addRow(new KongaButton(replaceAction), null);
            return grid.getUi();
        }
View Full Code Here

     * for source files.
     *
     */
    public UiProvider getIgnoreLineFieldsForLayout() {
        verifySourceOnlyFunctionality();
        return new UiProviderAdapter(ignoreLinesPanel.getUi());
    }
View Full Code Here

     * Returns a <code>UiProvider</code> view of this field for layout purposes.
     *
     */
    public final UiProvider asUiProvider() {
        JComponent c = InputFieldFactory.getCapsule(this);
        return new UiProviderAdapter(c);
    }
View Full Code Here

     * Returns a <code>UiProvider</code> view of this file filter field for layout purposes.
     *
     */
    public UiProvider asUiProvider() {
        JComponent c = InputFieldFactory.getCapsule(field);
        return new UiProviderAdapter(c);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.UiProviderAdapter

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.