Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.TwoColumnPanel.addRow()


        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;
    }

    private void doBrowse() {
        File projectLocation = null;
View Full Code Here


        TwoColumnPanel grid = new TwoColumnPanel();
        grid.setLeftInsets(0, 0, 20, 10);
        grid.setRightInsets(0, 0, 20, 0);
        grid.setRightFill(TwoColumnPanel.HORIZONTAL);
        grid.setRightWeights(1.0, 0.0);
        grid.addRow(nameField.getLabel(), nameField.getInputComponent());
        grid.addRow(new JLabel(Strings.get("ExpandedOptions.Activity")), typeSelector);
        col.add(grid);
    }

    private void checkSchedulable(DropDownPanel p) {
View Full Code Here

        grid.setLeftInsets(0, 0, 20, 10);
        grid.setRightInsets(0, 0, 20, 0);
        grid.setRightFill(TwoColumnPanel.HORIZONTAL);
        grid.setRightWeights(1.0, 0.0);
        grid.addRow(nameField.getLabel(), nameField.getInputComponent());
        grid.addRow(new JLabel(Strings.get("ExpandedOptions.Activity")), typeSelector);
        col.add(grid);
    }

    private void checkSchedulable(DropDownPanel p) {
        boolean enabled = opNode.getDataObject().isSchedulable();
View Full Code Here

        TwoColumnPanel grid = new TwoColumnPanel();
        grid.setInsets(0, 0, 20, 5);
        grid.setRightWeights(1.0, 0.0);
        monitorPreferenceUi.layout(grid);
        viewModePreferenceUi.layout(grid);
        grid.addRow(writeToConsoleUi);
        grid.setBorder(Empty.border(10));
        BorderLayoutBuilder.from(parent).north(grid);
    }

View Full Code Here

        TwoColumnPanel p = new TwoColumnPanel();
        p.setRightAnchor(TwoColumnPanel.SOUTHWEST);
        p.setLeftWeights(1.0, 0.0).setLeftFill(Fill.HORIZONTAL);
        BoxBuilder quickButtons = BoxBuilder.horizontal();
        quickButtons.addAllWithSpace(5, todayButton, lastDaysButton, lastHoursButton);
        p.addRow(InvisiblePanel.newPanel(quickButtons));
        p.addRow(InputFieldFactory.getCapsule(startField), startButton);
        p.addRow(InputFieldFactory.getCapsule(endField), endButton);
        inputPanel.wrap(p);
    }
View Full Code Here

        p.setRightAnchor(TwoColumnPanel.SOUTHWEST);
        p.setLeftWeights(1.0, 0.0).setLeftFill(Fill.HORIZONTAL);
        BoxBuilder quickButtons = BoxBuilder.horizontal();
        quickButtons.addAllWithSpace(5, todayButton, lastDaysButton, lastHoursButton);
        p.addRow(InvisiblePanel.newPanel(quickButtons));
        p.addRow(InputFieldFactory.getCapsule(startField), startButton);
        p.addRow(InputFieldFactory.getCapsule(endField), endButton);
        inputPanel.wrap(p);
    }

    /**
 
View Full Code Here

        p.setLeftWeights(1.0, 0.0).setLeftFill(Fill.HORIZONTAL);
        BoxBuilder quickButtons = BoxBuilder.horizontal();
        quickButtons.addAllWithSpace(5, todayButton, lastDaysButton, lastHoursButton);
        p.addRow(InvisiblePanel.newPanel(quickButtons));
        p.addRow(InputFieldFactory.getCapsule(startField), startButton);
        p.addRow(InputFieldFactory.getCapsule(endField), endButton);
        inputPanel.wrap(p);
    }

    /**
     * Retrieves the specified start time.
View Full Code Here

        private JComponent layoutFields() {
            TwoColumnPanel grid = new TwoColumnPanel();
            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

            TwoColumnPanel grid = new TwoColumnPanel();
            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

            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();
        }

        private String getOldValueString() {
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.