Logo Search packages:      
Sourcecode: libjgoodies-animation-java version File versions  Download package

com::jgoodies::animation::tutorial::component::BasicTextExample Class Reference

Inherits com::jgoodies::binding::beans::Model.

List of all members.


Detailed Description

Demonstrates the features of the BasicTextLabel. Consists of a preview panel that displays a BasicTextLabel, and a tool panel for configuration the label's properties and for running default animations on that label.

Author:
Karsten Lentzsch
Version:
Revision
1.10

See also:
com.jgoodies.animation.animations.BasicTextAnimation

com.jgoodies.animation.animations.BasicTextAnimations

com.jgoodies.animation.renderer.BasicTextRenderer

Definition at line 71 of file BasicTextExample.java.


Public Member Functions

JComponent buildPreviewPanel ()
JComponent buildToolsPanel ()
int getDuration ()
void setDuration (int newDuration)

Static Public Member Functions

static void main (String[] args)

Private Member Functions

void addSlider (PanelBuilder builder, int row, String title, JSlider slider, String leftText, String rightText)
JComponent buildAnimationsPanel ()
JComponent buildButtonBar ()
JComponent buildPanel ()
JComponent buildPropertiesPanel ()
void initComponents ()
void setActionsEnabled (boolean enabled)

Private Attributes

JSlider alphaSlider
int duration
JComponent durationField
Action fadeAction
Action scaleAction
JSlider scaleSlider
Action spaceAction
JSlider spaceSlider
JComponent textField
BasicTextLabel textLabel

Static Private Attributes

static final String INITIAL_TEXT = "BasicTextLabel"
static final String PROPERTYNAME_DURATION = "duration"

Classes

class  AnimationAction
class  FadeAction
class  ScaleAction
class  SpaceAction
class  StartStopHandler

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index