Pages panel.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
Application, Boolean, EventListeners, Events, IconSizes, Number, Object, PanelLayoutResize, String,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
iconSize |
IconSizes.EXTRA_SMALL_ICON IconSizes.SMALL_ICON IconSizes.MEDIUM_ICON IconSizes.LARGE_ICON IconSizes.EXTRA_LARGE_ICON IconSizes.JUMBO_ICON |
read/write |
Page icon size. |
|
index |
readonly |
The index of the PagesPanel within its containing object. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
masterIconSize |
IconSizes.EXTRA_SMALL_ICON IconSizes.SMALL_ICON IconSizes.MEDIUM_ICON IconSizes.LARGE_ICON IconSizes.EXTRA_LARGE_ICON IconSizes.JUMBO_ICON |
read/write |
Master page icon size. |
|
masterVerticalView |
read/write |
If true, master page icons will be arranged vertically around the binding spine. If false, master page icons will be arranged horizontally. |
|
|
mastersThumbnails |
read/write |
If true, display thumbnails of the pages in the master pages area of the panel. |
|
|
name |
readonly |
The name of the PagesPanel. |
|
|
pagesOnTop |
read/write |
If true, the pages area of the panel will be drawn above the master pages area. |
|
|
pagesThumbnails |
read/write |
If true, display thumbnails of the pages in the pages area of the panel. |
|
|
parent |
readonly |
The parent of the PagesPanel (a Application). |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
resizeBehavior |
PanelLayoutResize.PROPORTIONAL_RESIZE PanelLayoutResize.PAGES_FIXED PanelLayoutResize.MASTERS_FIXED |
read/write |
Specifies the behavior of the document and master page areas of the panel when the panel is resized. |
|
rotationIcons |
read/write |
If true, a rotation icon will display next to spreads with non-zero rotation applied. |
|
|
transitionsIcons |
read/write |
If true, a page transitions icon will display next to spreads with page transitions applied. |
|
|
transparencyIcons |
read/write |
If true, a transparency icon will display next to spreads with elements having transparency applied. |
|
|
visible |
read/write |
If true, the panel is visible. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
PagesPanel getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the PagesPanel.
String toSpecifier ()
Retrieves the object specifier.