Group¶
Description¶
A container for other controls within a window.
A group can specify layout options for its child elements. Hiding a group hides all its children. Making it visible makes visible those children that are not individually hidden.
Properties¶
alignChildren readonly | Tells the layout manager how unlike-sized children of this container should be aligned within a column or row. |
alignment readonly | The alignment style for this element. If defined, this value overrides the alignChildren setting for the parent container. |
bounds readonly | The boundaries of the element, in parent-relative coordinates. |
children readonly | An array of child elements. |
enabled readonly | True if this element is enabled. |
graphics readonly | The graphics object that can be used to customize the element’s appearance, in response to the?onDraw()?event. |
helpTip readonly | The help text that is displayed when the mouse hovers over the element. |
indent readonly | The number of pixels to indent the element during automatic layout. |
layout readonly | The layout manager for this container. |
location readonly | The upper left corner of this element relative to its parent. |
margins readonly | The number of pixels between the edges of a container and the outermost child elements. |
maximumSize readonly | The maximum height and width to which the element can be resized. |
minimumSize readonly | The minimum height and width to which the element can be resized. |
orientation readonly | The layout orientation of children in a container. |
parent readonly | The parent element. |
preferredSize readonly | The preferred size, used by layout managers to determine the best size for each element. |
properties readonly | An object that contains one or more creation properties of the control (properties used only when the element is created). |
size readonly | The current dimensions of this element. |
spacing readonly | The number of pixels separating one child element from its adjacent sibling element. |
type readonly | The element type; “group”. |
visible readonly | True if this element is shown, false if it is hidden. |
window readonly | The window that this element belongs to. |
windowBounds readonly | The bounds of this element relative to the top-level parent window. |
Methods¶
add readonly | Adds a child element to this container. |
addEventListener readonly | Registers an event handler for a particular type of event occuring in this element. |
dispatchEvent readonly | Simulates the occurrence of an event in this target. |
hide readonly | Hides this element. |
remove readonly | Removes the specified child control from this group’s?children?array. |
removeEventListener readonly | Unregisters an event handler for a particular type of event occuring in this element. |
show readonly | Shows this element. |