CompositeFont
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
compositeFontEntries | CompositeFontEntries | readonly | A collection of composite font entries. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
id | number | readonly | The unique ID of the CompositeFont. |
index | number | readonly | The index of the CompositeFont 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 CompositeFont. |
parent | ApplicationDocument | readonly | The parent of the CompositeFont (a Application or Document). |
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) |
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of CompositeFont 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 remove ()
Deletes the CompositeFont.
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 CompositeFont.
Element of
CompositeFontEntry.parent
Used in:
CompositeFont CompositeFonts.nextItem (obj: CompositeFont)
CompositeFont CompositeFonts.previousItem (obj: CompositeFont)
Return
Array of CompositeFont CompositeFont.getElements ()
CompositeFont CompositeFonts.[] (index: number)
CompositeFont CompositeFonts.add ([withProperties: Object])
CompositeFont CompositeFonts.anyItem ()
Array of CompositeFont CompositeFonts.everyItem ()
CompositeFont CompositeFonts.firstItem ()
CompositeFont CompositeFonts.item (index: varies)
CompositeFont CompositeFonts.itemByID (id: number)
CompositeFont CompositeFonts.itemByName (name: string)
Array of CompositeFont CompositeFonts.itemByRange (from: varies, to: varies)
CompositeFont CompositeFonts.lastItem ()
CompositeFont CompositeFonts.middleItem ()
CompositeFont CompositeFonts.nextItem (obj: CompositeFont)
CompositeFont CompositeFonts.previousItem (obj: CompositeFont)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |