Class: ProfileClass
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:223
Represents a profile with various properties and inputs.
Extended by
Constructors
Constructor
new ProfileClass(
id,displayLabel,description?,labelTemplate?,required?,multiple?,example?,refs?,input?):ProfileClass
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:240
Parameters
id
string
displayLabel
string
description?
string
labelTemplate?
string
required?
boolean
multiple?
boolean
example?
string
refs?
ProfileClassRef[] = []
input?
ProfileClassInput[] = []
Returns
ProfileClass
Properties
description?
readonlyoptionaldescription:string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:226
displayLabel
readonlydisplayLabel:string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:225
example?
readonlyoptionalexample:string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:230
id
readonlyid:string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:224
input
readonlyinput:ProfileClassInput[]
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:238
labelTemplate?
readonlyoptionallabelTemplate:string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:227
multiple?
readonlyoptionalmultiple:boolean
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:229
refs
readonlyrefs:ProfileClassRef[]
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:234
required?
optionalrequired:boolean
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:228
Methods
getDescription()
getDescription():
undefined|string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:303
Retrieves the description of the property class.
Returns
undefined | string
The description of the property class.
getDisplayLabel()
getDisplayLabel():
string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:294
Retrieves the displayLabel of the ProfileClass.
Returns
string
The displayLabel of the ProfileClass.
getExample()
getExample():
undefined|string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:312
Retrieves an example for the property class.
Returns
undefined | string
The current value of the example class.
getId()
getId():
string
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:285
Retrieves the unique identifier of the ProfileClass.
Returns
string
The unique identifier of the ProfileClass.
getInputs()
getInputs():
ProfileClassInput[]
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:267
Retrieves the inputs of the ProfileClass.
Returns
The input property.
getRefTypes()
getRefTypes():
ProfileClassRef[]
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:276
Retrieves the types that the ProfileClass can reference.
Returns
The types of the ProfileClass.
isRequired()
isRequired():
undefined|boolean
Defined in: src/common/web/ui/components/propertyeditor/PropertyProfile.ts:321
Checks if the property is required.
Returns
undefined | boolean
True if the property is required, otherwise false.