// Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// WARNING: Do not edit - generated code.

class _HTMLInputElementWrappingImplementation extends _HTMLElementWrappingImplementation implements HTMLInputElement {
  _HTMLInputElementWrappingImplementation() : super() {}

  static create__HTMLInputElementWrappingImplementation() native {
    return new _HTMLInputElementWrappingImplementation();
  }

  String get accept() { return _get__HTMLInputElement_accept(this); }
  static String _get__HTMLInputElement_accept(var _this) native;

  void set accept(String value) { _set__HTMLInputElement_accept(this, value); }
  static void _set__HTMLInputElement_accept(var _this, String value) native;

  String get accessKey() { return _get__HTMLInputElement_accessKey(this); }
  static String _get__HTMLInputElement_accessKey(var _this) native;

  void set accessKey(String value) { _set__HTMLInputElement_accessKey(this, value); }
  static void _set__HTMLInputElement_accessKey(var _this, String value) native;

  String get align() { return _get__HTMLInputElement_align(this); }
  static String _get__HTMLInputElement_align(var _this) native;

  void set align(String value) { _set__HTMLInputElement_align(this, value); }
  static void _set__HTMLInputElement_align(var _this, String value) native;

  String get alt() { return _get__HTMLInputElement_alt(this); }
  static String _get__HTMLInputElement_alt(var _this) native;

  void set alt(String value) { _set__HTMLInputElement_alt(this, value); }
  static void _set__HTMLInputElement_alt(var _this, String value) native;

  String get autocomplete() { return _get__HTMLInputElement_autocomplete(this); }
  static String _get__HTMLInputElement_autocomplete(var _this) native;

  void set autocomplete(String value) { _set__HTMLInputElement_autocomplete(this, value); }
  static void _set__HTMLInputElement_autocomplete(var _this, String value) native;

  bool get autofocus() { return _get__HTMLInputElement_autofocus(this); }
  static bool _get__HTMLInputElement_autofocus(var _this) native;

  void set autofocus(bool value) { _set__HTMLInputElement_autofocus(this, value); }
  static void _set__HTMLInputElement_autofocus(var _this, bool value) native;

  bool get checked() { return _get__HTMLInputElement_checked(this); }
  static bool _get__HTMLInputElement_checked(var _this) native;

  void set checked(bool value) { _set__HTMLInputElement_checked(this, value); }
  static void _set__HTMLInputElement_checked(var _this, bool value) native;

  bool get defaultChecked() { return _get__HTMLInputElement_defaultChecked(this); }
  static bool _get__HTMLInputElement_defaultChecked(var _this) native;

  void set defaultChecked(bool value) { _set__HTMLInputElement_defaultChecked(this, value); }
  static void _set__HTMLInputElement_defaultChecked(var _this, bool value) native;

  String get defaultValue() { return _get__HTMLInputElement_defaultValue(this); }
  static String _get__HTMLInputElement_defaultValue(var _this) native;

  void set defaultValue(String value) { _set__HTMLInputElement_defaultValue(this, value); }
  static void _set__HTMLInputElement_defaultValue(var _this, String value) native;

  bool get disabled() { return _get__HTMLInputElement_disabled(this); }
  static bool _get__HTMLInputElement_disabled(var _this) native;

  void set disabled(bool value) { _set__HTMLInputElement_disabled(this, value); }
  static void _set__HTMLInputElement_disabled(var _this, bool value) native;

  FileList get files() { return _get__HTMLInputElement_files(this); }
  static FileList _get__HTMLInputElement_files(var _this) native;

  HTMLFormElement get form() { return _get__HTMLInputElement_form(this); }
  static HTMLFormElement _get__HTMLInputElement_form(var _this) native;

  String get formAction() { return _get__HTMLInputElement_formAction(this); }
  static String _get__HTMLInputElement_formAction(var _this) native;

  void set formAction(String value) { _set__HTMLInputElement_formAction(this, value); }
  static void _set__HTMLInputElement_formAction(var _this, String value) native;

  String get formEnctype() { return _get__HTMLInputElement_formEnctype(this); }
  static String _get__HTMLInputElement_formEnctype(var _this) native;

