Class
Pages panel. Base Class: Panel
addEventListener, getElements, removeEventListener, toSource, toSpecifier
PagesPanel
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
iconSize | IconSizes: IconSizes.EXTRA_SMALL_ICON IconSizes.SMALL_ICON IconSizes.MEDIUM_ICON IconSizes.LARGE_ICON IconSizes.EXTRA_LARGE_ICON IconSizes.JUMBO_ICON |
r/w | Page icon size. |
index | number | readonly | The index of the PagesPanel within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
masterIconSize | IconSizes: IconSizes.EXTRA_SMALL_ICON IconSizes.SMALL_ICON IconSizes.MEDIUM_ICON IconSizes.LARGE_ICON IconSizes.EXTRA_LARGE_ICON IconSizes.JUMBO_ICON |
r/w | Master page icon size. |
masterVerticalView | bool | r/w | If true, master page icons will be arranged vertically around the binding spine. If false, master page icons will be arranged horizontally. |
mastersThumbnails | bool | r/w | If true, display thumbnails of the pages in the master pages area of the panel. |
name | string | readonly | The name of the PagesPanel. |
pagesOnTop | bool | r/w | If true, the pages area of the panel will be drawn above the master pages area. |
pagesThumbnails | bool | r/w | If true, display thumbnails of the pages in the pages area of the panel. |
parent | Application | readonly | The parent of the PagesPanel (a Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
resizeBehavior | PanelLayoutResize: PanelLayoutResize.PROPORTIONAL_RESIZE PanelLayoutResize.PAGES_FIXED PanelLayoutResize.MASTERS_FIXED |
r/w | Specifies the behavior of the document and master page areas of the panel when the panel is resized. |
rotationIcons | bool | r/w | If true, a rotation icon will display next to spreads with non-zero rotation applied. |
transitionsIcons | bool | r/w | If true, a page transitions icon will display next to spreads with page transitions applied. |
transparencyIcons | bool | r/w | If true, a transparency icon will display next to spreads with elements having transparency applied. |
verticalView | bool | r/w | If true, document page icons will be arranged vertically around the binding spine. If false, page icons will be arranged horizontally. |
visible | bool | r/w | If true, the panel is visible. |
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) |
Array of PagesPanel getElements ()
Resolves the object specifier, creating an array of object references.
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 PagesPanel.
string toSpecifier ()
Retrieves the object specifier.
Return
Array of PagesPanel PagesPanel.getElements ()
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |