Class AnimationScrollDemoPanel

java.lang.Object
ca.corbett.extras.demo.panels.PanelBuilder
ca.corbett.extras.demo.panels.AnimationScrollDemoPanel

public class AnimationScrollDemoPanel extends PanelBuilder
A demo panel to show off the ImageScroller class.

I'm hesitant to include this in the swing-extras demo app, as this really has nothing to do with Swing... and also because the ImageScroller class was more intended for fullscreen animations, and not for use in a Swing container. But, it's kind of neat, so here we go.

Author:
scorbo2
  • Constructor Details

    • AnimationScrollDemoPanel

      public AnimationScrollDemoPanel()
  • Method Details

    • getTitle

      public String getTitle()
      Description copied from class: PanelBuilder
      Returns a name for this PanelBuilder.
      Specified by:
      getTitle in class PanelBuilder
      Returns:
      A hopefully descriptive name.
    • build

      public JPanel build()
      Description copied from class: PanelBuilder
      Builds and returns the FormPanel (or technically any JPanel) for this builder.
      Specified by:
      build in class PanelBuilder
      Returns:
      A populated JPanel (or FormPanel).