Package com.denisk.appengine.nl.client.thirdparty.com.reveregroup.carousel.client.events

Examples of com.denisk.appengine.nl.client.thirdparty.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


      }
    });
  }

  public void selectPhoto(Photo photo){
    PhotoClickEvent event = new PhotoClickEvent();
    event.setPhoto(photo);
    //event.setShouldChangeURL(false);
    carousel.fireEvent(event);
  }
View Full Code Here

TOP

Related Classes of com.denisk.appengine.nl.client.thirdparty.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.