LibraryPanel
Library panel
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, select, showAll, toSource, toSpecifier
Objects:
Boolean, EventListeners, Events, Library, LibraryPanelViews, NothingEnum, Number, Object, SortAssets, String
Hierarchy:
Superclass: Panel
Class: LibraryPanel
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The library displayed in this LibraryPanel |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The index of the LibraryPanel within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The name of the LibraryPanel. |
||
readonly |
The parent of the LibraryPanel (a Application). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The selected object(s). Can also accept: Object or NothingEnum enumerator. |
||
read/write |
The sort order of the assets in the LibraryPanel |
||
read/write |
LibraryPanel view |
||
read/write |
If true, the panel is visible. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
LibraryPanel getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined select (selectableItems:Array of Varies Objects NothingEnum Object SelectAll, [existingSelection:SelectionOptions=SelectionOptions])
Selects the specified object(s).
Parameter |
Type |
Description |
---|---|---|
selectableItems |
Array of Objects |
The objects to select. Can accept: Object, Array of Objects, NothingEnum enumerator or SelectAll enumerator. |
existingSelection |
The selection status of the LibraryPanel in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
undefined showAll ()
Show all assets
String toSource ()
Generates a string which, if executed, will return the LibraryPanel.
String toSpecifier ()
Retrieves the object specifier.
Object of
Event.parent
EventListener.parent
MutationEvent.parent