RuleDataObject
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
dataType | RuleDataType: RuleDataType.INTEGER_DATA_TYPE RuleDataType.SHORT_INTEGER_DATA_TYPE RuleDataType.REAL_DATA_TYPE RuleDataType.STRING_DATA_TYPE RuleDataType.BOOLEAN_DATA_TYPE RuleDataType.OBJECT_DATA_TYPE RuleDataType.LIST_DATA_TYPE |
readonly | The type of data. |
dataValue | Array of Strings Array of Array of Strings Boolean Booleans Booleans Long Integer Long Integers Long Integers Object Objects Objects Real Reals Reals Short Integer Short Integers Short Integers String |
r/w | The value for this data object. Can return: String, Real, Long Integer, Short Integer, Boolean, Object or Array of Strings, Reals, Long Integers, Short Integers, Booleans, Objects or Arrays of Array of Arrays of Array of Strings, Reals, Long Integers, Short Integers, Booleans or Objects. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
id | string | readonly | The ID for this rule data object. |
index | number | readonly | The index of the RuleDataObject within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
name | string | readonly | The name of the RuleDataObject. |
parent | PreflightProfileRule PreflightRuleInstance |
readonly | The parent of the RuleDataObject (a PreflightProfileRule or PreflightRuleInstance). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of RuleDataObject getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the RuleDataObject.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the RuleDataObject.
string toSpecifier ()
Retrieves the object specifier.
Used in:
RuleDataObject RuleDataObjects.nextItem (obj: RuleDataObject)
RuleDataObject RuleDataObjects.previousItem (obj: RuleDataObject)
Return
Array of RuleDataObject RuleDataObject.getElements ()
RuleDataObject RuleDataObjects.[] (index: number)
RuleDataObject RuleDataObjects.add (name: string, dataType: RuleDataType, dataValue: varies[, withProperties: Object])
RuleDataObject RuleDataObjects.anyItem ()
Array of RuleDataObject RuleDataObjects.everyItem ()
RuleDataObject RuleDataObjects.firstItem ()
RuleDataObject RuleDataObjects.item (index: varies)
RuleDataObject RuleDataObjects.itemByID (id: number)
RuleDataObject RuleDataObjects.itemByName (name: string)
Array of RuleDataObject RuleDataObjects.itemByRange (from: varies, to: varies)
RuleDataObject RuleDataObjects.lastItem ()
RuleDataObject RuleDataObjects.middleItem ()
RuleDataObject RuleDataObjects.nextItem (obj: RuleDataObject)
RuleDataObject RuleDataObjects.previousItem (obj: RuleDataObject)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |