Package se.datadosen.jalbum
Class AlbumObjectFactory
java.lang.Object
se.datadosen.jalbum.AlbumObjectFactory
- All Implemented Interfaces:
PropertyChangeListener
,Serializable
,EventListener
- Direct Known Subclasses:
NoDiacriticsAlbumObjectFactory
,WebSafeAlbumObjectFactory
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(File file) createInstance
(File file, AlbumObject parent) createInstance
(File file, FileNamerContext context) boolean
isCached()
boolean
boolean
boolean
boolean
void
void
setCached
(boolean cached) Set to true to allow heavy cacheing of various album object meta data Set before creating instancesvoid
setCacheThumbnails
(boolean cacheThumbnails) void
setFilter
(AlbumObjectFilter filter) void
setIgnoreOrdering
(boolean ignoreOrdering) Master switch to speed up getChildren calls when ordering isn't important When ignoreOrdering is true, no ordering is applied to getChildren calls JAlbumUtilities.countCategories() toggles this on and off for max performancevoid
setIncludeExcluded
(boolean includeExcluded) void
setIncludeMissing
(boolean includeMissing) void
setUndoNotifier
(UndoNotifier undoNotifier)
-
Field Details
-
fileFilter
-
filter
- Since:
- 33.2
-
-
Constructor Details
-
AlbumObjectFactory
-
-
Method Details
-
createInstance
-
createInstance
-
createInstance
-
isCacheThumbnails
public boolean isCacheThumbnails() -
setCacheThumbnails
public void setCacheThumbnails(boolean cacheThumbnails) -
isIncludeExcluded
public boolean isIncludeExcluded() -
setIncludeExcluded
public void setIncludeExcluded(boolean includeExcluded) -
isIncludeMissing
public boolean isIncludeMissing() -
setIncludeMissing
public void setIncludeMissing(boolean includeMissing) -
isCached
public boolean isCached() -
setCached
public void setCached(boolean cached) Set to true to allow heavy cacheing of various album object meta data Set before creating instances- Parameters:
cached
-
-
isIgnoreOrdering
public boolean isIgnoreOrdering()- Returns:
- if counting-only mode is activated
- Since:
- 24
-
setIgnoreOrdering
public void setIgnoreOrdering(boolean ignoreOrdering) Master switch to speed up getChildren calls when ordering isn't important When ignoreOrdering is true, no ordering is applied to getChildren calls JAlbumUtilities.countCategories() toggles this on and off for max performance- Parameters:
ignoreOrdering
-- Since:
- 24
-
getFileFilter
-
getFilter
-
setFilter
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
getUndoNotifier
-
setUndoNotifier
-