Adobe InCopy CS5.5 (7.5) Object Model JS: BorderPanel

InCopy CS5.5

Class

BorderPanel

 A bordered panel on a dialog that can contain any type and number of controls. Base Class: Widget

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

BorderPanel | DialogColumn | DialogRow | EnablingGroup
Widget
BorderPanel
AngleCombobox | AngleEditbox | BorderPanel | CheckboxControl | DialogColumn | Dropdown | EnablingGroup | Event | EventListener | IntegerCombobox | IntegerEditbox | MeasurementCombobox | MeasurementEditbox | MutationEvent | PercentCombobox | PercentEditbox | RadiobuttonGroup | RealCombobox | RealEditbox | StaticText | TextEditbox | Widget

Properties

PropertyTypeAccessDescription
angleComboboxesAngleComboboxes readonlyA collection of angle comboboxes.
angleEditboxesAngleEditboxes readonlyA collection of angle editboxes.
borderPanelsBorderPanels BorderPanel readonlyA collection of border panels.
checkboxControlsCheckboxControls CheckboxControl readonlyA collection of checkbox controls.
dialogColumnsDialogColumns DialogColumn readonlyA collection of dialog columns.
dropdownsDropdowns Dropdown readonlyA collection of dropdowns.
enablingGroupsEnablingGroups EnablingGroup readonlyA collection of enabling groups.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
idnumber readonlyThe unique ID of the BorderPanel.
indexnumber readonlyThe index of the BorderPanel within its containing object.
integerComboboxesIntegerComboboxes readonlyA collection of integer comboboxes.
integerEditboxesIntegerEditboxes readonlyA collection of integer editboxes.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
measurementComboboxesMeasurementComboboxes readonlyA collection of measurement comboboxes.
measurementEditboxesMeasurementEditboxes readonlyA collection of measurement editboxes.
minWidthnumber r/wThe width of the control. For an editbox or combobox, specifies the minimum width of the box.
parentBorderPanelDialogColumn
DialogRow
EnablingGroup
readonlyThe parent of the BorderPanel (a DialogColumn, DialogRow, EnablingGroup or BorderPanel).
percentComboboxesPercentComboboxes readonlyA collection of percent comboboxes.
percentEditboxesPercentEditboxes readonlyA collection of percent editboxes.
propertiesObject r/wA property that allows setting of several properties at the same time.
radiobuttonGroupsRadiobuttonGroups RadiobuttonGroup readonlyA collection of radiobutton groups.
realComboboxesRealComboboxes readonlyA collection of real number comboboxes.
realEditboxesRealEditboxes readonlyA collection of real number editboxes.
staticTextsStaticTexts StaticText readonlyA collection of static text objects.
textEditboxesTextEditboxes readonlyA collection of text editboxes.
widgetsWidgets Widget readonlyA collection of widgets.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

string toSpecifier ()
Retrieves the object specifier.

Element of

AngleCombobox.parent

AngleEditbox.parent

BorderPanel.parent

CheckboxControl.parent

DialogColumn.parent

Dropdown.parent

EnablingGroup.parent

IntegerCombobox.parent

IntegerEditbox.parent

MeasurementCombobox.parent

MeasurementEditbox.parent

PercentCombobox.parent

PercentEditbox.parent

RadiobuttonGroup.parent

RealCombobox.parent

RealEditbox.parent

StaticText.parent

TextEditbox.parent

Widget.parent

Used in:

BorderPanel BorderPanels.nextItem (obj: BorderPanel)

BorderPanel BorderPanels.previousItem (obj: BorderPanel)

Return

Array of BorderPanel BorderPanel.getElements ()

BorderPanel BorderPanels.[] (index: number)

BorderPanel BorderPanels.add ([withProperties: Object])

BorderPanel BorderPanels.anyItem ()

Array of BorderPanel BorderPanels.everyItem ()

BorderPanel BorderPanels.firstItem ()

BorderPanel BorderPanels.item (index: varies)

BorderPanel BorderPanels.itemByID (id: number)

Array of BorderPanel BorderPanels.itemByRange (from: varies, to: varies)

BorderPanel BorderPanels.lastItem ()

BorderPanel BorderPanels.middleItem ()

BorderPanel BorderPanels.nextItem (obj: BorderPanel)

BorderPanel BorderPanels.previousItem (obj: BorderPanel)

Jongware, 29-Apr-2012 v3.0.3iContents :: Index