Field Summary |
public
| appCopyright |
| The copyright text to display in the AboutBox
|
|
public
| appLogo |
| The linkage Id of the appplication logo. This will be displayed in the AboutBox.
|
|
public
| appTitle |
| The application title to display in the AboutBox
|
|
public
| appVersion |
| The application version to display in the AboutBox
|
|
public
| autoLoad: Boolean |
| Controls whether the main UI form is loaded when the application object is created
|
|
public
| bgColor |
| The stage background color
|
|
public
| config: Object |
| The application config object
|
|
public
| ect |
| Is this a fluid application
|
|
public
| forms: Object |
| Collection of forms index by id *
|
|
public
| localRoot |
| The application root clip
|
|
public
| mainFormId: String |
| linkage Id of the main application UI - by default FrmMain
|
|
public
| StageSize: Object |
| Stage size, an object with width and height properties *
|
|
Property Summary |
public
| content: MovieClip (read-only)
|
| Pointer to main application UI
|
|
public
| dialogs: ICommonDialogs (read-only)
|
| ref to the CommonDialogs
|
|
public
| logger: Object (read-only)
|
| Support for the logging system
|
|
public
| mainForm: MovieClip (read, write) |
| pointer to main application UI
|
|
public
| resources: ResourceDictionary (read-only)
|
| A hierarchichal store of user defined objects
|
|
Constructor |
public
| Application (
config: Object)
|
| Constructor
|
|
Method Summary |
public
| addService (
serviceName: String, service: Object
): Void |
| adds the specified service*
|
|
public
| alert (
message: String, title: String, listener: Object
): IWindow |
| Displays an alert DialogBox
|
|
public
| attachBusyCursor (
loader: Object
): Void |
| attach the busy cursor to the progress event *
|
|
public
| confirm (
message: String, title: String, listener: Object
): IWindow |
| Displays a confirm DialogBox
|
|
public
| error (
message: String, listener: Object
): IWindow |
| Displays an error DialogBox
|
|
public static
| getInstance (
): Application |
| Returns a reference to the global application object
|
|
public
| getService (
serviceName: String
): Object |
| retrieve the specified service*
|
|
public
| getValue (
name: String, defaultValue: Object
): Object |
| Get a value from the application resources
|
|
public
| loadMainForm (
) |
| Loads the applications main User Interface
|
|
public static
| mtrace (
msg: String, method: String, file: String, line: Number
): Void |
| Support for MTASC trace feature*
|
|
public
| onLoadMainForm (
form
) |
| Callback by the main User Interface when it has loaded
|
|
public static
| onResize (
): Void |
| keep track of the size and position of the stage
|
|
public
| onStageResize (
): Void |
| Called when the stage is resized
|
|
public
| prompt (
message: String, title: String, icon: String, prompt: String, listener: Object
): IWindow |
| Displays a prompt dialog box with a text field for entering a value.
|
|
public
| registerForm (
form: IForm
): Void |
| register a from with the application *
|
|
public
| removeBusyCursor (
loader: Object
): Void |
| remove the busy cursor to the progress event *
|
|
public static
| Run (
moduleRoot: Object, mainFormId: String, config: Object
) |
| Creates the global application object
|
|
public
| setValue (
name: String, value: Object
): Void |
| Store a value into the application resources
|
|
public
| showAboutBox (
): Void |
| Displays the application About DialogBox
|
|
public
| showBusyCursor (
show: Boolean
): Void |
| Display a Wait DialogBox
|
|
public
| showCursor (
cursorId: String
): Void |
| Controls the displayed cursor
|
|
public
| showLoader (
message: String, title: String, loader: Object, indeterminate: Boolean, listener: Object
): IWindow |
| Displays the standard progress loader dialog
|
|
public
| showMessage (
message: String, title: String, icon: String, btns: Number, listener: Object
): IWindow |
| Displays the standard message dialog
|
|
public
| showToolTip (
state: Boolean, tgt: MovieClip, text: String, track: Boolean, maxWidth: Number
) |
| shows or hides the tooltip
|
|
public
| showWait (
message: String, title: String, listener: Object
): IWindow |
| Display a Wait DialogBox
|
|
public
| toString (
): String |
| Display Summary info
|
|
public
| unregisterForm (
form: IForm
): Void |
| unregister a from with the application *
|
|
|