
CHAPTER 4: User-Interface Tools Window object 116
alignment
String, or Array
of 2 Strings
Applies to child elements of a container. If defined, this value
overrides the alignChildren
setting for the parent container.
For a single string value, allowed values depend on the
orientation value. For orientation=row:
top center (default)
bottom fill
For orientation=column:
left center (default)
right fill
For orientation=stack:
top right
bottom center
(default)
left fill
For an array value, the first string element defines the horizontal
alignment and the second element defines the vertical
alignment. The horizontal alignment value must be one of
left,
right, center or fill. The vertical alignment value must be one
of
top, bottom, center, or fill.
Values are not case sensitive.
bounds
Bounds A Bounds object for the boundaries of the window’s drawable
area in screen coordinates. Compare frameBounds
. Does not
apply to containers of type
tab, whose bounds are determined
by the parent
tabbedpanel container. Read only.
children
Array of Object The collection of user-interface elements that have been added
to this window or container. An array indexed by number or by a
string containing an element’s
name. The length property of this
array is the number of child elements for container elements, and
is zero for controls. Read only.
graphics
Graphics A ScriptUIGraphics object that can be used to customize the
window’s appearance, in response to the onDraw
event.
layout
LayoutManager A LayoutManager object for a window or container. The first time
a container object is made visible, ScriptUI invokes this layout
manager by calling its
layout function. Default is an instance of
the
LayoutManager class that is automatically created when the
container element is created.
location
Point A Point object for the location of the top left corner of the
Window’s drawable area, or the top left corner of the frame for a
panel. The same as
[bounds.x, bounds.y].
Kommentare zu diesen Handbüchern