Package se.datadosen.jalbum
Class AlbumProject
java.lang.Object
se.datadosen.jalbum.AlbumProject
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAlbumProject
(File projectFile) AlbumProject
(File projectFile, AlbumObject root) AlbumProject
(File projectFile, AlbumObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
forIcon
(BiConsumer<Icon, Boolean> consumer) int
long
getName()
static String
static List<AlbumProject>
int
hashCode()
void
void
setProjectFile
(File projectFile) void
setRootFolder
(AlbumObject root) toString()
void
workDone()
void
-
Field Details
-
workingProperty
public final javafx.beans.property.BooleanProperty workingProperty -
newObjectsProperty
public final javafx.beans.property.BooleanProperty newObjectsProperty -
lastExceptionProperty
-
newAlbumProjectIcon
-
-
Constructor Details
-
AlbumProject
- Throws:
IOException
-
AlbumProject
- Throws:
IOException
-
AlbumProject
- Parameters:
projectFile
- null indicates the default projectroot
-
-
-
Method Details
-
getRecentProjects
-
getProperties
- Throws:
IOException
-
getRootFolder
-
invalidateIcon
public void invalidateIcon() -
forIcon
-
equals
-
hashCode
public int hashCode() -
getName
-
getName
-
getAddedCount
public int getAddedCount() -
getLastModified
public long getLastModified()- Returns:
- last modified date of project file, or contents
- Since:
- 17.2
-
getLongName
-
getProjectFile
-
setProjectFile
-
setRootFolder
-
getIndexFile
- Returns:
- Path to index file if album has been created or null
- Throws:
IOException
-
toString
-
workStarted
public void workStarted() -
workDone
public void workDone()
-