Class PreviewPanel

    • Field Detail

      • m_Component

        protected JComponent m_Component
        the component.
      • m_Content

        protected JComponent m_Content
        the actual content.
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • getComponent

        public JComponent getComponent()
        Returns the component.
        Returns:
        the component
      • setContent

        public void setContent​(JComponent value)
        Sets the actual content.
        Parameters:
        value - the content
      • getContent

        public JComponent getContent()
        Returns the actual content. E.g., a BaseTextArea without the surrounding BaseScrollPane.

        The default implementation returns simply this panel.
        Returns:
        the actual content.
        See Also:
        m_Content
      • cleanUp

        public void cleanUp()
        Cleans up data structures, frees up memory.
        Specified by:
        cleanUp in interface CleanUpHandler