Field Summary |
public
| __showStatusBar: Boolean |
|
|
|
public
| __showTitleBar: Boolean |
|
|
|
public
| acceptButton: Object |
| Gets or sets the button control that is clicked when the user presses the ENTER key.
|
|
public
| cancelButton: Object |
| Gets or sets the button control that is clicked when the user presses the ESC key.
|
|
public
| children: Array |
| List of child controls index by number
|
|
public static
| classInfo: Object |
| A static class information object
|
|
public
| controlBar |
| internal reference to the controlbar clip
|
|
public
| controls: Object |
| List of child controls index by id
|
|
public
| dataSource |
| The dataSource this control is bound to.
|
|
public
| enableBGMouseEvents: Boolean |
| Controls whether mouse event handlers are set on the background or foreground.
|
|
public
| initialFocusControl: Object |
| The control to be focused when this form is displayed for the first time
|
|
public
| isRoot: Boolean |
| Is this a root container
|
|
public
| lastFocus: Object |
| The last control that had focus
|
|
public
| layoutDescriptor: XMLNode |
| The layoutDescriptor associated with this class **/
|
|
public
| layoutId: String |
| The layoutId associated with this class **/
|
|
public
| layoutManager: ILayoutManager |
| The layout manager responsible for laying control in the container
|
|
public
| rootContainer: Object |
| The container at the root of the container heirarchy
|
|
public
| styleClass: String |
| The name of the style class this instance will use.
|
|
public
| symbolId: String |
| The symbolId associated with this class **/
|
|
public
| tabList: Array |
| List of tabable controls in tabOrder
|
|
public
| tabModeWrap: Boolean |
| Controls the mode of tabbing
|
|
| Fields inherited from class xp.system.UIControl__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment |
|
Property Summary |
public
| childCount: Number (read-only)
|
| Count of child controls created in this container
|
|
public
| footerHeight: Number (read, write) |
| footer of the container header section *
|
|
public
| headerHeight: Number (read, write) |
| height of the container header section *
|
|
public
| innerBackground (read, write) |
| Color of inner background area
|
|
public
| innerBackgroundVisible: Boolean (read, write) |
| Indicates whether the inner background is visible or not
|
|
public
| innerBorderBrush: Object (read, write) |
| A Brush object used to paint the controls border.
|
|
public
| innerBorderRadius (read, write) |
| Sets or get the radius of the inner face
|
|
public
| innerBorderStyle (read, write) |
| inner border style
|
|
public
| innerBorderThickness (read, write) |
| Sets or get the radius of the inner face
|
|
public
| numChildren: Number (read-only)
|
| /** Count of child controls created in this container
|
|
public
| showStatusBar: Boolean (read, write) |
|
|
|
public
| showTitleBar: Boolean (read, write) |
|
|
|
public
| status: String (read, write) |
| Gets or sets the window status text
|
|
public
| title: String (read, write) |
| Gets or sets the window title text
|
|
| Properties inherited from class xp.system.UIControlalpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y |
|
Constructor |
public
| Container (
)
|
| Constructor - This should not be called directly.
|
|
Method Summary |
public
| addChild (
compDesc: Object
): Object |
| Adds a child control to a container
|
|
public
| addChildren (
compDesc: Array
): Void |
| Adds an array of children to a container
|
|
public
| addControlBar (
compDesc: Object
): Object |
|
|
|
public
| clearAll (
): Void |
| Remove all child components from the container Descripition Removes and destroys all child controls. Also clears the children and tabList arrays.
|
|
public
| createChild (
className: Object, instanceName: String, initProps: Object
): Object |
| Adds a child control to a container
|
|
public
| destroyChildAt (
index: Number
): Void |
| Destroys the child at the specified index
|
|
public
| getChild (
index: Number
): Object |
| Deprecated.
|
|
public
| getChildAt (
index: Number
): Object |
| Returns a reference to the child specified by the index param in the container children array
|
|
public
| getChildFromMouse (
): Number |
| Figure out which control was clicked from the mouse position
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public
| getFooterHeight (
): Number |
|
|
|
public
| getHeaderHeight (
): Number |
|
|
|
public
| getNextControl (
index: Number, fwd: Boolean, wrap: Boolean
): Number |
| Retrieves the next control forward or back in the tab order of child controls.
|
|
public
| getUIBuilder (
): Object |
| Reference to the UIBuilder object
|
|
public
| getViewMetrics (
): Thickness |
| the margins or offsets for the body view used by the layout system*
|
|
public
| initLayoutManager (
): Void |
| Class of layout manager to create, string or class reference *
|
|
public
| onChildFocus (
ctl: Object, focusCtl: Object
): Void |
| A callback from a child control when it gains focus*
|
|
public
| processEnterKey (
) |
| Process enter key event
|
|
public
| processEscapeKey (
) |
| Process escape key event
|
|
public
| registerChild (
ctl
): Void |
| Register the ctl as a child of this container
|
|
public
| selectNextControl (
ctl: Object, fwd: Boolean, tabStopOnly: Boolean, wrap: Boolean
): Object |
| Activates the next control.
|
|
public
| setDataContext (
data: Object, context: Object
): Void |
| Updates a containers data context information
|
|
public
| setFocus (
) |
| Overrides the ancestor method to find the first focusable control on a form
|
|
public
| setMeasuredMinSize (
w: Number, h: Number
) |
| Called by the LayoutManger to set the measured size of the container*
|
|
public
| setMeasuredSize (
w: Number, h: Number
) |
| Called by the LayoutManger to set the measured size of the container*
|
|
public
| unregisterChild (
ctl
): Void |
| Unregister the ctl as a child of this container
|
|
| Methods inherited from class xp.system.UIControladdBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate |
|
|