Class DescriptionPanel

    • Field Detail

      • m_TextDescription

        protected BaseTextPane m_TextDescription
        the description of the page.
      • m_ScrollPaneDescription

        protected BaseScrollPane m_ScrollPaneDescription
        the scroll pane for the description.
    • Constructor Detail

      • DescriptionPanel

        public DescriptionPanel()
        Initializes the panel.
      • DescriptionPanel

        public DescriptionPanel​(LayoutManager manager)
        Initializes the panel with the given layout.
        Parameters:
        manager - the layout manager to use
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • setDescription

        public void setDescription​(String value,
                                   boolean isHtml)
        Sets the description of the page.
        Parameters:
        value - the description
        isHtml - if true then text is interpreted as HTML 3
      • getDescription

        public String getDescription()
        Returns the description of the page.
        Returns:
        the description (may be html)
      • setDescriptionHeight

        public void setDescriptionHeight​(int value)
        Sets the preferred height of the description box.
        Parameters:
        value - the new height in pixel
      • getDescriptionHeight

        public int getDescriptionHeight()
        Returns the preferred height of the description box.
        Returns:
        the height in pixel