SimpleString
Extends:
The purpose of SimpleString is to store an arbitrary string of text. It will write to your tool's XML configuration the text as assigned to the value. The default value is a blank string.
Constructor Summary
Public Constructor | ||
public |
constructor(dataName: string, dataItemProps: object) Constructor |
Member Summary
Public Members | ||
public |
Function that returns the current encryptionMode setting. |
|
public |
getPassword: boolean: * Function that returns whether or not the data item is a passsword, and should be encrypted as such. |
|
public |
setEncryptionMode(encryptionMode: string): * Function that changes the current encryptionMode setting. |
|
public |
setPassword(password: boolean): * Function that changes whether or not the data item is a password, and should be encrypted as such. |
Public Constructors
public constructor(dataName: string, dataItemProps: object) source
Constructor
Params:
Name | Type | Attribute | Description |
dataName | string | The name of the data item. |
|
dataItemProps | object |
|
An object of properties such as hidden, disabled, suppressed etc. |
dataItemProps.password | boolean |
|
A boolean to dictate whether the string being stored is a password and should thusly be encrypted, or not. |
dataItemProps.encryptionMode | string |
|
Allows control over which encryption method is employed.
|
Public Members
public getEncryptionMode: string: * source
Function that returns the current encryptionMode setting.
public getPassword: boolean: * source
Function that returns whether or not the data item is a passsword, and should be encrypted as such.