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

void com::jgoodies::animation::components::AnimatedLabel::setAlpha ( final int  foregroundAlpha,
final int  backgroundAlpha 
) [inline, private]

Sets the foreground and background colors in the event dispatch thread.

foregroundAlpha alpha value for the foreground label
backgroundAlpha alpha value for the background label

Definition at line 409 of file AnimatedLabel.java.

References setAlpha0().

Referenced by animation(), com::jgoodies::animation::components::AnimatedLabel::BlendOverAnimation::applyEffect(), and setTextImmediately().

        if (SwingUtilities.isEventDispatchThread()) {
            setAlpha0(foregroundAlpha, backgroundAlpha);
        Runnable runnable = new Runnable() {
            public void run() {
                setAlpha0(foregroundAlpha, backgroundAlpha);

Generated by  Doxygen 1.6.0   Back to index