Package org.wicketstuff.yui.markup.html.animation.thumbnail

Examples of org.wicketstuff.yui.markup.html.animation.thumbnail.AnimatedItem


    // thumbnail 2
    AnimatedThumbnailSettings settings = new AnimatedThumbnailSettings("images/neuschwanstein_tn.jpg", "images/neuschwanstein.jpg" , "Neuschwanstein Castle" );
    settings.setOpacity(0.7f);
    settings.setPictureDimension(800, 583);
    settings.setThumbnailDimension(100, 74);
    AnimatedItem a;
    add(a = new AnimatedThumbnail("thumbnail2", settings));
    a.getOnunselectAnimation().addTrigger("test");
  }
View Full Code Here


        AnimatedThumbnailSettings settings = (AnimatedThumbnailSettings) model.getObject();
        settings.setThumbnailDimension(getItemWidth(), getItemHeight());
        settings.setPictureDimension(PIC_WIDTH, PIC_HEIGHT);
        settings.setPicturePosition(PIC_LEFT - left, PIC_TOP - top);
       
        AnimatedItem item = new MyAnimatedThumbnail(id, tf, settings);
        items.add(item);
       
        return item;
      }
     
View Full Code Here

TOP

Related Classes of org.wicketstuff.yui.markup.html.animation.thumbnail.AnimatedItem

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.