Package org.jitterbit.ui.layout

Examples of org.jitterbit.ui.layout.BorderLayoutBuilder.decorate()


    @Override
    public final void decorate(UiCanvas canvas) {
        BorderLayoutBuilder cp = new BorderLayoutBuilder(0, 10);
        cp.north(getCaption()).center(getOptions());
        cp.decorate(canvas);
    }

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


       
        @Override
        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10);
            layout.northToSouth(top, list, bottom);
            layout.decorate(canvas);
        }

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

        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        JLabel caption = new JLabel("Another test is running.");
        caption.setIcon(CommonIcons.WARNING_24);
        layout.northToSouth(caption,
                        sessionDescription, "What do you want to do?");
        layout.decorate(canvas);
    }

    private Action createActionWrapper(String id, ActionListener handler, KongaDialog dialog) {
        ActionWrapper a = new ActionWrapper(dialog, handler);
        ActionDecorators.decorateFromDictionary(a, DebugActionDictionary.DICTIONARY, id);
View Full Code Here

            layout.center(cards);
            BoxBuilder tabRow = BoxBuilder.horizontal().topAligned();
            tabRow.setBorder(Empty.border(0, 8, 16, 0)).setOpaque(true).setBackground(Colors.JITTERBIT_BLUE);
            tabRow.addAllWithSpace(TAB_GAP, tabs);
            layout.south(tabRow);
            layout.decorate(canvas);
        }

        @Override
        public void requestFocus() {
            tabs.get(0).requestFocusInWindow();
View Full Code Here

       
        @Override
        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder p = new BorderLayoutBuilder(0, 10);
            p.northToSouth(PackageResources.DeleteConfirmer.MESSAGE, tree, doNotShowAgainCheck);
            p.decorate(canvas);
        }

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

    private void layoutWithFilterFieldButNoToolbar(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(5, 10);
        TreeFilterField filterField = createFilterField(treeFilterFunction);
        layout.center(tree).south(filterField);
        layout.decorate(canvas);
    }

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

        @Override
        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder p = new BorderLayoutBuilder(0, 10);
            p.north(basicDetails).center(dataTree);
            p.decorate(canvas);
        }

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

        @Override
        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder p = new BorderLayoutBuilder(10, 10);
            p.north(basicDetails).east(dataTree).center(warningsUi);
            p.decorate(canvas);
        }

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

        @Override
        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder p = new BorderLayoutBuilder(0, 10);
            p.north(basicDetails).center(dataTree).south(getMessageArea());
            p.decorate(canvas);
        }

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

    @Override
    public void decorate(UiCanvas canvas) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        layout.north(caption).center(table.asUiProvider());
        layout.decorate(canvas);
    }

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