An invisible module that works behind the scenes to control and coordinate all
the other Storyboard modules (<code>$CTL)</code>The controller modules exposes interfaces for
session information, modules management, settings management,
layout management, and general-purpose signals, errors, and keyboard handling.(c) SAP AG 2003-2006. All rights reserved.
Gets the type of browser that hosts the Storyboard environment.The possible property values are:
<table class="BOTH"><tr><td class="H V">Value </td><td class=H>Description </td></tr><tr><td class=V>IE6 </td><td>Storyboard is hosted by the IE6 browser </td></tr><tr><td class=V>HTA </td><td>Storyboard is hosted as a standalone HTML application </td></tr></table>
Gets or sets the Storyboard window caption.
Gets the table of the registered modules, indexed by module Id.<q ref="core.dev:Controller!registerModule">registerModule</q>
Indicates whether GMLDOM SDK is enabled.
Gets the absolute url of the Storyboard server.
Gets the browser window which hosts the Storyboard environment.
cleans up any resources that are taken by Storyboard window (for example, sub-windows).
Closes the currently open model.
Exits the Storyboard environment.
Returns a reference to the specified helper window.Id of helper window to retrieve.The requested helper window reference.
Registers the given module object.The module to register.<q ref="core.dev:Controller!modules">modules</q>
Resets the current settings.Indicates whether a confirmation prompt should be issued before the operation is carried out.Indicates whether the settings were actually reset.
Resets the current variables which is in the scope of the user.Indicates whether the Variables were actually reset.
Saves the current settings.
Fires whenever a settings variable is changed.The name of the settings variable that was changed.The new variable's value.
Fires when the Storyboard is being exited.
Indicates whether the Storyboard is in right-to-left mode.
Hides the taskpanel from view.
Brings the taskpanel into view.
Gets the console.
Updates the Storyboard screen layout.
Toggles the detailed view visibility state.
Toggles the task panel visibility state.
Gets an object describing the current drag and drop operation.
Disables drag and drop.
Enables drag and drop.
Sets the current drop effect.The drag and drop event object.Drop effect to use.
Starts a drag and drop operation, and waits until the operation is completed.A DND object filled with data required for starting the DND operation.A notification function that, if provided, will be continuously invoked while the DND operation is taking place.The DND object, in case the drag and drop operation was completed successfully. Otherwise, returns <code>null</code>To begin a DND operation, the <code>dnd</code> object must be filled according to:
<table class="SIMPLE" style="width:auto"><tr><td class="H V">Member </td><td class=H>Initial value </td></tr><tr><td class=V>source </td><td>required </td></tr><tr><td class=V>icon </td><td>optional </td></tr><tr><td class=V>label </td><td>optional </td></tr><tr><td class=V>link </td><td>optional </td></tr></table>
The remaining members of the <code>dnd</code> object should be left empty. They will be filled automatically
as the DND operation progresses.
Represents the current state of a drag and drop (DND) operation.The DND_OBJECT is a structure made of the following members:
<table class="BOTH"><tr><td class="H V">Member </td><td class=H>Type </td><td class=H>Applies to </td><td class=H>Description </td></tr><tr><td class=V>status </td><td><q ref="core.dev:Controller!DND_STATUS">DND_STATUS</q> </td><td>always </td><td>The current status of the DND operation </td></tr><tr><td class=V>command </td><td><q ref="core.dev:Controller!DND_COMMAND">DND_COMMAND</q> </td><td>always </td><td>The current command of the DND operation </td></tr><tr><td class=V>gmlclass </td><td>String </td><td>always </td><td>The GML class represented by the sprite </td></tr><tr><td class=V>icon </td><td>String </td><td>always </td><td>The url of the sprite icon to use for the DND operation, if any </td></tr><tr><td class=V>label </td><td>String </td><td>always </td><td>The text of the sprite label to use for the DND operation, if any </td></tr><tr><td class=V>link </td><td>String </td><td>always </td><td>The hyperlink to associate with the DND operation, if any </td></tr><tr><td class=V>source </td><td>Object </td><td>always </td><td>An object describing the drag source </td></tr><tr><td class=V>targetSite </td><td>String </td><td>DND_FINISHED </td><td>An string identifying the drop target's site. A <code>null</code> indicates there is no valid drop target. </td></tr><tr><td class=V>target </td><td>Object </td><td>DND_FINISHED </td><td>An object describing the drop target. A <code>null</code> indicates there is no valid drop target. </td></tr><tr><td class=V>point </td><td>Point </td><td>DND_FINISHED </td><td>The drop point, in logical units relative to the target's origin </td></tr></table>
An enumeration of the drag and drop (DND) command flags.The basic DND commands used for DND operations:
<table class="BOTH"><tr><td class="H V">Name </td><td class=H>Code </td><td class=H>Description </td></tr><tr><td class=V>DND_NONE </td><td>0x00 </td><td>None </td></tr><tr><td class=V>DND_MOVE </td><td>0x01 </td><td>Move </td></tr><tr><td class=V>DND_COPY </td><td>0x02 </td><td>Copy </td></tr><tr><td class=V>DND_LINK </td><td>0x04 </td><td>Link </td></tr><tr><td class=V>DND_ALL </td><td>0x0F </td><td>All </td></tr></table>
An enumeration of drag and drop (DND) status values.<table class="BOTH"><tr><td class="H V">Code </td><td class=H>Description </td></tr><tr><td class=V>0 </td><td>Idle </td></tr><tr><td class=V>1 </td><td>Drag started </td></tr><tr><td class=V>2 </td><td>Drag engaged (moved a minimal distance) </td></tr><tr><td class=V>3 </td><td>Dropped </td></tr></table>
Gets or sets the global hotkeys table.
Clears the specified key throb.The key code (e.g., <code>C112)</code><q ref="core.dev:Controller!setKeyThrob">setKeyThrob</q>
Hides the keyboard input caret.
Receives and processes a keystroke.The keyboard event object representing the keystroke to process.<code>false=keystroke</code> was consumed, <code>void=not</code> consumed.
Sets a key throb (a one-time callback function for a specified key).The key code (e.g., <code>C112)</code>The callback function.<q ref="core.dev:Controller!clearKeyThrob">clearKeyThrob</q>