Package org.jitterbit.application.ui.widget

Examples of org.jitterbit.application.ui.widget.HtmlDisplayer


            layout.north(PackageResources.DocumentationDisplayer.getCaption(opInfo)).center(getTextBox(documentation));
            return layout;
        }
       
        protected final JComponent getTextBox(String documentation) {
            JTextComponent tc = new HtmlDisplayer();
            tc.setText(documentation);
            tc.setCaretPosition(0);
            tc.setPreferredSize(new Dimension(300, 250));
            return BorderLayoutBuilder.fillWith(tc);
        }
View Full Code Here


     * Creates a <code>FunctionHelpLayout</code> for the given function.
     *
     */
    public FunctionHelpLayout(Function fcn) {
        header = TextStyles.DefaultBoldLarger.makeLabel(fcn.getName());
        displayer = new HtmlDisplayer();
        setPreferredSize(new Dimension(400, 400));
        displayer.setText(new FunctionHelpHtml(fcn).getFullDocumentation());
        displayer.setCaretPosition(0);
    }
View Full Code Here

        w.show();
        return w;
    }

    private JComponent createHtmlDisplayer(String info) {
        JEditorPane pane = new HtmlDisplayer();
        pane.setText(info);
        pane.setCaretPosition(0);
        pane.setBackground(new Color(255, 255, 204));
        return pane;
    }
View Full Code Here

    private final JEditorPane editorPane;

    private final FindInMessageSupport findSupport;

    public HtmlLogMessageDisplayer() {
        editorPane = new HtmlDisplayer();
        KongaTextComponentCustomizer.customize(editorPane);
        findSupport = new FindInMessageSupport(editorPane);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.widget.HtmlDisplayer

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.