Class ParameterReportController

  • All Implemented Interfaces:

    public class ParameterReportController
    extends Object
    implements ReportController
    The default controller for all reports (unless redefined by the user). This controller is responsible for providing a parameter-UI for the reports.
    Thomas Morgner
    • Constructor Detail

      • ParameterReportController

        public ParameterReportController()
    • Method Detail

      • getPreviewPane

        protected PreviewPane getPreviewPane()
      • getControlPanel

        public JComponent getControlPanel()
        Returns the graphical representation of the controller. This component will be added between the menu bar and the toolbar.

        Changes to this property are not detected automatically, you have to call "refreshController" whenever you want to display a completely new control panel.

        Specified by:
        getControlPanel in interface ReportController
        the controller component.
      • getMenus

        public JMenu[] getMenus()
        Returns the menus that should be inserted into the menubar.

        Changes to this property are not detected automatically, you have to call "refreshControler" whenever the contents of the menu array changed.

        Specified by:
        getMenus in interface ReportController
        the menus as array, never null.
      • isInnerComponent

        public boolean isInnerComponent()
        Defines, whether the controller component is placed between the preview pane and the toolbar.
        Specified by:
        isInnerComponent in interface ReportController
        true, if this is a inner component.
      • getControllerLocation

        public String getControllerLocation()
        Returns the location for the report controller, one of BorderLayout.NORTH, BorderLayout.SOUTH, BorderLayout.EAST or BorderLayout.WEST.
        Specified by:
        getControllerLocation in interface ReportController
        the location;