IndexSection
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
allTopics | Array of Topic | readonly | The topics in the specified index section. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
id | number | readonly | The unique ID of the IndexSection. |
index | number | readonly | The index of the IndexSection 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 | readonly | The name of the IndexSection. |
parent | Index | readonly | The parent of the IndexSection (a Index). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
topics | Topics | readonly | A collection of index topics. |
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 IndexSection 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. |
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 IndexSection.
string toSpecifier ()
Retrieves the object specifier.
Used in:
IndexSection IndexSections.nextItem (obj: IndexSection)
IndexSection IndexSections.previousItem (obj: IndexSection)
Return
Array of IndexSection IndexSection.getElements ()
IndexSection IndexSections.[] (index: number)
IndexSection IndexSections.anyItem ()
Array of IndexSection IndexSections.everyItem ()
IndexSection IndexSections.firstItem ()
IndexSection IndexSections.item (index: varies)
IndexSection IndexSections.itemByID (id: number)
IndexSection IndexSections.itemByName (name: string)
Array of IndexSection IndexSections.itemByRange (from: varies, to: varies)
IndexSection IndexSections.lastItem ()
IndexSection IndexSections.middleItem ()
IndexSection IndexSections.nextItem (obj: IndexSection)
IndexSection IndexSections.previousItem (obj: IndexSection)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |