LibraryPanel

Library panel

Properties

Property Type Access Description
associatedLibrary Library readonly The library displayed in this LibraryPanel
index number readonly The index of the LibraryPanel within its containing object.
name string readonly The name of the LibraryPanel.
parent Application readonly The parent of the LibraryPanel (a Application).
properties Object r/w A property that allows setting of several properties at the same time.
selection Array of Object r/w The selected object(s). Can also accept: Object or NothingEnum enumerator.
sortOrder SortAssets
:
BY_NAME
BY_OLDEST
BY_NEWEST
BY_TYPE
r/w The sort order of the assets in the LibraryPanel
view LibraryPanelViews
:
LIST_VIEW
THUMBNAIL_VIEW
LARGE_THUMBNAIL_VIEW
r/w LibraryPanel view
visible bool r/w If true, the panel is visible.

Methods

Array of LibraryPanelgetElements ()
Resolves the object specifier, creating an array of object references.

void select (selectableItems:
any[, existingSelection:
SelectionOptions=REPLACE_WITH ])
Selects the specified object(s).

Parameter Type Description
selectableItems Object
Array of Objects
NothingEnum
SelectAll
The objects to select. Can accept: Object, Array of Objects, NothingEnum enumerator or SelectAll enumerator.
existingSelection SelectionOptions
:
ADD_TO
REMOVE_FROM
REPLACE_WITH
The selection status of the LibraryPanel in relation to previously selected objects. (Optional) (default: REPLACE_WITH )

void showAll ()
Show all assets

string toSource ()
Generates a string which, if executed, will return the LibraryPanel.

string toSpecifier ()
Retrieves the object specifier.

Returned by:

Array of LibraryPanel LibraryPanel .getElements (

)

Leave a Comment

Previous post:

Next post: