A layout template is a pre-defined prototype of a
module:caplin/layout/Layout
. A user's available layout templates
can be accessed by calling module:caplin/layout/LayoutService#getTemplates
. These layout templates can then be
used to generate new layouts by passing them to module:caplin/layout/LayoutService#openNew
.- Implementations:
Methods
-
getName() → {String}
-
Returns the name of the layout template. This is a display name only, and should not be used for identification.
- Implementations:
Returns:
The name of the layout template.- Type
- String
-
getProperty(propertyName) → {String}
-
Returns the value of the layout template's property.
Parameters:
Name Type Description propertyName
String The name of the property to retrieve. - Implementations:
Returns:
- Type
- String