mx.core.UIComponent | +--com.bjc.mdi.BJCMDIContainerVars
Constructor | |
| BJCMDIContainerVars ( ) | |
| Constructor | |
Method Summary | |
| public | addCallbackItem ( title: String, menuID: String, callback: String, arg: String ): Void |
| This method may be used to add a callback item to a menu window. | |
| public | addMenu ( menuID: String, title: String, width: Number ): Void |
| This method may be used to add a menu window to the component. | |
| public | addOpenWinItem ( title: String, menuID: String, windowToBeOpened: String ): Void |
| This method may be used to add a window opener item to a menu window. | |
| public | addWindowCustom ( name: String, target: String, local: Boolean, title: String, ww: Number, wh: Number, resizable: Boolean, scaleContentOnResize: Boolean, lockProportions: Boolean, offsetX: Number, offsetY: Number, contentMasking: Boolean ): Void |
| This method may be used to add a customized window to the component. | |
| public | addWindowID ( name: String, id: String, title: String, cw: Number, ch: Number ): Void |
| This method may be used to add a window to the component by linkage id. | |
| public | addWindowMC ( name: String, target: String, title: String, cw: Number, ch: Number ): Void |
| This method may be used to add a window with external content to the component. | |
| public | addWindowModal ( name: String, id: String, title: String, cw: Number, ch: Number ): Void |
| This method may be used to add a modal window to the component. | |
| public | disableContainer ( ): Void |
| This method may be used to disable the component. | |
| public | enableContainer ( ): Void |
| This method may be used to enable the component. | |
| public | getContent ( name: String ): MovieClip |
| This method may be used to get the path of the content clip of a specified window. | |
| public | hideAllWindows ( ): Void |
| This method may be used to hide all windows in the component. | |
| public | hideWindow ( name: String ): Void |
| This method may be used to hide a window. | |
| public | maximizeWindow ( name: String ): Void |
| This method may be used to maximize a window. | |
| public | minimizeWindow ( name: String ): Void |
| This method may be used to minimize a window. | |
| public | removeAll ( ): Void |
| This method may be used to remove all items from the component. | |
| public | removeWindow ( name: String ): Void |
| This method may be used to remove a window from the component. | |
| public | setAlpha ( name: String, alpha: Number ): Void |
| This method may be used to set the transperacy of a window. | |
| public | setSize ( w: Number, h: Number ): Void |
| This method may be used to set the component size. | |
| public | setStatusMsg ( name: String, msg: String ): Void |
| This method may be used to set the status message of a window. | |
| public | showAllWindows ( ): Void |
| This method may be used to show all windows in the component. | |
| public | showWindow ( name: String, statusVisible: Boolean ): Void |
| This method may be used to show a window. | |
| public | viewStatus ( name: String, statusVisible: Boolean ): Void |
| This method may be used to set the visibility of a status message. | |
| public | viewWindowButtons ( name: String, view: Boolean ): Void |
| This method may be used to hide or show the top bar buttons of a window. | |
|
| Constructor |
|
| This method may be used to add a callback item to a menu window. This method may be used to add a menu item that calls a specified callback function.
| ||||||||||||
|
|
| This method may be used to add a menu window to the component. This method may be used to add a menu window to the MDI component. The menu may be added window opening items and function caliing items.
| |||||||||
|
|
| This method may be used to add a window opener item to a menu window. This method may be used to add a window opener item that shows a specified window. If the specified window is already visible, the menu item may maximize the window and set it on the top of the window stack.
| |||||||||
|
|
| This method may be used to add a customized window to the component. This method may be used to add a window to the MDI component and set the window content by linkage id or url to an external content. The window is hidden by the default. The window may be viewed with the showWindow method. You can place on your content clip the callback functions 'onHide', 'onShow', 'onFocus', 'onBlur' and 'onResize'. These functions will be called when the actions related to the function names will occure. The 'onResize' function will be called when a user drags the resizing corner and the function will be called with the variables 'contentWidth' and 'contentHeight'.
| ||||||||||||||||||||||||||||||||||||
|
|
| This method may be used to add a window to the component by linkage id. This method may be used to add a window to the MDI component and set the window content by linkage id. The window is hidden by the default. The window may be viewed with the showWindow method.
| |||||||||||||||
|
|
| This method may be used to add a window with external content to the component. This method may be used to add a window to the MDI component and load the window content from an external location. The window is hidden by the default. The window may be viewed with the showWindow method.
| |||||||||||||||
|
|
| This method may be used to add a modal window to the component. This method may be used to add a modal window to the MDI component and set the window content by linkage id. The modal window works as a message box. The modal window must be closed to enable other windows. The enabling of other windows can be accomplished by calling the removeWindow method with the instance name of the modal window. The same effect will take place when clicking the close button of the modal window.
| |||||||||||||||
|
|
This method may be used to disable the component.
|
|
|
This method may be used to enable the component.
|
|
|
This method may be used to get the path of the content clip of a specified window.
| |||
|
|
This method may be used to hide all windows in the component.
|
|
|
| This method may be used to hide a window. This method may be used to hide a window in the MDI component. If the 'Remove on close' property of the MDI component is set to 'true', the window and its content will be removed from the MDI component. Otherwise the window will only be hidden from users, and it will remain in the component. Removing the windows will free some resources on your computer but might slow the use of the component in cases of loaded contents. To specify the removeOnClose mode of a spesific window, use the 'setRemoveOnClose' method.
| |||
|
|
| This method may be used to maximize a window. This method may be used to maximize a window in the MDI component. A maximized window is showed fully. The status bar will be showed if the status bar of the window is enabled.
| |||
|
|
| This method may be used to minimize a window. This method may be used to minimize a window in the MDI component. Only the top bar, the title and the buttons of a minimized window will remain visible.
| |||
|
|
This method may be used to remove all items from the component.
|
|
|
| This method may be used to remove a window from the component. This method may be used to remove a window from the MDI component. If the removed window is a modal window, the other windows may be enabled. Enabling of other windows occurs when all the message boxes and modal windows are removed. However this method may not be used with message, question or input boxes. These items will be closed by their own actions.
| |||
|
|
This method may be used to set the transperacy of a window.
| ||||||
|
|
This method may be used to set the component size.
| ||||||
|
|
| This method may be used to set the status message of a window. This method may be used to set a window's status message. If the status bar is disabled, the status message may be showd with the viewStatus method.
| ||||||
|
|
This method may be used to show all windows in the component.
|
|
|
| This method may be used to show a window. This method may be used to show a window in the MDI component. If the view argument is set to 'true', the status bar of the window will be enabled. Otherwise the status bar will be hidden.
| ||||||
|
|
This method may be used to set the visibility of a status message.
| ||||||
|
|
This method may be used to hide or show the top bar buttons of a window.
| ||||||
|
for( var i=0; i<5; i++ ) { myBJCMDI.addWindowID( "win" + i, "clip" + i, "Window" + i, null, null ); // Adds 5 windows to the component myBJCMDI.moveWindowTo( "win" + i, i*10, i*10 ); // Move windows }