Class: ThemeGetter

Cadcorp.UI.PrintUI.ThemeGetter

new ThemeGetter(config)

Object to load themes.
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

events

Properties:
Name Type Description
events Cadcorp.Util.Events array of events

geognoSISOverlay

Properties:
Name Type Description
geognoSISOverlay Cadcorp.GeognoSIS.Overlay geognoSIS overlay

legendsContainer

Properties:
Name Type Description
legendsContainer Object legend container DOM object.

Methods

(protected, static) layersPopulatedFailed_handler(jqXHR, textStatus, errorThrown)

Fired when layers fail to populate
Parameters:
Name Type Description
jqXHR Object response object.
textStatus string text status
errorThrown Object exception
Returns:

(protected, static) layersPopulatedSuccess_handler(e)

Populates layers
Parameters:
Name Type Description
e Object event args.
Returns:

(protected, static) themeLoaded(e)

Populates the themes to a DOM object
Parameters:
Name Type Description
e Object event args
Returns:

Events

LayersPopulated

Event indicating that layers were retrieved
Type:
  • Object