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

elemental.html.ObjectElement Maven / Gradle / Ivy

Go to download

Vaadin is a web application framework for Rich Internet Applications (RIA). Vaadin enables easy development and maintenance of fast and secure rich web applications with a stunning look and feel and a wide browser support. It features a server-side architecture with the majority of the logic running on the server. Ajax technology is used at the browser-side to ensure a rich and interactive user experience.

There is a newer version: 8.27.1
Show 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.svg.SVGDocument;
import elemental.dom.Document;

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

import java.util.Date;

/**
  * DOM Object objects expose the HTMLObjectElement (or HTML 4 HTMLObjectElement) 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 Object element, representing external resources.
  */
public interface ObjectElement extends Element {


  /**
    * Alignment of the object relative to its context. 

Obsolete in 
HTML5.
    */
  String getAlign();

  void setAlign(String arg);


  /**
    * Reflects the 

archive
 HTML attribute, containing a list of archives for resources for this object. 

Obsolete in 
HTML5.
    */
  String getArchive();

  void setArchive(String arg);


  /**
    * Reflects the 

border
 HTML attribute, specifying the width of a border around the object. 

Obsolete in 
HTML5.
    */
  String getBorder();

  void setBorder(String arg);


  /**
    * The name of an applet class file, containing either the applet's subclass, or the path to get to the class, including the class file itself. 

Obsolete in 
HTML5.
    */
  String getCode();

  void setCode(String arg);


  /**
    * Reflects the 

codebase
 HTML attribute, specifying the base path to use to resolve relative URIs. 

Obsolete in 
HTML5.
    */
  String getCodeBase();

  void setCodeBase(String arg);


  /**
    * Reflects the 

codetype
 HTML attribute, specifying the content type of the data. 

Obsolete in 
HTML5.
    */
  String getCodeType();

  void setCodeType(String arg);


  /**
    * The active document of the object element's nested browsing context, if any; otherwise null.
    */
  Document getContentDocument();


  /**
    * Reflects the 

data
 HTML attribute, specifying the address of a resource's data.
    */
  String getData();

  void setData(String arg);


  /**
    * Reflects the 

declare
 HTML attribute, indicating that this is a declaration, not an instantiation, of the object. 

Obsolete in 
HTML5.
    */
  boolean isDeclare();

  void setDeclare(boolean arg);


  /**
    * The object element's form owner, or null if there isn't one.
    */
  FormElement getForm();


  /**
    * Reflects the {{htmlattrxref("height", "object)}} HTML attribute, specifying the displayed height of the resource in CSS pixels.
    */
  String getHeight();

  void setHeight(String arg);


  /**
    * Horizontal space in pixels around the control. 

Obsolete in 
HTML5.
    */
  int getHspace();

  void setHspace(int arg);


  /**
    * Reflects the 

name
 HTML attribute, specifying the name of the object (
HTML 4, or of a browsing context (
HTML5.
    */
  String getName();

  void setName(String arg);


  /**
    * Reflects the 

standby
 HTML attribute, specifying a message to display while the object loads. 

Obsolete in 
HTML5.
    */
  String getStandby();

  void setStandby(String arg);


  /**
    * Reflects the {{htmlattrxref("type", "object)}} HTML attribute, specifying the MIME type of the resource.
    */
  String getType();

  void setType(String arg);


  /**
    * Reflects the {{htmlattrxref("usemap", "object)}} HTML attribute, specifying a {{HTMLElement("map")}} element to use.
    */
  String getUseMap();

  void setUseMap(String arg);


  /**
    * A localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
    */
  String getValidationMessage();


  /**
    * The validity states that this element is in.
    */
  ValidityState getValidity();


  /**
    * Horizontal space in pixels around the control. 

Obsolete in 
HTML5.
    */
  int getVspace();

  void setVspace(int arg);


  /**
    * Reflects the 

width
 HTML attribute, specifying the displayed width of the resource in CSS pixels.
    */
  String getWidth();

  void setWidth(String arg);


  /**
    * Indicates whether the element is a candidate for constraint validation. Always false for object objects.
    */
  boolean isWillValidate();


  /**
    * Always returns true, because object objects are never candidates for constraint validation.
    */
  boolean checkValidity();

  SVGDocument getSVGDocument();


  /**
    * Sets a custom validity message for the element. If this message is not the empty string, then the element is suffering from a custom validity error, and does not validate.
    */
  void setCustomValidity(String error);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy