mx.core.UIComponent | +--com.bjc.mdi.BJCMDIContainerVars | +--com.bjc.mdi.BJCMDIContainerBase
Method Summary | ||
| public | addIcon ( x: Number, y: Number, iconLinkageID: String, iconIdentifier: String ): Void | |
| This method may be used to add a desktop icon that shows a specified window. | ||
| public | addOpenWinIcon ( x: Number, y: Number, iconLinkageID: String, windowID: String ): Void | |
| This method may be used to add a desktop icon that shows a specified window. | ||
| public | getPercentLoaded ( name: String ): Number | |
| This method may be used to get the percentage of the loaded content of a window. | ||
| public | getWindowHeight ( name: String ): Number | |
| This method may be used to get the height of a window. | ||
| public | getWindowWidth ( name: String ): Number | |
| This method may be used to get the width of a window. | ||
| public | getXPosition ( name: String ): Number | |
| This method may be used to get the horizontal position of a window. | ||
| public | getYPosition ( name: String ): Number | |
| This method may be used to get the vertical position of a window. | ||
| public | moveWindowBy ( name: String, x: Number, y: Number ): Void | |
| This method may be used to move a window by a specific number of pixels. | ||
| public | moveWindowTo ( name: String, x: Number, y: Number ): Void | |
| This method may be used to move a window to a specific position. | ||
| public | setIconCallback ( cb: String ): Void | |
| This method may be used to set function to be called by the desktop icons. | ||
| public | setRemoveOnClose ( name: String, mode: Boolean ): Void | |
| This method may be used to set the RemoveOnClose mode of a window. | ||
| public | showInputBox ( title: String, width: Number, txt: String, ok_txt: String, cancel_txt: String, callback: String ): Void | |
| This method may be used add an input box to the component. | ||
| public | showMsgBox ( title: String, width: Number, txt: String, ok_txt: String ): Void | |
| This method may be used add a message box to the component. | ||
| public | showQuestionBox ( title: String, width: Number, txt: String, ok_txt: String, cancel_txt: String, callback: String ): Void | |
| This method may be used add a question box to the component. | ||
| ||
|
| This method may be used to add a desktop icon that shows a specified window. Following code will add a function calling icon to the MDI component. The icon will be set of the instance 'icon1' and it will call the function specified in the MDI parameters or the function specified with the setIconCallback method. The coordinates of the icon will be set to 100 right and 100 down from the top left corner of the MDI component. The argument 'callBackIcon1' will be sent to the callback function.
| ||||||||||||
|
|
| This method may be used to add a desktop icon that shows a specified window. This method may be used to add a desktop icon that shows a specified window. If the specified window is already visible, the icon may maximize the window and set it on the top of the window stack. The icon is draggable so it can be moved manually once added. If you want to view the window name in the icon, make sure you have a textfield with the instance name of 'buttonTxt' in the icon clip.
| ||||||||||||
|
|
This method may be used to get the percentage of the loaded content of a window.
| |||
|
|
This method may be used to get the height of a window.
| |||
|
|
This method may be used to get the width of a window.
| |||
|
|
This method may be used to get the horizontal position of a window.
| |||
|
|
This method may be used to get the vertical position of a window.
| |||
|
|
This method may be used to move a window by a specific number of pixels.
| |||||||||
|
|
This method may be used to move a window to a specific position.
| |||||||||
|
|
This method may be used to set function to be called by the desktop icons.
| |||
|
|
| This method may be used to set the RemoveOnClose mode of a window. This method may be used to set the RemoveOnClose mode of a window. If the mode is set to 'true', the window will be removed from the MDI component. If the mode is set to 'false', the window will only be hidden when closed. This method overrides the global 'Remove on close' property.
| ||||||
|
|
| This method may be used add an input box to the component. This method may be used add an input box to the MDI component. The input box will call the specified function with the user inserted input value if the ok-button is clicked, or null if the cancel-button is clicked. The input box will disable all regular windows until the input box will be closed by clicking a input button. The modal windows, message boxes, question boxes and input boxes will have their availability order. The first added item will be set the second one available while closed or answered and so on.
| ||||||||||||||||||
|
|
| This method may be used add a message box to the component. This method may be used add a message box to the MDI component. The message box will disable all regular windows until the message box will be closed by clicking the message button. The modal windows, message boxes, question boxes and input boxes will have their availability order. The first added item will be set the second one available while closed or answered and so on.
| ||||||||||||
|
|
| This method may be used add a question box to the component. This method may be used add a question box to the MDI component. The question box will call the specified function with the boolean true if the ok-button is clicked, or false if the cancel-button is clicked. The question box will disable all regular windows until the question box will be closed by clicking a question button. The modal windows, message boxes, question boxes and input boxes will have their availability order. The first added item will be set the second one available while closed or answered and so on.
| ||||||||||||||||||
|