Class CollectionThemeSource

Theme source for consisting of collection of other theme sources. This class is used to implement the retrieval of themes from multiple sources. Also this class implements the inheritance of themes by first retrieving the relevant parent theme information.

Synopsis

VERSION@

Since

3.0

Inheritance Path.  java.lang.Object-> com.itmill.toolkit.terminal.web.CollectionThemeSource

add(ThemeSource)

Parameters

source

Theme source to be added.

Add new theme source to this collection.

getModificationTime()

Parameters

return

Last modification time of the theme source.

Description copied from interface: getModificationTime

Get the last modification time, used to reload theme on changes.

getName()

Parameters

return

Name of the theme source.

See Also
getName()
Description copied from interface: getName

Get the name of the ThemeSource.

getResource(String)

Parameters

return

Stream where the resource can be read.

Exceptions

ThemeException

If the resource is not found or there was some problem finding the resource.

Description copied from interface: getResource

Get input stream for the resource with the specified resource id.

getThemeByName(String)

Parameters

name

Theme name.

return

Theme instance matching the name, or null if not found.

Description copied from interface: getThemeByName

Return Theme instance by name.

getThemes()

Parameters

return

List of themes included in the theme source.

See Also
getThemes()
Description copied from interface: getThemes

Get list of themes in the theme source.

getXSLStreams(Theme, WebBrowser)

Parameters

theme

Theme, which XSL should be returned

type

The type of the current client.

return

Collection of ThemeSource.XSLStream objects.

Description copied from interface: getXSLStreams

Get XSL stream for the specified theme and web-browser type. Returns the XSL templates, which are used to process the UIDL data. The type parameter is used to limit the templates, which are returned based on the theme fileset requirements. This implicitly operates in xslt mode.