Package org.photovault.imginfo

Examples of org.photovault.imginfo.SortedPhotoCollection


     select the first photo in it when creating the control.
     */
    public PhotoCollectionThumbView( PhotoCollection collection ) {
        super();
        if ( collection != null ) {
            photoCollection = new SortedPhotoCollection( collection );
        }
        createUI();
        if ( collection != null && collection.getPhotoCount() > 0 ) {
            selection.add( collection.getPhoto( 0 ) );
        }
View Full Code Here


    public void setCollection(PhotoCollection  v) {
      if ( photoCollection != null ) {
  photoCollection.removePhotoCollectionChangeListener( this );
      }
       
      photoCollection = new SortedPhotoCollection( v );
      if ( photoOrderComparator != null ) {
          photoCollection.setComparator( photoOrderComparator );
      }
      photoCollection.addPhotoCollectionChangeListener( this );
      refreshPhotoChangeListeners();
View Full Code Here

TOP

Related Classes of org.photovault.imginfo.SortedPhotoCollection

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.