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

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

import java.util.Date;

/**
  * DOM fieldset elements expose the HTMLFieldSetElement  (
HTML 4 HTMLFieldSetElement) 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 field-set elements.
  */
public interface FieldSetElement extends Element {


  /**
    * Reflects the 

disabled
 HTML attribute, indicating whether the user can interact with the control.
    */
  boolean isDisabled();

  void setDisabled(boolean arg);


  /**
    * The elements belonging to this field set.
    */
  HTMLCollection getElements();


  /**
    * The containing form element, if this element is in a form. Otherwise, the element the name content attribute points to 
HTML5. (null in 
HTML 4.)
    */
  FormElement getForm();


  /**
    * Reflects the 

name
 HTML attribute, containing the name of the field set, used for submitting the form.
    */
  String getName();

  void setName(String arg);


  /**
    * Must be the string fieldset.
    */
  String getType();


  /**
    * A localized message that describes the validation constraints that the element does not satisfy (if any). This is the empty string if the element  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();


  /**
    * Always false because fieldset objects are never candidates for constraint validation.
    */
  boolean isWillValidate();


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


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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy