Class PanelBuilder

java.lang.Object
ca.corbett.extras.demo.panels.PanelBuilder
Direct Known Subclasses:
AboutDemoPanel, AnimationScrollDemoPanel, AnimationTextDemoPanel, AudioDemoPanel, BasicFormPanel, CustomFormFieldPanel, DesktopDemoPanel, DirTreeDemoPanel, ExtensionsOverviewPanel, FormActionsPanel, FormHelpPanel, FormsOverviewPanel, FormsRendererPanel, FormsValidationPanel, ImageTextUtilDemoPanel, ImageUtilDemoPanel, IntroPanel, LogConsolePanel, ProgressDemoPanel, PropertiesDemoPanel

public abstract class PanelBuilder extends Object
Provides an easy abstract way to create new demo panels and load them into the DemoApp.
Since:
2025-03-11
Author:
scorbo2
  • Constructor Details

    • PanelBuilder

      public PanelBuilder()
  • Method Details

    • getTitle

      public abstract String getTitle()
      Returns a name for this PanelBuilder.
      Returns:
      A hopefully descriptive name.
    • build

      public abstract JPanel build()
      Builds and returns the FormPanel (or technically any JPanel) for this builder.
      Returns:
      A populated JPanel (or FormPanel).