  void set formEnctype(String value) { _set__HTMLInputElement_formEnctype(this, value); }
  static void _set__HTMLInputElement_formEnctype(var _this, String value) native;

  String get formMethod() { return _get__HTMLInputElement_formMethod(this); }
  static String _get__HTMLInputElement_formMethod(var _this) native;

  void set formMethod(String value) { _set__HTMLInputElement_formMethod(this, value); }
  static void _set__HTMLInputElement_formMethod(var _this, String value) native;

  bool get formNoValidate() { return _get__HTMLInputElement_formNoValidate(this); }
  static bool _get__HTMLInputElement_formNoValidate(var _this) native;

  void set formNoValidate(bool value) { _set__HTMLInputElement_formNoValidate(this, value); }
  static void _set__HTMLInputElement_formNoValidate(var _this, bool value) native;

  String get formTarget() { return _get__HTMLInputElement_formTarget(this); }
  static String _get__HTMLInputElement_formTarget(var _this) native;

  void set formTarget(String value) { _set__HTMLInputElement_formTarget(this, value); }
  static void _set__HTMLInputElement_formTarget(var _this, String value) native;

  bool get incremental() { return _get__HTMLInputElement_incremental(this); }
  static bool _get__HTMLInputElement_incremental(var _this) native;

  void set incremental(bool value) { _set__HTMLInputElement_incremental(this, value); }
  static void _set__HTMLInputElement_incremental(var _this, bool value) native;

  bool get indeterminate() { return _get__HTMLInputElement_indeterminate(this); }
  static bool _get__HTMLInputElement_indeterminate(var _this) native;

  void set indeterminate(bool value) { _set__HTMLInputElement_indeterminate(this, value); }
  static void _set__HTMLInputElement_indeterminate(var _this, bool value) native;

  NodeList get labels() { return _get__HTMLInputElement_labels(this); }
  static NodeList _get__HTMLInputElement_labels(var _this) native;

  HTMLElement get list() { return _get__HTMLInputElement_list(this); }
  static HTMLElement _get__HTMLInputElement_list(var _this) native;

  String get max() { return _get__HTMLInputElement_max(this); }
  static String _get__HTMLInputElement_max(var _this) native;

  void set max(String value) { _set__HTMLInputElement_max(this, value); }
  static void _set__HTMLInputElement_max(var _this, String value) native;

  int get maxLength() { return _get__HTMLInputElement_maxLength(this); }
  static int _get__HTMLInputElement_maxLength(var _this) native;

  void set maxLength(int value) { _set__HTMLInputElement_maxLength(this, value); }
  static void _set__HTMLInputElement_maxLength(var _this, int value) native;

  String get min() { return _get__HTMLInputElement_min(this); }
  static String _get__HTMLInputElement_min(var _this) native;

  void set min(String value) { _set__HTMLInputElement_min(this, value); }
  static void _set__HTMLInputElement_min(var _this, String value) native;

  bool get multiple() { return _get__HTMLInputElement_multiple(this); }
  static bool _get__HTMLInputElement_multiple(var _this) native;

  void set multiple(bool value) { _set__HTMLInputElement_multiple(this, value); }
  static void _set__HTMLInputElement_multiple(var _this, bool value) native;

  String get name() { return _get__HTMLInputElement_name(this); }
  static String _get__HTMLInputElement_name(var _this) native;

  void set name(String value) { _set__HTMLInputElement_name(this, value); }
  static void _set__HTMLInputElement_name(var _this, String value) native;

  EventListener get onwebkitspeechchange() { return _get__HTMLInputElement_onwebkitspeechchange(this); }
  static EventListener _get__HTMLInputElement_onwebkitspeechchange(var _this) native;

  void set onwebkitspeechchange(EventListener value) { _set__HTMLInputElement_onwebkitspeechchange(this, value); }
  static void _set__HTMLInputElement_onwebkitspeechchange(var _this, EventListener value) native;

  String get pattern() { return _get__HTMLInputElement_pattern(this); }
  static String _get__HTMLInputElement_pattern(var _this) native;

