|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.metamorphosis.StartPageView
final class StartPageView
Builds the Metamorphosis start panel and provides the fan animation.
Field Summary | |
---|---|
private com.jgoodies.animation.Animator |
animator
|
private List<JButton> |
buttons
|
private com.jgoodies.animation.components.FanComponent |
fan
|
private com.jgoodies.animation.components.GlyphLabel |
glyphLabel
|
private com.jgoodies.animation.components.BasicTextLabel |
label1
|
private com.jgoodies.animation.components.BasicTextLabel |
label2
|
private Metamorphosis |
metamorphosis
|
Constructor Summary | |
---|---|
StartPageView(Metamorphosis metamorphosis)
Constructs the start panel. |
Method Summary | |
---|---|
(package private) Component |
build()
Builds and returns the start panel component. |
private Component |
buildAnimationPanel()
Builds and answers the animation panel that consists of the fan component. |
private com.jgoodies.animation.Animation |
createAnimation()
Creates and answers a composed animation with a fan animation in the background and a sequential text animation in the foreground. |
private JButton |
createButton(String label,
Style style)
Creates and answers a button that launches the specified style. |
private Component |
createLabel(String text)
Creates and answers a label that is large, anti-aliased, and uses a custom font. |
private void |
initComponents()
Creates and configures the UI components. |
(package private) void |
start()
Starts the fan animation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Metamorphosis metamorphosis
private final List<JButton> buttons
private com.jgoodies.animation.components.FanComponent fan
private com.jgoodies.animation.components.BasicTextLabel label1
private com.jgoodies.animation.components.BasicTextLabel label2
private com.jgoodies.animation.components.GlyphLabel glyphLabel
private com.jgoodies.animation.Animator animator
Constructor Detail |
---|
StartPageView(Metamorphosis metamorphosis)
Method Detail |
---|
void start()
private void initComponents()
Component build()
private Component buildAnimationPanel()
private Component createLabel(String text)
private JButton createButton(String label, Style style)
private com.jgoodies.animation.Animation createAnimation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |