This is the toolbar for the ApiKeysDialog. Display 6 buttons on top of dialog.
The constructor
Name | Type | Description |
---|---|---|
apiKeysDialog | ApiKeysDialog | A reference to the dialog |
apiKeysControl | Map | A reference to the apiKeysControl object |
haveApiKeysFile | Boolean | A boolean indicating when the ApiKeys file was found on the server |
The rootHTMLElement of the toolbar
Remove events listeners from the buttons
A reference to the api keys control
A reference to the ApiKeysDialog Object
Store the status of the ApiKeys file
The new ApiKey button
Event listener for the new api key button
Event listener for the reload from server button
The reload key from server button
Event listener for the restore from secure file button
Event listener for the restore from unsecure file button
The restore keys from secure file button
The restore keys from unsecure file button
The save keys to secure file button
The save keys to unsecure file button
Event listener for the save to secure file button
Event listener for the save to unsecure file button
The root HTML element of the control
Add the buttons to the toolbar
Create the AddNewApiKey Button
Create the ReloadKeysFromServerFile Button
Create the RestoreKeysFromSecureFile Button
Create the RestoreKeysFromUnsecureFile Button
Create the SaveKeysToSecureFile Button
Create the SaveKeysToUnsecureFile Button