Field Summary |
public static
| classInfo: Object |
| A static class information object
|
|
public
| forms: Object |
| An associative array of forms definitions
|
|
public
| styleClass: String |
| The name of the style class this instance will use.
|
|
| Fields inherited from class xp.controls.Container__showStatusBar, __showTitleBar, acceptButton, cancelButton, children, classInfo, controlBar, controls, dataSource, enableBGMouseEvents, initialFocusControl, isRoot, lastFocus, layoutDescriptor, layoutId, layoutManager, rootContainer, styleClass, symbolId, tabList, tabModeWrap |
|
| 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
| activeForm: Object (read-only)
|
| returns the currently active(visible) form
|
|
| Properties inherited from class xp.controls.ContainerchildCount, footerHeight, headerHeight, innerBackground, innerBackgroundVisible, innerBorderBrush, innerBorderRadius, innerBorderStyle, innerBorderThickness, numChildren, showStatusBar, showTitleBar, status, title |
|
| 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
| MDController (
)
|
| Constructor - This should not be called directly.
|
|
Method Summary |
public
| closeAll (
): Void |
| closes all forms in the controller
|
|
public
| first (
): Void |
| Displays the first form in the MDControllers children array
|
|
public
| formExists (
formId: String
): Boolean |
| Checks whether an instance of the form is currently open
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public
| hideAll (
): Void |
| hides all forms in the controller
|
|
public
| last (
): Void |
| Displays the last form in the MDControllers children array
|
|
public
| loadForm (
frmSymbol: String, formId: String, itemStyle: Object
): MovieClip |
| Loads (creates) a form in the MDController Creates a new instance of a form but does not show it
|
|
public static
| newInstance (
owner, instanceId, depth, initObj
) |
| Creates a new Instance of this class
|
|
public
| next (
): Void |
| Displays the next form in the MDControllers children array
|
|
public
| previous (
): Void |
| Displays the previous form in the MDControllers children array
|
|
public
| showForm (
formId: String
): Object |
| Show a form in the MDController
|
|
public
| unloadForm (
formId: String
): Void |
| Unloads (removes) a form from the MDController
|
|
| Methods inherited from class xp.controls.ContaineraddChild, addChildren, addControlBar, clearAll, createChild, destroyChildAt, getChild, getChildAt, getChildFromMouse, getClass, getFooterHeight, getHeaderHeight, getNextControl, getUIBuilder, getViewMetrics, initLayoutManager, onChildFocus, processEnterKey, processEscapeKey, registerChild, selectNextControl, setDataContext, setFocus, setMeasuredMinSize, setMeasuredSize, unregisterChild |
|
| 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 |
|
|
Commonly used as the source content in the center frame of a FrameSet