Class CompiledBase

java.lang.Object
se.datadosen.jalbum.CompiledBase

public class CompiledBase extends Object
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:
v11.3
  • Field Details

    • generator

      public final String generator
    • generatorUrl

      public final String generatorUrl
    • internalVersion

      public final String internalVersion
    • styleFile

      public final String styleFile
    • skin

      public final String skin
    • style

      public final String style
    • maxImageWidth

      public final int maxImageWidth
    • maxImageHeight

      public final int maxImageHeight
    • maxThumbWidth

      public final int maxThumbWidth
    • maxThumbHeight

      public final int maxThumbHeight
    • rows

      public final int rows
    • cols

      public final int cols
    • application

      public final Map application
    • album

      public final Map album
    • engine

      public final AlbumBean engine
    • window

      public final JAlbumFrame window
    • context

      public final JAlbumContext context
    • licenseManager

      public final LicenseManager licenseManager
    • programDirectory

      public final File programDirectory
    • skinDirectory

      public final File skinDirectory
    • resDirectory

      public final File resDirectory
    • skinResDirectory

      public final File skinResDirectory
    • rootImageDirectory

      public final File rootImageDirectory
    • rootOutputDirectory

      public final File rootOutputDirectory
    • currentDate

      public final String currentDate
    • totalAlbumImages

      public final int totalAlbumImages
    • textEncoding

      public final String textEncoding
    • texts

      public final SmartResourceBundle texts
    • rootFolder

      public final AlbumObject rootFolder
    • out

    • language

      public final String language
  • Constructor Details

    • CompiledBase

      protected CompiledBase(AlbumBean engine)
      Make subclass call this constructor
  • Method Details

    • get

      public final Object get(String variable)
      Get the value of a variable that is defined in scripting scope
      Parameters:
      variable -
      Returns: