elemental.html.KeygenElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-client Show documentation
Show all versions of vaadin-client Show documentation
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.
/*
* 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.dom.NodeList;
import elemental.events.*;
import elemental.util.*;
import elemental.dom.*;
import elemental.html.*;
import elemental.css.*;
import elemental.stylesheets.*;
import java.util.Date;
/**
* Note: This page describes the Keygen Element interface as specified, not as currently implemented by Gecko. See
bug 101019
for details and status.
*/
public interface KeygenElement extends Element {
/**
* Reflects the
autofocus
HTML attribute, indicating that the form control should have input focus when the page loads.
*/
boolean isAutofocus();
void setAutofocus(boolean arg);
/**
* Reflects the
challenge
HTML attribute, containing a challenge string that is packaged with the submitted key.
*/
String getChallenge();
void setChallenge(String arg);
/**
* Reflects the
disabled
HTML attribute, indicating that the control is not available for interaction.
*/
boolean isDisabled();
void setDisabled(boolean arg);
/**
* Indicates the control's form owner, reflecting the
form
HTML attribute if it is defined.
*/
FormElement getForm();
/**
* Reflects the
keytype
HTML attribute, containing the type of key used.
*/
String getKeytype();
void setKeytype(String arg);
/**
* A list of label elements associated with this keygen element.
*/
NodeList getLabels();
/**
* Reflects the
name
HTML attribute, containing the name for the control that is submitted with form data.
*/
String getName();
void setName(String arg);
/**
* Must be the value keygen
.
*/
String getType();
/**
* 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();
/**
* Always false because keygen
objects are never candidates for constraint validation.
*/
boolean isWillValidate();
/**
* Always returns true because keygen
objects are never candidates for constraint validation.
*/
boolean checkValidity();
/**
* 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);
}