Class BaseHtmlEditorPane

    • Constructor Detail

      • BaseHtmlEditorPane

        public BaseHtmlEditorPane()
        Default constructor.
      • BaseHtmlEditorPane

        public BaseHtmlEditorPane​(URL url)
                           throws IOException
        Initializes the pane and loads the specified page.
        Parameters:
        url - the page to load
        Throws:
        IOException - if loading the page fails
      • BaseHtmlEditorPane

        public BaseHtmlEditorPane​(String url)
                           throws IOException
        Initializes the pane and loads the specified page.
        Parameters:
        url - the page to load
        Throws:
        IOException - if loading the page fails
      • BaseHtmlEditorPane

        public BaseHtmlEditorPane​(String type,
                                  String text)
        Initializes the pane with the specified mimetype and text.
        Parameters:
        type - the mimetype
        text - the text to display
    • Method Detail

      • addCSS

        public void addCSS​(BaseString[] rules)
        Sets the CSS style sheet rules.
        Parameters:
        rules - the rules
      • addCSS

        public void addCSS​(String[] rules)
        Sets the CSS style sheet rules.
        Parameters:
        rules - the rules
      • addDefaultHyperlinkListener

        public void addDefaultHyperlinkListener()
        Adds the default hyperlink listener.
      • removeDefaultHyperlinkListener

        public void removeDefaultHyperlinkListener()
        Removes the default hyperlink listener.