Class DemoReportController

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible, org.pentaho.reporting.engine.classic.core.modules.gui.base.ReportController

    public class DemoReportController
    extends org.pentaho.reporting.engine.classic.core.modules.gui.base.DefaultReportController
    The DemoReportControler is a simple report controler implementation which allows to modify two report properties from within the preview frame.
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • DemoReportController

        public DemoReportController()
    • Method Detail

      • getPreviewPane

        public org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane getPreviewPane()
      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets whether or not this component is enabled. A component that is enabled may respond to user input, while a component that is not enabled cannot respond to user input. Some components may alter their visual representation when they are disabled in order to provide feedback to the user that they cannot take input.

        Note: Disabling a component does not disable it's children.

        Note: Disabling a lightweight component does not prevent it from receiving MouseEvents.

        Overrides:
        setEnabled in class JComponent
        Parameters:
        enabled - true if this component should be enabled, false otherwise
        See Also:
        Component.isEnabled(), Component.isLightweight()
      • initialize

        public void initialize​(org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane pane)
        Specified by:
        initialize in interface org.pentaho.reporting.engine.classic.core.modules.gui.base.ReportController
        Overrides:
        initialize in class org.pentaho.reporting.engine.classic.core.modules.gui.base.DefaultReportController
      • deinitialize

        public void deinitialize​(org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane pane)
        Called when the report controller gets removed.
        Specified by:
        deinitialize in interface org.pentaho.reporting.engine.classic.core.modules.gui.base.ReportController
        Overrides:
        deinitialize in class org.pentaho.reporting.engine.classic.core.modules.gui.base.DefaultReportController
        Parameters:
        pane -