Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.Grid.addAll()


        return overlay;
    }

    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();
    }
View Full Code Here


    }

    @Override
    public void decorate(UiCanvas canvas) {
        Grid grid = new Grid(1, 2, 5, 0);
        grid.addAll(requestTree, responseTree);
        grid.setPreferredSize(new Dimension(800, 400));
        grid.decorate(canvas);
    }

    @Override
View Full Code Here

            layoutSouth();
        }

        private void layoutNorth() {
            Grid grid = Grid.oneColumn(10);
            grid.addAll(rootSelector, InvisiblePanel.newPanel(nameFilterField));
            layout.north(grid);
        }

        private void layoutTable() {
            BorderLayoutBuilder tableLayout = new BorderLayoutBuilder(0, 5);
View Full Code Here

    private void addCaptions(BorderLayoutBuilder tablePanel) {
        JLabel mainCaption = TextStyles.InfoTextHeader.makeLabel(RESOURCES.getString("Caption.Dialog.Main"));
        JLabel subCaption = TextStyles.AdminHint.makeLabel(RESOURCES.getString("Caption.Dialog.Sub"));
        Grid grid = Grid.oneColumn(3);
        grid.addAll(mainCaption, subCaption);
        tablePanel.north(grid);
    }

    private void addTable(BorderLayoutBuilder tablePanel) {
        table = createTable();
View Full Code Here

    }

    @Override
    public void decorate(UiCanvas canvas) {
        Grid column = Grid.oneColumn(10);
        column.addAll(" ", applyButton, resetButton, viewEffectiveButton);
        column.decorate(canvas);
    }

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

    }

    @Override
    public void decorate(UiCanvas canvas) {
        Grid row = Grid.oneRow(10);
        row.addAll(tree, problemList);
        row.decorate(canvas);
    }

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

        left.setBorder(StyleSheet.getDefaultTitleBorder("Search Parameters"));
        JComponent right = BorderLayoutBuilder.fillWith(resultList);
        right.setBorder(StyleSheet.getDefaultTitleBorder("Matching Items"));
        right.setPreferredSize(new Dimension(150, 100));
        Grid grid = Grid.oneRow(10);
        grid.addAll(left, right);
        grid.decorate(canvas);
    }

    private JComponent layoutOptions() {
        JPanel p = InvisiblePanel.newPanel(optionsUi);
View Full Code Here

    }

    private UiProvider getAutoAssistPreferencesLayout() {
        Grid cols = Grid.oneColumn(10).setBorder(StyleSheet.getDefaultTitleBorder("Auto-Assist"));
        cols.add("Automatically insert matching character when typing:");
        cols.addAll(autoAssistParenthesisPreference, autoAssistDoubleQuotePreference, autoAssistSingleQuotePreference);
        JLabel notice = new JLabel("Changes do not affect currently open Scripts and Transformations",
                        CommonIcons.INFO_16, SwingConstants.LEADING);
        cols.add(notice);
        return cols;
    }
View Full Code Here

    }

    @Override
    public void decorate(UiCanvas canvas) {
        Grid quickSelectors = Grid.oneColumn(6);
        quickSelectors.addAll(
            new SelectAll(),
            new SelectSet("Unselect All", EnumSet.noneOf(LogStatus.class), "Unselect all log statuses"),
            new SelectSet("Completed", LogStatus.completed(),
                            "Include only those operations that have completed"),
            new SelectSet("Not Completed", LogStatus.stillInQueue(),
View Full Code Here

    private JComponent layoutLeftButtons() {
        Grid grid = Grid.oneRow(10);
        grid.setButtonStyle(WizardStyleSheet.SMALL_CAPTION_STYLE);
        grid.setUseMediumSizedIconsForActions(true);
        grid.addAll(openFromTableAction, new BrowseAction(), new SearchAction()).setOpaque(false);
        return InvisiblePanel.newPanel(grid);
    }

    @Override
    public void requestFocus() {
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.