Package com.reveregroup.carousel.client.events

Examples of com.reveregroup.carousel.client.events.PhotoClickEvent


          for (int i = 0; i < carouselSize; i++) {           
            if (images[i+preLoadSize] == img) {
              int pIndex = i - 4 + currentPhotoIndex;
              pIndex = Utils.modulus(pIndex, photos.size());             
              //fire off photo clicked event                           
              PhotoClickEvent pcEvent = new PhotoClickEvent();
              pcEvent.setPhotoIndex(pIndex);
              pcEvent.setPhoto(photos.get(pIndex));
              fireEvent(pcEvent);                       
              break;
            }
          }
        }
View Full Code Here

TOP

Related Classes of com.reveregroup.carousel.client.events.PhotoClickEvent

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.