## Uses of Class
com.google.gwt.dom.client.Document

- Packages that use Document
  Package | Description
  --- | ---
  com.google.gwt.dom.client | Classes for low-level DOM programming.

- - ### Uses of Document in com.google.gwt.dom.client

    Methods in com.google.gwt.dom.client that return Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Document` | Document.`get()` | Gets the default document.
    `Document` | FrameElement.`getContentDocument()` | The document this frame contains, if there is any and it is available, or null otherwise.
    `Document` | IFrameElement.`getContentDocument()` | The document this frame contains, if there is any and it is available, or null otherwise.
    `Document` | ObjectElement.`getContentDocument()` | The document this object contains, if there is any and it is available, or null otherwise.
    `Document` | Node.`getOwnerDocument()` | The Document object associated with this node.

    Methods in com.google.gwt.dom.client with parameters of type Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `ButtonElement` | DOMImpl.`createButtonElement​(Document doc, java.lang.String type)` |
    `ButtonElement` | DOMImplStandardBase.`createButtonElement​(Document doc, java.lang.String type)` | Deprecated. The type property on a button element is read-only in safari, so we need to set it using setAttribute.
    `InputElement` | DOMImpl.`createCheckInputElement​(Document doc)` |
    `Element` | DOMImpl.`createElement​(Document doc, java.lang.String tag)` |
    `abstract NativeEvent` | DOMImpl.`createHtmlEvent​(Document doc, java.lang.String type, boolean canBubble, boolean cancelable)` |
    `NativeEvent` | DOMImplStandard.`createHtmlEvent​(Document doc, java.lang.String type, boolean canBubble, boolean cancelable)` | Deprecated.
    `InputElement` | DOMImpl.`createInputElement​(Document doc, java.lang.String type)` |
    `abstract InputElement` | DOMImpl.`createInputRadioElement​(Document doc, java.lang.String name)` |
    `InputElement` | DOMImplStandard.`createInputRadioElement​(Document doc, java.lang.String name)` | Deprecated.
    `abstract NativeEvent` | DOMImpl.`createKeyCodeEvent​(Document document, java.lang.String type, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode)` |
    `NativeEvent` | DOMImplMozilla.`createKeyCodeEvent​(Document doc, java.lang.String type, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode)` |
    `NativeEvent` | DOMImplStandardBase.`createKeyCodeEvent​(Document doc, java.lang.String type, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode)` | Deprecated.
    `abstract NativeEvent` | DOMImpl.`createKeyEvent​(Document doc, java.lang.String type, boolean canBubble, boolean cancelable, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode)` | Deprecated.
    `NativeEvent` | DOMImplMozilla.`createKeyEvent​(Document doc, java.lang.String type, boolean canBubble, boolean cancelable, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode)` | Deprecated.
    `NativeEvent` | DOMImplStandardBase.`createKeyEvent​(Document doc, java.lang.String type, boolean canBubble, boolean cancelable, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int keyCode, int charCode)` | Deprecated.
    `abstract NativeEvent` | DOMImpl.`createKeyPressEvent​(Document document, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int charCode)` |
    `NativeEvent` | DOMImplMozilla.`createKeyPressEvent​(Document doc, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int charCode)` |
    `NativeEvent` | DOMImplStandardBase.`createKeyPressEvent​(Document doc, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int charCode)` | Deprecated.
    `abstract NativeEvent` | DOMImpl.`createMouseEvent​(Document doc, java.lang.String type, boolean canBubble, boolean cancelable, int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button, Element relatedTarget)` |
    `NativeEvent` | DOMImplStandard.`createMouseEvent​(Document doc, java.lang.String type, boolean canBubble, boolean cancelable, int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, int button, Element relatedTarget)` | Deprecated.
    `ScriptElement` | DOMImpl.`createScriptElement​(Document doc, java.lang.String source)` |
    `ScriptElement` | DOMImplStandardBase.`createScriptElement​(Document doc, java.lang.String source)` | Deprecated. Safari 2 does not support `ScriptElement.setText(String)`.
    `int` | DOMImpl.`getBodyOffsetLeft​(Document doc)` |
    `int` | DOMImplMozilla.`getBodyOffsetLeft​(Document doc)` |
    `int` | DOMImpl.`getBodyOffsetTop​(Document doc)` |
    `int` | DOMImplMozilla.`getBodyOffsetTop​(Document doc)` |
    `(package private) Element` | DOMImpl.`getDocumentScrollingElement​(Document doc)` |
    `(package private) Element` | DOMImplStandard.`getDocumentScrollingElement​(Document doc)` | Deprecated.
    `(package private) Element` | DOMImplStandard.`getLegacyDocumentScrollingElement​(Document doc)` | Deprecated.
    `(package private) Element` | DOMImplWebkit.`getLegacyDocumentScrollingElement​(Document doc)` |
    `(package private) Element` | DOMImplStandard.`getNativeDocumentScrollingElement​(Document doc)` | Deprecated.
    `int` | DOMImpl.`getScrollLeft​(Document doc)` |
    `int` | DOMImpl.`getScrollTop​(Document doc)` |
    `void` | DOMImpl.`setScrollLeft​(Document doc, int left)` |
    `void` | DOMImpl.`setScrollTop​(Document doc, int top)` |