Class DefaultReportController

    • Constructor Detail

      • DefaultReportController

        public DefaultReportController()
        Creates a new JPanel with a double buffer and a flow layout.
    • Method Detail

      • getControlPanel

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

        Changes to this property are not detected automaticly, you have to call "refreshControler" whenever you want to display a completly new control panel.

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

        public JMenu[] getMenus()
        The default implementation has no menus.
        Specified by:
        getMenus in interface ReportController
        Returns:
        an empty array.
      • getControllerLocation

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

        public boolean isInnerComponent()
        Defines, whether the controler component is placed between the report pane and the toolbar.
        Specified by:
        isInnerComponent in interface ReportController
        Returns:
        true, if this is a inne component.