com.jgoodies.metamorphosis
Class IntroPageView

java.lang.Object
  extended by com.jgoodies.metamorphosis.IntroPageView

final class IntroPageView
extends Object

Builds the Metamorphosis intro panel and provides the animation.

Author:
Karsten Lentzsch

Field Summary
private  com.jgoodies.animation.Animation animation
           
private  com.jgoodies.animation.components.GlyphLabel glyphLabel
           
private  com.jgoodies.animation.components.BasicTextLabel label1
           
private  com.jgoodies.animation.components.BasicTextLabel label2
           
private  Metamorphosis metamorphosis
           
private  JButton skipButton
           
 
Constructor Summary
IntroPageView(Metamorphosis metamorphosis)
          Constructs an IntroPanel for a given Metamorphosis instance.
 
Method Summary
(package private)  com.jgoodies.animation.Animation animation()
          Returns the intro animation.
(package private)  Component build()
          Builds and answers the intro panel.
private  com.jgoodies.animation.Animation createAnimation()
          Creates and answers a composed animation for the intro.
private  Component createColoredBar()
          Creates and answers a gray bar.
private  void goToStart()
          Goes to the start panel.
private  void initComponents()
          Creates and configures the UI components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metamorphosis

private final Metamorphosis metamorphosis

label1

private com.jgoodies.animation.components.BasicTextLabel label1

label2

private com.jgoodies.animation.components.BasicTextLabel label2

glyphLabel

private com.jgoodies.animation.components.GlyphLabel glyphLabel

skipButton

private JButton skipButton

animation

private com.jgoodies.animation.Animation animation
Constructor Detail

IntroPageView

IntroPageView(Metamorphosis metamorphosis)
Constructs an IntroPanel for a given Metamorphosis instance.

Method Detail

animation

com.jgoodies.animation.Animation animation()
Returns the intro animation.


initComponents

private void initComponents()
Creates and configures the UI components.


build

Component build()
Builds and answers the intro panel.


createColoredBar

private Component createColoredBar()
Creates and answers a gray bar.


createAnimation

private com.jgoodies.animation.Animation createAnimation()
Creates and answers a composed animation for the intro.


goToStart

private void goToStart()
Goes to the start panel.



Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.