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

void com::jgoodies::animation::components::AnimatedLabel::setTextImmediately ( String  newText  )  [inline]

Sets a new text without using the blend over animation.

newText the text to be set

Definition at line 291 of file AnimatedLabel.java.

References getText(), and setAlpha().

Referenced by AnimatedLabel(), and setText().

        String oldText = getText();
        foreground = 1 - foreground;
        background = 1 - background;
        setAlpha(255, 0);
        firePropertyChange(PROPERTYNAME_TEXT, oldText, newText);

Generated by  Doxygen 1.6.0   Back to index