Package org.jitterbit.ui.widget.label

Examples of org.jitterbit.ui.widget.label.HtmlLabel


        }

        private JLabel createCaption() {
            String msg = "This change may conflict with unsaved changes in the operation graph \"" +
                otherPage.getObject().getName() + "\".\n\nWhat do you want to do?";
            return new HtmlLabel(msg);
        }
View Full Code Here


                if (message instanceof UiProvider) {
                    col.add((UiProvider) message);
                } else if (message instanceof Component) {
                    col.add((Component) message);
                } else {
                    col.add(new HtmlLabel(message.toString(), 400));
                }
                col.setInsets(0, 0, 0, 0);
                col.add(doNotShowAgainCheck);
                col.decorate(canvas);
            }
View Full Code Here

        }
    }

    private static Object getDisplayObjectFromString(String s) {
        if (USE_HTML) {
            return new HtmlLabel(s, MAX_WIDTH);
        } else {
            return createTextArea(s);
        }
    }
View Full Code Here

        private UiProvider createLayout() {
            IntegrationEntityList list = new IntegrationEntityList(transformations);
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 3);
            String caption = "You are about to change the structure of this text document. " +
                "The following transformations must be refreshed in order for the new structure to be applied.";
            layout.north(new HtmlLabel(caption, 400)).center(list);
            return layout;
        }
View Full Code Here

       
        private final HtmlLabel bottom;
       
        public ItemUi(Collection<? extends IntegrationEntity> items, String top, String bottom) {
            list = new IntegrationEntityList(items);
            this.top = new HtmlLabel(top, 400);
            this.bottom = (bottom != null) ? new HtmlLabel(bottom, 400) : null;
        }
View Full Code Here

        }

        private Object createCaption() {
            JLabel header = TextStyles.InfoTextHeader.makeLabel(getString("Move.ConflictDialog.Header"));
            header.setIcon(CommonIcons.WARNING_16);
            HtmlLabel message = new HtmlLabel(format("Move.ConflictDialog.Message", newOwner.getName(), itemToMove.getName()), 400);
            JLabel question = new JLabel(getString("Move.ConflictDialog.Question"));
            BoxBuilder column = BoxBuilder.vertical();
            column.addAllWithSpace(10, header, message, question);
            column.leftAligned();
            column.setBorder(new BorderBuilder().etched().empty(5));
View Full Code Here

    private UiProvider layoutCaption() {
        JLabel top = TextStyles.InfoTextHeader.makeLabel(Strings.get("EntityPage.Dependencies.Displayer.Title"));
        top.setIcon(ClientIcons.DEPENDENT_ITEMS_16);
        String caption = Strings.get("EntityPage.Dependencies.Displayer.Caption");
        HtmlLabel label = new HtmlLabel(caption, 300);
        BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
        layout.north(top).center(label);
        layout.setBackground(Color.WHITE).setBorder(new BorderBuilder().line().empty(5));
        return layout;
    }
View Full Code Here

            return doNotShowAgain.isSelected();
        }

        @Override
        public void decorate(UiCanvas canvas) {
            JLabel label = new HtmlLabel(message, 400);
            new BorderLayoutBuilder(0, 5).north(label).south(doNotShowAgain).decorate(canvas);
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.label.HtmlLabel

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.