  void set pattern(String value) { _set__HTMLInputElement_pattern(this, value); }
  static void _set__HTMLInputElement_pattern(var _this, String value) native;

  String get placeholder() { return _get__HTMLInputElement_placeholder(this); }
  static String _get__HTMLInputElement_placeholder(var _this) native;

  void set placeholder(String value) { _set__HTMLInputElement_placeholder(this, value); }
  static void _set__HTMLInputElement_placeholder(var _this, String value) native;

  bool get readOnly() { return _get__HTMLInputElement_readOnly(this); }
  static bool _get__HTMLInputElement_readOnly(var _this) native;

  void set readOnly(bool value) { _set__HTMLInputElement_readOnly(this, value); }
  static void _set__HTMLInputElement_readOnly(var _this, bool value) native;

  bool get required() { return _get__HTMLInputElement_required(this); }
  static bool _get__HTMLInputElement_required(var _this) native;

  void set required(bool value) { _set__HTMLInputElement_required(this, value); }
  static void _set__HTMLInputElement_required(var _this, bool value) native;

  HTMLOptionElement get selectedOption() { return _get__HTMLInputElement_selectedOption(this); }
  static HTMLOptionElement _get__HTMLInputElement_selectedOption(var _this) native;

  String get selectionDirection() { return _get__HTMLInputElement_selectionDirection(this); }
  static String _get__HTMLInputElement_selectionDirection(var _this) native;

  void set selectionDirection(String value) { _set__HTMLInputElement_selectionDirection(this, value); }
  static void _set__HTMLInputElement_selectionDirection(var _this, String value) native;

  int get selectionEnd() { return _get__HTMLInputElement_selectionEnd(this); }
  static int _get__HTMLInputElement_selectionEnd(var _this) native;

  void set selectionEnd(int value) { _set__HTMLInputElement_selectionEnd(this, value); }
  static void _set__HTMLInputElement_selectionEnd(var _this, int value) native;

  int get selectionStart() { return _get__HTMLInputElement_selectionStart(this); }
  static int _get__HTMLInputElement_selectionStart(var _this) native;

  void set selectionStart(int value) { _set__HTMLInputElement_selectionStart(this, value); }
  static void _set__HTMLInputElement_selectionStart(var _this, int value) native;

  int get size() { return _get__HTMLInputElement_size(this); }
  static int _get__HTMLInputElement_size(var _this) native;

  void set size(int value) { _set__HTMLInputElement_size(this, value); }
  static void _set__HTMLInputElement_size(var _this, int value) native;

  String get src() { return _get__HTMLInputElement_src(this); }
  static String _get__HTMLInputElement_src(var _this) native;

  void set src(String value) { _set__HTMLInputElement_src(this, value); }
  static void _set__HTMLInputElement_src(var _this, String value) native;

  String get step() { return _get__HTMLInputElement_step(this); }
  static String _get__HTMLInputElement_step(var _this) native;

  void set step(String value) { _set__HTMLInputElement_step(this, value); }
  static void _set__HTMLInputElement_step(var _this, String value) native;

  String get type() { return _get__HTMLInputElement_type(this); }
  static String _get__HTMLInputElement_type(var _this) native;

  void set type(String value) { _set__HTMLInputElement_type(this, value); }
  static void _set__HTMLInputElement_type(var _this, String value) native;

  String get useMap() { return _get__HTMLInputElement_useMap(this); }
  static String _get__HTMLInputElement_useMap(var _this) native;

  void set useMap(String value) { _set__HTMLInputElement_useMap(this, value); }
  static void _set__HTMLInputElement_useMap(var _this, String value) native;

  String get validationMessage() { return _get__HTMLInputElement_validationMessage(this); }
  static String _get__HTMLInputElement_validationMessage(var _this) native;

  ValidityState get validity() { return _get__HTMLInputElement_validity(this); }
  static ValidityState _get__HTMLInputElement_validity(var _this) native;

  String get value() { return _get__HTMLInputElement_value(this); }
  static String _get__HTMLInputElement_value(var _this) native;

