All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental.html.BodyElement Maven / Gradle / Ivy

Go to download

This module exists solely to package all other gwt modules into a single uber jar. This makes deploying to non-mavenized targets much easier. Of course, you would be wise to inherit your dependencies individually; the uber jar is intended for projects like collide, which have complex configuration, and adding many jars would be a pain.

The newest version!
/*
 * Copyright 2012 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package elemental.html;
import elemental.dom.Element;
import elemental.events.EventListener;

import elemental.events.*;
import elemental.util.*;
import elemental.dom.*;
import elemental.html.*;
import elemental.css.*;
import elemental.stylesheets.*;

import java.util.Date;

/**
  * DOM body elements expose the HTMLBodyElement (or 
HTML 4 HTMLBodyElement) interface, which provides special properties (beyond the regular element
 object interface they also have available to them by inheritance) for manipulating body elements.
  */
public interface BodyElement extends Element {


  /**
    * Color of active hyperlinks.
    */
  String getALink();

  void setALink(String arg);


  /**
    * 

URI for a background image resource.

Note: Starting in Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4) , this value is no longer resolved as a URI; instead, it's treated as a simple string.
*/ String getBackground(); void setBackground(String arg); /** * Background color for the document. */ String getBgColor(); void setBgColor(String arg); /** * Color of unvisited links. */ String getLink(); void setLink(String arg); /** * Reflects the onbeforeunload HTML attribute value for a function to call when the document is about to be unloaded. */ EventListener getOnbeforeunload(); void setOnbeforeunload(EventListener arg); /** *

Exposes the window.onblur event handler to call when the window loses focus.

Note: This handler is triggered when the event reaches the window, not the body element. Use addEventListener() to attach an event listener to the body element.
*/ EventListener getOnblur(); void setOnblur(EventListener arg); /** *

Exposes the window.onerror event handler to call when the document fails to load properly.

Note: This handler is triggered when the event reaches the window, not the body element. Use addEventListener() to attach an event listener to the body element.
*/ EventListener getOnerror(); void setOnerror(EventListener arg); /** *

Exposes the window.onfocus event handler to call when the window gains focus.

Note: This handler is triggered when the event reaches the window, not the body element. Use addEventListener() to attach an event listener to the body element.
*/ EventListener getOnfocus(); void setOnfocus(EventListener arg); /** * Reflects the onhashchange HTML attribute value for a function to call when the fragment identifier in the address of the document changes. */ EventListener getOnhashchange(); void setOnhashchange(EventListener arg); /** *

Exposes the window.onload event handler to call when the window gains focus.

Note: This handler is triggered when the event reaches the window, not the body element. Use addEventListener() to attach an event listener to the body element.
*/ EventListener getOnload(); void setOnload(EventListener arg); /** * Reflects the onmessage HTML attribute value for a function to call when the document receives a message. */ EventListener getOnmessage(); void setOnmessage(EventListener arg); /** * Reflects the onoffline HTML attribute value for a function to call when network communication fails. */ EventListener getOnoffline(); void setOnoffline(EventListener arg); /** * Reflects the ononline HTML attribute value for a function to call when network communication is restored. */ EventListener getOnonline(); void setOnonline(EventListener arg); /** * Reflects the onpopstate HTML attribute value for a function to call when the user has navigated session history. */ EventListener getOnpopstate(); void setOnpopstate(EventListener arg); /** * Reflects the onresize HTML attribute value for a function to call when the document has been resized. */ EventListener getOnresize(); void setOnresize(EventListener arg); /** * Reflects the onpopstate HTML attribute value for a function to call when the storage area has changed. */ EventListener getOnstorage(); void setOnstorage(EventListener arg); /** * Reflects the onunload HTML attribute value for a function to call when when the document is going away. */ EventListener getOnunload(); void setOnunload(EventListener arg); /** * Foreground color of text. */ String getText(); void setText(String arg); /** * Color of visited links. */ String getVLink(); void setVLink(String arg); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy