Adobe 12040118 Using Help - Page 219
UI object descriptions, around a panel.
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 219 highlights
Adobe After Effects Help Using Help Creating User Interface Elements Back 219 Method onMove() onResize() Returns no return value Description This method is called when a Window has been moved. If you are interested in processing this event, define a function of this name in the Window object. no return value This method is called when a Window has been resized. If you are interested in processing this event, define a function of this name in the Window object. UI object descriptions This section describes UI objects such as windows, panels, buttons, checkboxes and so on. Window object To create a new Window object: Method new Window ("dialog" [, title, bounds]); Returns Object Description Creates a new Window. The required type argument contains the requested element type for a modal dialog. The optional title argument is used to set the window title, if specified. Optionally, a Bounds object or array may be supplied that describes the bounds of the window. If no bounds are given, a default bounds is chosen. The return value is the newly created window or null on errors. The panel element To add a Panel element to a window w: Method w.add ("panel" [, bounds, text, {} ]); Returns Object Description The optional parameter bounds defines the element's position and size.The optional parameter text is the text displayed in the border of the panel. The optional parameter is an object that can contain any of the following properties: To add a border style around a panel. Method borderStyle Returns String Description Specifies the appearance of the border drawn around the panel. It can be one of: none, etched, raised, sunken, black. The default borderStyle is etched. If you specify a Panel whose width is 0, it will appear as a vertical line; a panel whose height is 0 will appear as a horizontal line. Making a panel invisible will also hide all its children; making it visible again will also make visible those children that were visible when the panel was made invisible. Using Help Back 219