  void set value(String value) { _set__HTMLInputElement_value(this, value); }
  static void _set__HTMLInputElement_value(var _this, String value) native;

  DateTime get valueAsDate() { return _get__HTMLInputElement_valueAsDate(this); }
  static DateTime _get__HTMLInputElement_valueAsDate(var _this) native;

  void set valueAsDate(DateTime value) { _set__HTMLInputElement_valueAsDate(this, value); }
  static void _set__HTMLInputElement_valueAsDate(var _this, DateTime value) native;

  num get valueAsNumber() { return _get__HTMLInputElement_valueAsNumber(this); }
  static num _get__HTMLInputElement_valueAsNumber(var _this) native;

  void set valueAsNumber(num value) { _set__HTMLInputElement_valueAsNumber(this, value); }
  static void _set__HTMLInputElement_valueAsNumber(var _this, num value) native;

  bool get webkitGrammar() { return _get__HTMLInputElement_webkitGrammar(this); }
  static bool _get__HTMLInputElement_webkitGrammar(var _this) native;

  void set webkitGrammar(bool value) { _set__HTMLInputElement_webkitGrammar(this, value); }
  static void _set__HTMLInputElement_webkitGrammar(var _this, bool value) native;

  bool get webkitSpeech() { return _get__HTMLInputElement_webkitSpeech(this); }
  static bool _get__HTMLInputElement_webkitSpeech(var _this) native;

  void set webkitSpeech(bool value) { _set__HTMLInputElement_webkitSpeech(this, value); }
  static void _set__HTMLInputElement_webkitSpeech(var _this, bool value) native;

  bool get webkitdirectory() { return _get__HTMLInputElement_webkitdirectory(this); }
  static bool _get__HTMLInputElement_webkitdirectory(var _this) native;

  void set webkitdirectory(bool value) { _set__HTMLInputElement_webkitdirectory(this, value); }
  static void _set__HTMLInputElement_webkitdirectory(var _this, bool value) native;

  bool get willValidate() { return _get__HTMLInputElement_willValidate(this); }
  static bool _get__HTMLInputElement_willValidate(var _this) native;

  bool checkValidity() {
    return _checkValidity(this);
  }
  static bool _checkValidity(receiver) native;

  void click() {
    _click(this);
    return;
  }
  static void _click(receiver) native;

  void select() {
    _select(this);
    return;
  }
  static void _select(receiver) native;

  void setCustomValidity(String error) {
    _setCustomValidity(this, error);
    return;
  }
  static void _setCustomValidity(receiver, error) native;

  void setSelectionRange(int start = null, int end = null, String direction = null) {
    if (start === null) {
      if (end === null) {
        if (direction === null) {
          _setSelectionRange(this);
          return;
        }
      }
    } else {
      if (end === null) {
        if (direction === null) {
          _setSelectionRange_2(this, start);
          return;
        }
      } else {
        if (direction === null) {
          _setSelectionRange_3(this, start, end);
          return;
        } else {
          _setSelectionRange_4(this, start, end, direction);
          return;
        }
      }
    }
    throw "Incorrect number or type of arguments";
  }
  static void _setSelectionRange(receiver) native;
  static void _setSelectionRange_2(receiver, start) native;
  static void _setSelectionRange_3(receiver, start, end) native;
  static void _setSelectionRange_4(receiver, start, end, direction) native;

  void setValueForUser(String value) {
    _setValueForUser(this, value);
    return;
  }
  static void _setValueForUser(receiver, value) native;

  void stepDown(int n = null) {
    if (n === null) {
      _stepDown(this);
      return;
    } else {
      _stepDown_2(this, n);
      return;
    }
  }
  static void _stepDown(receiver) native;
  static void _stepDown_2(receiver, n) native;

  void stepUp(int n = null) {
    if (n === null) {
      _stepUp(this);
      return;
    } else {
      _stepUp_2(this, n);
      return;
    }
  }
  static void _stepUp(receiver) native;
  static void _stepUp_2(receiver, n) native;

  String get typeName() { return "HTMLInputElement"; }
}
