Class AlbumProject

java.lang.Object
se.datadosen.jalbum.AlbumProject

public class AlbumProject extends Object
  • Field Details

    • workingProperty

      public final javafx.beans.property.BooleanProperty workingProperty
    • newObjectsProperty

      public final javafx.beans.property.BooleanProperty newObjectsProperty
    • lastExceptionProperty

      public final javafx.beans.property.ObjectProperty<Exception> lastExceptionProperty
    • newAlbumProjectIcon

      public static final ImageIcon newAlbumProjectIcon
  • Constructor Details

  • Method Details

    • getRecentProjects

      public static List<AlbumProject> getRecentProjects()
    • getProperties

      public Properties getProperties() throws IOException
      Throws:
      IOException
    • getRootFolder

      public AlbumObject getRootFolder()
    • invalidateIcon

      public void invalidateIcon()
    • forIcon

      public void forIcon(BiConsumer<Icon,Boolean> consumer)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getName

      public String getName()
    • getName

      public static String getName(File projectFile)
    • getAddedCount

      public int getAddedCount()
    • getLastModified

      public long getLastModified()
      Returns:
      last modified date of project file, or contents
      Since:
      17.2
    • getLongName

      public String getLongName()
    • getProjectFile

      public File getProjectFile()
    • setProjectFile

      public void setProjectFile(File projectFile)
    • setRootFolder

      public void setRootFolder(AlbumObject root)
    • getIndexFile

      public File getIndexFile() throws IOException
      Returns:
      Path to index file if album has been created or null
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • workStarted

      public void workStarted()
    • workDone

      public void workDone()