Class HTMLPanel

    • Field Detail

      • okButton

        protected JButton okButton
    • Constructor Detail

      • HTMLPanel

        public HTMLPanel()
    • Method Detail

      • addField

        public void addField​(String label,
                             String value)
      • setEditorPaneText

        protected void setEditorPaneText()
      • append

        public void append​(String html)
        Appends HTML text to the frame.
        Parameters:
        html - the HTML to append
      • addText

        public void addText​(String text)
        Appends non-HTML text to the frame. Text is assumed to be non-HTML, and is HTML-escaped to avoid control-char conflict.
        Parameters:
        text -
      • addHeader

        public void addHeader​(int level,
                              String text)
        Parameters:
        level - 1, 2, 3, ...
      • getOKButton

        public JButton getOKButton()
      • setRecordNavigationControlVisible

        public void setRecordNavigationControlVisible​(boolean visible)
      • scrollToTop

        public void scrollToTop()
      • createNewDocument

        public void createNewDocument()
      • getBackgroundColor

        public Color getBackgroundColor()
      • setBackgroundColor

        public void setBackgroundColor​(Color color)