Overview
Members-Overview
|
:Array.<timapi.constants.BrandBarBrand> |
|
:timapi.constants.BrandMode |
|
:String |
|
:Map.<Number, String> |
|
:timapi.constants.ResourceId |
|
:Map.<timapi.constants.ResourceParameterType, String> |
|
:timapi.constants.Theme |
|
:Number |
Methods-Overview
- toString() → {String}
- copy(showDialogRequest) → {timapi.ShowDialogRequest}
Constructor
new ShowDialogRequest()
Create empty show dialog request
Member-List
brandBar :Array.<timapi.constants.BrandBarBrand>
Brand bar. Used if brand mode is timapi.constants.BrandMode.selected.
placeholderItems :Map.<Number, String>
Map of placeholder items. Maps placeholder number to value.
For example if the dialog description states "%0 %1" with placeholder description "0: Currency, 1: Amount" then set map like this:
let placeholders = new Map(); placeholders.set(0, timapi.constants.Currency.CHF.code); // CHF placeholders.set(1, "2500"); // 25.-- request.placeholderItems = placeholders;
resourceParameters :Map.<timapi.constants.ResourceParameterType, String>
Map of resource parameters. Maps resource parameter type to value.
Methods
toString() → {String}
String representation for debugging purpose.
Returns:
String representation
Type: String
(static) copy(showDialogRequest) → {timapi.ShowDialogRequest}
Creates a copy of a timapi.ShowDialogRequest object.
Parameters:
Name | Type | Description |
---|---|---|
showDialogRequest |
timapi.ShowDialogRequest | Original |
Returns:
Copy of original
Type: timapi.ShowDialogRequest