ConditionSet
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
id | number | readonly | The unique ID of the ConditionSet. |
index | number | readonly | The index of the ConditionSet within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
name | string | r/w | The name of the ConditionSet. |
parent | ApplicationDocument | readonly | The parent of the ConditionSet (a Application or Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
setConditions | Array of Ordered array containing condition:Condition visibility:Boolean |
r/w | List of conditions and visibilities in the set. Can return: Ordered array containing condition:Condition, visibility:Boolean. |
Methods
Instances
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of ConditionSet getElements ()
Resolves the object specifier, creating an array of object references.
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
void redefine ()
Redefine a condition set with the currently existing conditions and visibilities.
void remove ([replacingWith:
any])
Delete a condition set for conditional text.
Parameter | Type | Description |
---|---|---|
replacingWith | ConditionSet String | The condition set to apply to the text in place of the deleted condition set. By default, no condition set is applied in place of the deleted condition set. Can accept: ConditionSet or String. (Optional) |
string toSource ()
Generates a string which, if executed, will return the ConditionSet.
string toSpecifier ()
Retrieves the object specifier.
Element of
ConditionalTextPreference.activeConditionSet
Used in:
void ConditionSet.remove ([replacingWith: any])
array of ConditionSet ConditionSets.itemByRange (from: any, to: any)
ConditionSet ConditionSets.nextItem (obj: ConditionSet)
ConditionSet ConditionSets.previousItem (obj: ConditionSet)
Return
Array of ConditionSet ConditionSet.getElements ()
ConditionSet ConditionSets.[] (index: number)
ConditionSet ConditionSets.add ([withProperties: Object])
ConditionSet ConditionSets.anyItem ()
Array of ConditionSet ConditionSets.everyItem ()
ConditionSet ConditionSets.firstItem ()
ConditionSet ConditionSets.item (index: any)
ConditionSet ConditionSets.itemByID (id: number)
ConditionSet ConditionSets.itemByName (name: string)
Array of ConditionSet ConditionSets.itemByRange (from: any, to: any)
ConditionSet ConditionSets.lastItem ()
ConditionSet ConditionSets.middleItem ()
ConditionSet ConditionSets.nextItem (obj: ConditionSet)
ConditionSet ConditionSets.previousItem (obj: ConditionSet)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |