Adobe 12040118 Using Help - Page 221
method if the position of the moveable element is changed by the user, or if its
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 221 highlights
Adobe After Effects Help Using Help Creating User Interface Elements Back 221 The checkbox control To add a Checkbox element to a window w: Method w.add ("checkbox" [, bounds, text]); Returns Object Description The optional parameter bounds defines the element's position and size.The optional parameter text is the text displayed next to the checkbox control. The Checkbox control calls the onClick() event method if the control is clicked or if its notify() method is called. It also has a value property which indicates whether the control is set or not. The radiobutton control To add a RadioButton element to a window w: Method w.add ("radiobutton" [, bounds, text]); Returns Object Description The optional parameter bounds defines the element's position and size.The optional parameter text is the text displayed next to the radiobutton control. All RadioButtons in a group must be created sequentially, with no intervening creation of other element types. Only one RadioButton in a group can be set at a time; setting a different RadioButton unsets the original one. The RadioButton control calls the onClick() event method if the control is clicked or if its notify() method is called. It also has a value property which indicates whether the control is set or not. The scrollbar control To add a Scrollbar element to a window w: Method w.add ("scrollbar" [, bounds, value, minvalue, maxvalue]); Returns Object Description The optional parameter bounds defines the element's position and size. The optional parameter value is the initial position of the moveable element. The optional parameters minvalue and maxvalue define the range of values that can be returned by changing the position of the moveable element. The Scrollbar control will have a horizontal orientation if the specified width is greater than its height at creation time; its orientation will be vertical if its height is greater than its width. It calls the onChange() event method if the position of the moveable element is changed by the user, or if its notify() method is called. The value property contains the current position of the scrollbar's moveable position indicator within the scrolling area, within the range of minvalue and maxvalue. The slider control To add a Slider element to a window w: Method w.add ("slider" [, bounds, value, minvalue, maxvalue]); Returns Object Description The optional parameter bounds defines the element's position and size. The optional parameter value is the initial position of the moveable element. The optional parameters minvalue and maxvalue define the range of values that can be returned by changing the position of the moveable element. All Slider controls have a horizontal orientation. The Slider control calls the onChange() event method if the position of the slider is changed by the user, or if its notify() method is called. The value property contains the current position of the slider's moveable position indicator, within the range of minvalue and maxvalue. Using Help Back 221