Package se.datadosen.jalbum
Class CompiledScript
java.lang.Object
se.datadosen.jalbum.CompiledScript
Deprecated.
This class is not thread safe. Use CompiledBase instead and either pass image specific variables as
parameters to your methods or look-up the image specific variables using the get() method of CompiledBase, but don't
store any such variables as class level variables.
Provides variables that are usually available as implicit objects in scripts Subclass this class to provide
simple conversion of scripts to fast compiled scripts.
- Since:
- v5.2
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.File[]
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.int
Deprecated.Deprecated.int
Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.Deprecated. -
Constructor Summary
ModifierConstructorDescriptionprotected
CompiledScript
(AlbumBean engine) Deprecated.Make subclass call this constructor -
Method Summary
Modifier and TypeMethodDescriptionfinal Object
Deprecated.Get the value of a variable that is defined in scripting scopevoid
Deprecated.Optional method to call in order to also update the variables that are specific to a certain context, for instance "out", "current", "meta" and "outputDirectory" For maximum performance, only call if needed.
-
Field Details
-
generator
Deprecated. -
generatorUrl
Deprecated. -
internalVersion
Deprecated. -
styleFile
Deprecated. -
skin
Deprecated. -
style
Deprecated. -
maxImageWidth
public int maxImageWidthDeprecated. -
maxImageHeight
public int maxImageHeightDeprecated. -
maxThumbWidth
public int maxThumbWidthDeprecated. -
maxThumbHeight
public int maxThumbHeightDeprecated. -
rows
public int rowsDeprecated. -
cols
public int colsDeprecated. -
application
Deprecated. -
album
Deprecated. -
engine
Deprecated. -
window
Deprecated. -
context
Deprecated. -
licenseManager
Deprecated. -
programDirectory
Deprecated. -
skinDirectory
Deprecated. -
resDirectory
Deprecated. -
skinResDirectory
Deprecated. -
rootImageDirectory
Deprecated. -
rootOutputDirectory
Deprecated. -
fileVariables
Deprecated. -
currentDate
Deprecated. -
totalAlbumImages
public int totalAlbumImagesDeprecated. -
textEncoding
Deprecated. -
texts
Deprecated. -
files
Deprecated. -
currentObjects
Deprecated. -
currentObject
Deprecated. -
category
Deprecated. -
currentFolder
Deprecated. -
rootFolder
Deprecated. -
currentFile
Deprecated. -
resPath
Deprecated. -
out
Deprecated. -
current
Deprecated. -
local
Deprecated. -
previous
Deprecated. -
next
Deprecated. -
meta
Deprecated. -
outputDirectory
Deprecated. -
imageDirectory
Deprecated. -
totalIndexes
public int totalIndexesDeprecated. -
indexNum
public int indexNumDeprecated. -
nextIndexPage
Deprecated. -
previousIndexPage
Deprecated. -
parentIndexPage
Deprecated. -
firstIndexPage
Deprecated. -
lastIndexPage
Deprecated. -
rootPath
Deprecated. -
language
Deprecated. -
imageNum
public int imageNumDeprecated. -
totalImages
public int totalImagesDeprecated. -
nextPage
Deprecated. -
currentPage
Deprecated. -
previousPage
Deprecated. -
originalPath
Deprecated. -
thumbPath
Deprecated. -
closeupPath
Deprecated. -
imagePath
Deprecated. -
iconPath
Deprecated. -
originalWidth
public int originalWidthDeprecated. -
originalHeight
public int originalHeightDeprecated. -
imageWidth
public int imageWidthDeprecated. -
imageHeight
public int imageHeightDeprecated. -
thumbWidth
public int thumbWidthDeprecated. -
thumbHeight
public int thumbHeightDeprecated. -
fileName
Deprecated. -
label
Deprecated.
-
-
Constructor Details
-
CompiledScript
Deprecated.Make subclass call this constructor
-
-
Method Details
-
updateVars
public void updateVars()Deprecated.Optional method to call in order to also update the variables that are specific to a certain context, for instance "out", "current", "meta" and "outputDirectory" For maximum performance, only call if needed.- Throws:
RuntimeException
-
get
Deprecated.Get the value of a variable that is defined in scripting scope- Parameters:
variable
-- Returns:
-