Package se.datadosen.jalbum
Class SkinProperties
java.lang.Object
se.datadosen.jalbum.SkinProperties
Representation of the (optional) skin.properties file of skins
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
Tell if jAlbum is to automatically inject Widget loader code into generate pages (done manually with the <ja:widget> tag) Valid values are true and false.static final String
Whether the res folder should be cleaned on each album buildstatic final String
static final String
Format YYYY-MM-DDstatic final String
static final String
Comma separated list of variables referring to UI controls to disablestatic final String
Boolean (true/false) flag stating whether this skin allows the user to edit the theme image size and crop region through the theme image selector of the folder property panel.static final String
Tell jAlbum to use enable or disable the thumbnail layout settings section.static final String
Skins may set this boolean property to true to indicate that their skins supports the making of full web sites, and not just albumsstatic final String
Skins may set this boolean property to true to indicate that their skins supports the playing of the mp4 video files jAlbum generates since v11 Without this flag set to true, jAlbum may warn the user about lack of full video support when making albums that consists of videosstatic final String
static final String
Path to icon to appear in skin settings tab, relative to skin UI code.static final String
Format YYYY-MM-DDstatic final String
Fully qualified class name of class to load on load May extend CompiledBase or be an instance of JAlbumPluginstatic final String
Control if to also create a deep-data.json page when creating json pagesstatic final String
Boolean (true/false) flag stating whether slide images and slide pages should be created for web locations or not Currently defaults to true.static final String
Comma separated list of variables to preserve when loading this skinstatic final String
Skins may specify a comma separated list of skin variables that are to not be copied when importing settings from other album projectsstatic final String
This setting is respected since jAlbum 8.7static final String
Script language to use jAlbum automatically determines what script language to use by the extension of the init file (init.bsh -> BeanShell, init.js -> JavaScript) If no init file exists, then this property determines the language to use Allowed values: BEANSHELL and JAVASCRIPTstatic final String
Boolean (true/false) flag stating whether this skin supports folder descriptions different from folder comments Defaults to falsestatic final String
Boolean (true/false) flag stating whether this skin supports a theme image that is separate from the folder thumbnail.static final String
Generate one single index page, no matter the "rows" and "cols" settingsstatic final String
Family this skin belongs to.static final String
Fully qualified (including packages) class name of skin model.static final String
Fully qualified (including packages) class name of slide model.static final String
static final String
Boolean (true/false) flag stating whether this skin supports unique folder thumbnail image sizes.static final String
Set to true if skin supports image variants (Activates the Variants editor under Settings-Images)static final String
Name of variable to represent the size of the theme image.static final String
Alternative name for skin.static final String
static final String
Skin version. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String key) getProperty
(String key, String def) Get the corresponding properties for this skin in our skin repositoryboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
save()
void
setProperty
(String key, String value)
-
Field Details
-
TITLE
Alternative name for skin.- See Also:
-
AUTHOR
- See Also:
-
USERNAME
- See Also:
-
COMPANY
- See Also:
-
VERSION
Skin version. Format xx.yy or xx.yy.zz- See Also:
-
CREATION_DATE
Format YYYY-MM-DD- See Also:
-
LAST_MODIFIED_DATE
Format YYYY-MM-DD- See Also:
-
DESCRIPTION
- See Also:
-
HOME_PAGE
- See Also:
-
SUPPORT_FORUM
- See Also:
-
REQUIRED_JALBUM_VERSION
This setting is respected since jAlbum 8.7- See Also:
-
AUTO_WIDGET_INJECTION
Tell if jAlbum is to automatically inject Widget loader code into generate pages (done manually with the <ja:widget> tag) Valid values are true and false. Defaults to true- See Also:
-
ENABLE_THUMBNAIL_LAYOUT
Tell jAlbum to use enable or disable the thumbnail layout settings section. Skins that ignores thumbnail layout can set this to false to indicate to the user that thumbnail layout is ignored. Defaults to true- Since:
- 11.5
- See Also:
-
FULL_SITE_SUPPORT
Skins may set this boolean property to true to indicate that their skins supports the making of full web sites, and not just albums- See Also:
-
PREVENT_COPY
Skins may specify a comma separated list of skin variables that are to not be copied when importing settings from other album projects- See Also:
-
FULL_VIDEO_SUPPORT
Skins may set this boolean property to true to indicate that their skins supports the playing of the mp4 video files jAlbum generates since v11 Without this flag set to true, jAlbum may warn the user about lack of full video support when making albums that consists of videos- See Also:
-
SCRIPT_LANGUAGE
Script language to use jAlbum automatically determines what script language to use by the extension of the init file (init.bsh -> BeanShell, init.js -> JavaScript) If no init file exists, then this property determines the language to use Allowed values: BEANSHELL and JAVASCRIPT- See Also:
-
SKIN_MODEL
Fully qualified (including packages) class name of skin model. Defaults to "SkinModel" in the default package- Since:
- 12.7.2
- See Also:
-
SLIDE_MODEL
Fully qualified (including packages) class name of slide model. Defaults to "SlideModel" in the default package- Since:
- 12.7.2
- See Also:
-
PRESERVE_VARIABLES
Comma separated list of variables to preserve when loading this skin- Since:
- 21.1
- See Also:
-
SKIN_FAMILY
Family this skin belongs to. Defaults to name of skin if not specified. Skins belonging to the same family share the same project settings when moving from one skin to another, otherwise the default settings are loaded- Since:
- 14
- See Also:
-
MAKE_WEB_LOCATION_SLIDES
Boolean (true/false) flag stating whether slide images and slide pages should be created for web locations or not Currently defaults to true. If your skin cares, set this setting explicitly- Since:
- 14
- See Also:
-
THEME_IMAGE_SIZE_NAME
Name of variable to represent the size of the theme image. The variable has to be delivered from the skin's user interface or skin model The presence of a theme image size variable triggers the visibility of the crop focus selector of jAlbum's folder property panel The data type of the variable should be String. The value should be in the format "width x height" Defaults to "folderImageSize"- Since:
- 15
- See Also:
-
SEPARATE_THEME_IMAGE
Boolean (true/false) flag stating whether this skin supports a theme image that is separate from the folder thumbnail. Defaults to false- Since:
- 15
- See Also:
-
EDITABLE_THEME_IMAGE_SIZE
Boolean (true/false) flag stating whether this skin allows the user to edit the theme image size and crop region through the theme image selector of the folder property panel. Defaults to false. If true, the skin's own themeImageSize variable is ignored.- Since:
- 16
- See Also:
-
SEPARATE_DESCRIPTION
Boolean (true/false) flag stating whether this skin supports folder descriptions different from folder comments Defaults to false- Since:
- 15.3
- See Also:
-
MAKE_DEEP_JSON_DATA
Control if to also create a deep-data.json page when creating json pages- See Also:
-
SUPPORTS_VARIANTS
Set to true if skin supports image variants (Activates the Variants editor under Settings-Images)- See Also:
-
SUPPORTS_FOLDER_THUMBS
Boolean (true/false) flag stating whether this skin supports unique folder thumbnail image sizes. Defaults to false- Since:
- 27
- See Also:
-
DISABLED_CONTROLS
Comma separated list of variables referring to UI controls to disable- Since:
- 27.1
- See Also:
-
CLEAN_RES_FOLDER
Whether the res folder should be cleaned on each album build- See Also:
-
ICON
Path to icon to appear in skin settings tab, relative to skin UI code.- Since:
- 32
- See Also:
-
SINGLE_INDEX_PAGE
Generate one single index page, no matter the "rows" and "cols" settings- Since:
- 33
- See Also:
-
MAIN_CLASS
Fully qualified class name of class to load on load May extend CompiledBase or be an instance of JAlbumPlugin- Since:
- 33
- See Also:
-
-
Constructor Details
-
SkinProperties
-
-
Method Details
-
save
- Throws:
IOException
- Since:
- 8.7
-
getProperty
- Since:
- 8.5
-
getProperty
- Since:
- 8.7
-
getProperties
- Since:
- 8.7
-
getRepositoryProperties
Get the corresponding properties for this skin in our skin repository- Returns:
- Throws:
IOException
- Since:
- v11
-
setProperty
- Since:
- 8.7
-
isAutoWidgetInjection
public boolean isAutoWidgetInjection() -
isEnableThumbnailLayout
public boolean isEnableThumbnailLayout() -
isFullSiteSupport
public boolean isFullSiteSupport() -
isSet
- Parameters:
key
-- Returns:
- Since:
- 29.2
-
getThemeImageSizeName
-
isSeparateThemeImage
public boolean isSeparateThemeImage() -
isEditableThemeImageSize
public boolean isEditableThemeImageSize() -
isMakeWebLocationSlides
public boolean isMakeWebLocationSlides() -
isSeparateDescription
public boolean isSeparateDescription() -
isMakeDeepJSONData
public boolean isMakeDeepJSONData() -
isSupportsVariants
public boolean isSupportsVariants() -
getVersion
-