Examples of TwoColumnPanel


Examples of org.jitterbit.ui.layout.TwoColumnPanel

            }
        });
    }

    private void layoutInputPanel() {
        TwoColumnPanel p = new TwoColumnPanel();
        p.setRightFill(TwoColumnPanel.HORIZONTAL);
        layoutNameField(p);
        structureTypeSelector.layout(p);
        p.setOpaque(false, true);
        inputPanel.wrap(p);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

        col.setBorder(Empty.border(10, 0, 10, 0));
        BorderLayoutBuilder.from(parent).north(col);
    }
   
    private void layoutTypePrefs(OneColumnPanel parent) {
        TwoColumnPanel grid = new TwoColumnPanel();
        grid.setRightFill(TwoColumnPanel.HORIZONTAL);
        grid.setRightWeights(1.0, 0.0);
        sourceTypeUi.layout(grid);
        targetTypeUi.layout(grid);
        parent.add(grid);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    private void updateIgnoreCaseEnabled() {
        ignoreCaseChoice.setEnabled(!regExChoice.isSelected());
    }
   
    private void doLayout() {
        TwoColumnPanel grid = new TwoColumnPanel();
        grid.setInsets(0, 0, 10, 5);
        ignoreCaseChoice.layoutIn(grid);
        regExChoice.layoutIn(grid);
        wrap(grid);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

        undoRedo = new InputPanelUndoRedoEnabler(inputPanel, fields);
        grid.addRow(fields, null);
    }

    private JComponent layoutFields() {
        TwoColumnPanel panel = LayoutUtils.getDetailsViewerLayout();
        panel.addRow(nameField.getLabel(), nameField.getInputComponent());
        KongaButton descriptionButton = new KongaButton(descriptionAction);
        descriptionAction.setTrigger(descriptionButton);
        panel.addRow(null, InvisiblePanel.newPanel(descriptionButton));
        panel.setAnchor(Anchor.NORTHWEST).setRightFill(Fill.BOTH).setRightWeights(1.0, 1.0);
        panel.addRow(new JLabel("Members"), BorderLayoutBuilder.fillWith(memberList));
        panel.setRightFill(Fill.NONE).setRightWeights(0.0, 0.0);
        BoxBuilder buttons = BoxBuilder.horizontal();
        buttons.setUseSmallSizedIconsForActions(true);
        buttons.addAllWithSpace(10, addMemberAction, removeMemberAction);
        panel.addRow(null, InvisiblePanel.newPanel(buttons));
        return new BorderLayoutBuilder().north(panel).container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

final class LayoutUtils {

    public static final int DETAIL_FIELD_WIDTH = 30;
   
    public static TwoColumnPanel getDetailsViewerLayout() {
        TwoColumnPanel panel = new TwoColumnPanel();
        panel.setLeftInsets(0, 0, 5, 5).setRightInsets(0, 0, 5, 0);
        panel.setAnchor(Anchor.WEST).setRightFill(Fill.HORIZONTAL).setRightWeights(1.0, 0.0);
        return panel;
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    public JComponent getUi() {
        return pageArea.container();
    }

    private TwoColumnPanel layoutView(UserConsoleView view, Action[] modelActions) {
        TwoColumnPanel center = new TwoColumnPanel();
        center.setLeftInsets(0, 0, 0, 10).setRightInsets(0, 0, 0, 0);
        center.setLeftWeights(0.5, 0.0).setRightWeights(0.5, 1.0);
        center.setLeftFill(Fill.HORIZONTAL).setRightFill(Fill.BOTH);
        center.setAnchor(Anchor.NORTHWEST);
        center.addRow(layoutLeftPartOfViewerArea(view.getUsersAndGroupsViewer(), modelActions),
                        view.getDetailsViewer());
        return center;
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    private void doLayout() {
        Layout layout = getDefaultLayout();
        layout.addToTopGrid(urlPanel.getLabel(), urlPanel.getFieldForLayout());
        BorderLayoutBuilder blb = new BorderLayoutBuilder(0, 8);
        blb.center(opSelectorPanel);
        TwoColumnPanel grid = new TwoColumnPanel();
        grid.setLeftFill(Fill.BOTH);
        grid.setRightFill(Fill.BOTH);
        grid.setRightWeights(1.0, 0.0);
        grid.addRow(requestPanel, responsePanel);
        blb.south(grid);
        layout.add(blb, true);
        UiUtils.setOpaqueRecursivelySkipDefaults(getUi(), false);
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    private class Layout {

        private final TwoColumnPanel layout;

        public Layout() {
            layout = new TwoColumnPanel();
            layout.setBorder(Empty.border(10));
            layout.setLeftInsets(0, 0, 10, 10);
            layout.setRightInsets(0, 0, 10, 0);
            layout.setRightWeights(1.0, 0.0);
            nameField.layoutIn(layout);
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

    private KongaTextField getNameField() {
        return fields.get("userName").getWidget();
    }

    private JComponent layoutFields() {
        TwoColumnPanel panel = LayoutUtils.getDetailsViewerLayout();
        for (Field f : fields.values()) {
            panel.addRow(f.getLabel(), f.getWidget());
            if (f.getProperty().equals("userName")) {
                layoutPasswordButton(panel);
            }
        }
        panel.setAnchor(Anchor.NORTHWEST);
        panel.setRightWeights(1.0, 1.0).setRightFill(Fill.BOTH);
        panel.addRow(new JLabel("Member of"), BorderLayoutBuilder.fillWith(groupList));
        panel.setRightFill(Fill.NONE).setRightWeights(0.0, 0.0);
        BoxBuilder buttons = BoxBuilder.horizontal();
        buttons.setUseSmallSizedIconsForActions(true);
        buttons.addAllWithSpace(10, addToGroupAction, removeFromGroupAction);
        panel.addRow(null, InvisiblePanel.newPanel(buttons));
        return new BorderLayoutBuilder().north(panel).container();
    }
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel

            col.setOpaque(false, true);
            col.setFocusCycleRoot(true);
        }

        private void layoutTypeSelector() {
            TwoColumnPanel grid = layoutTop();
            col.add(grid);
            col.add(entityTypeDropDown.getDisplayer());
        }
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.