| || ||The related nsIBrowserDOMWindow instance which provides access to yet another layer of utility functions by chrome script. It will be |
| || ||Read only.|
| || ||Obsolete since Gecko 1.9.1|
| || ||Returns current window state, the value is one of |
| || ||The window is maximized.|
| || ||The window is minimized.|
| || ||The window is normal.|
| || ||The window is in full screen mode.|
On some operating systems, we must allow the window manager to handle window dragging. This method tells the window manager to start dragging the window. This method will fail unless called while the left mouse button is held down, callers must check this.
void beginWindowMove( in nsIDOMEvent mouseDownEvent );
- If the operating system does not support this method.
getAttention method excepting that this can specify the maximum number of times to animate the window per system conventions.
void getAttentionWithCycleCount( in long aCycleCount );
- The maximum number of times to animate the window per system conventions. If set to -1, cycles indefinitely until window is brought into the foreground. This behavior is same as
Maximizes the window.
Minimizes the window.
When a document has been loaded, the document can notify the default button of the document to the window by using this method.
When this method is called on Windows, Gecko moves the mouse cursor to center of the button if the auto cursor snap setting is enabled on the system. However, when the window isn't active at that time, the cursor isn't moved. On other systems, this method doesn't have any reaction currently.
This method is called automatically on dialog element or wizard element of XUL. If some XUL applications create a dialog like window which has a default button but it's not created by the dialog/wizard element, the applications should call this method for the accessibility and the usability on Windows at onload event.
void notifyDefaultButtonLoaded( in nsIDOMElement defaultButton );
- The default button element of the window.
Restores the size and position of the window.
Sets the mouse cursor to the specified cursor. The mouse cursor is locked to the specified cursor if it's not "
auto". At that time, the cursor has been never changed by cursor moving. After you call this method with "
auto", the cursor will be unlocked.
void setCursor( in DOMString cursor );
- You can specify same values of CSS cursor property (including
-moz-prefixed values). And there are special values: "
grabbing" and "
spinning". But they might be dropped in the future version, if you use the values, you should use