Class JHtmlPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class JHtmlPane extends JTextPane
Since:
18.2
See Also:
  • Constructor Details

    • JHtmlPane

      public JHtmlPane()
    • JHtmlPane

      public JHtmlPane(String htmlText)
    • JHtmlPane

      public JHtmlPane(String htmlText, int relFontSize)
  • Method Details

    • setHtmlText

      public void setHtmlText(String htmlText)
    • setText

      public void setText(String t)
      Overrides:
      setText in class JEditorPane
    • setHtmlText

      public void setHtmlText(String htmlText, int relFontSize)
    • hashCode

      public int hashCode()
      Overridden to bring the hashCode of the embedded text in order to make "remember" methods of JNotification work
      Overrides:
      hashCode in class Object
      Returns:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Component