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

elemental.html.ImageElement 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.*;
import elemental.util.*;
import elemental.dom.*;
import elemental.html.*;
import elemental.css.*;
import elemental.stylesheets.*;

import java.util.Date;

/**
  * DOM image objects expose the HTMLImageElement (or 
HTML 4 HTMLImageElement) interface, which provides special properties and methods (beyond the regular element
 object interface they also have available to them by inheritance) for manipulating the layout and presentation of input elements.
  */
public interface ImageElement extends Element {


  /**
    * Indicates the alignment of the image with respect to the surrounding context.
    */
  String getAlign();

  void setAlign(String arg);


  /**
    * Reflects the 

alt
 HTML attribute, indicating fallback context for the image.
    */
  String getAlt();

  void setAlt(String arg);


  /**
    * Width of the border around the image.
    */
  String getBorder();

  void setBorder(String arg);


  /**
    * True if the browser has fetched the image, and it is in a supported image type that was decoded without errors.
    */
  boolean isComplete();


  /**
    * The CORS setting for this image element. See CORS settings attributes for details.
    */
  String getCrossOrigin();

  void setCrossOrigin(String arg);


  /**
    * Reflects the 

height
 HTML attribute, indicating the rendered height of the image in CSS pixels.
    */
  int getHeight();

  void setHeight(int arg);


  /**
    * Space to the left and right of the image.
    */
  int getHspace();

  void setHspace(int arg);


  /**
    * Reflects the 

ismap
 HTML attribute, indicating that the image is part of a server-side image map.
    */
  boolean isMap();

  void setIsMap(boolean arg);


  /**
    * URI of a long description of the image.
    */
  String getLongDesc();

  void setLongDesc(String arg);


  /**
    * A reference to a low-quality (but faster to load) copy of the image.
    */
  String getLowsrc();

  void setLowsrc(String arg);

  String getName();

  void setName(String arg);


  /**
    * Intrinsic height of the image in CSS pixels, if it is available; otherwise, 0.
    */
  int getNaturalHeight();


  /**
    * Intrinsic width of the image in CSS pixels, if it is available; otherwise, 0.
    */
  int getNaturalWidth();


  /**
    * Reflects the 

src
 HTML attribute, containing the URL of the image.
    */
  String getSrc();

  void setSrc(String arg);


  /**
    * Reflects the 

usemap
 HTML attribute, containing a partial URL of a map element.
    */
  String getUseMap();

  void setUseMap(String arg);


  /**
    * Space above and below the image.
    */
  int getVspace();

  void setVspace(int arg);


  /**
    * Reflects the 

width
 HTML attribute, indicating the rendered width of the image in CSS pixels.
    */
  int getWidth();

  void setWidth(int arg);

  int getX();

  int getY();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy