Package com.alee.extended.transition.effects.blocks

Examples of com.alee.extended.transition.effects.blocks.BlocksTransitionEffect


        return effect;
    }

    private BlocksTransitionEffect createFadeBlockTransitionEffect ()
    {
        BlocksTransitionEffect effect = new BlocksTransitionEffect ();
        effect.setSize ( 40 );
        effect.setSpeed ( 4 );
        return effect;
    }
View Full Code Here


        return effect;
    }

    private BlocksTransitionEffect createBlockTransitionEffect ()
    {
        BlocksTransitionEffect effect = new BlocksTransitionEffect ();
        effect.setFade ( false );
        effect.setSize ( 40 );
        effect.setSpeed ( 4 );
        return effect;
    }
View Full Code Here

    {
        // Transition panel
        final ComponentTransition componentTransition = new ComponentTransition ();

        // Transition effect
        final BlocksTransitionEffect effect = new BlocksTransitionEffect ();
        effect.setDirection ( Direction.random );
        effect.setType ( BlockType.cascade );
        effect.setSize ( 40 );
        effect.setSpeed ( 4 );
        effect.setFade ( false );
        componentTransition.setTransitionEffect ( effect );

        // Effects
        final WebImage image1 = new WebImage ( loadIcon ( "pictures/1.jpg" ) );
        final WebImage image2 = new WebImage ( loadIcon ( "pictures/2.jpg" ) );
View Full Code Here

TOP

Related Classes of com.alee.extended.transition.effects.blocks.BlocksTransitionEffect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.