Class CompoundDemoFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, DemoController
Direct Known Subclasses:
CardDemo, ChartDemos, DemoFrontend, FunctionsDemo, GroupingDemos, InvoiceDemo, LayoutDemo, MultiReportDemoCollection, OpenSourceDemo, PeopleReportDemo, SimpleBarcodesDemo, SparklineDemo, SubReportDemoCollection, SurveyScaleDemo, WorldDemo

public class CompoundDemoFrame extends AbstractDemoFrame
The CompoundDemoFrame provides a unified GUI which is able to present more than one demo. The Demos are selectable using a JTree component.
Author:
Thomas Morgner
See Also:
  • Constructor Details

    • CompoundDemoFrame

      public CompoundDemoFrame(DemoSelector demoSelector)
  • Method Details

    • getDemoSelector

      public DemoSelector getDemoSelector()
    • init

      protected void init()
    • setSelectedHandler

      protected void setSelectedHandler(DemoHandler handler)
    • getExternalHandlerInfoPane

      protected JComponent getExternalHandlerInfoPane()
    • createDescriptionTextPane

      protected JComponent createDescriptionTextPane(URL url)
    • getNoHandlerInfoPane

      protected JComponent getNoHandlerInfoPane()
    • getSelectedHandler

      public DemoHandler getSelectedHandler()
    • createDefaultContentPane

      protected Container createDefaultContentPane()
    • createDefaultDemoPane

      protected JComponent createDefaultDemoPane(InternalDemoHandler demoHandler)
    • attemptPreview

      protected void attemptPreview()
      Description copied from class: AbstractDemoFrame
      Handler method called by the preview action. This method should perform all operations to preview the report.
      Specified by:
      attemptPreview in class AbstractDemoFrame