2 Copyright (C) 2011 Samsung Electronics
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef WebKitDOM_HTMLButtonElement_h
20 #define WebKitDOM_HTMLButtonElement_h
22 #include <WebKitDOM_Defines.h>
23 #include <WebKitDOM_HTMLElement.h>
30 #define WEBKITDOM_HTMLBUTTONELEMENT_INIT(objPtr) \
31 (((WebKitDOM_Object*)(objPtr))->p_coreObject) = 0; \
32 (((WebKitDOM_Object*)(objPtr))->deinit) = ewk_webkitdom_htmlbuttonelement_deinit
34 struct _WebKitDOM_HTMLButtonElement {
35 WebKitDOM_HTMLElement parent_object;
38 EAPI void ewk_webkitdom_htmlbuttonelement_get_form(WebKitDOM_HTMLButtonElement* self, WebKitDOM_HTMLFormElement* ret);
40 EAPI void ewk_webkitdom_htmlbuttonelement_get_form_action(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
41 EAPI void ewk_webkitdom_htmlbuttonelement_set_form_action(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String*);
43 EAPI void ewk_webkitdom_htmlbuttonelement_get_form_enctype(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
44 EAPI void ewk_webkitdom_htmlbuttonelement_set_form_enctype(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String*);
46 EAPI void ewk_webkitdom_htmlbuttonelement_get_form_method(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
47 EAPI void ewk_webkitdom_htmlbuttonelement_set_form_method(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String*);
49 EAPI Eina_Bool ewk_webkitdom_htmlbuttonelement_get_form_no_validate(WebKitDOM_HTMLButtonElement* self);
50 EAPI void ewk_webkitdom_htmlbuttonelement_set_form_no_validate(WebKitDOM_HTMLButtonElement* self, Eina_Bool);
52 EAPI void ewk_webkitdom_htmlbuttonelement_get_form_target(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
53 EAPI void ewk_webkitdom_htmlbuttonelement_set_form_target(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String*);
55 EAPI void ewk_webkitdom_htmlbuttonelement_get_validity(WebKitDOM_HTMLButtonElement* self, WebKitDOM_ValidityState* ret);
57 EAPI Eina_Bool ewk_webkitdom_htmlbuttonelement_get_disabled(WebKitDOM_HTMLButtonElement* self);
58 EAPI void ewk_webkitdom_htmlbuttonelement_set_disabled(WebKitDOM_HTMLButtonElement* self, Eina_Bool);
60 EAPI Eina_Bool ewk_webkitdom_htmlbuttonelement_get_autofocus(WebKitDOM_HTMLButtonElement* self);
61 EAPI void ewk_webkitdom_htmlbuttonelement_set_autofocus(WebKitDOM_HTMLButtonElement* self, Eina_Bool);
63 EAPI void ewk_webkitdom_htmlbuttonelement_get_name(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
64 EAPI void ewk_webkitdom_htmlbuttonelement_set_name(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String*);
66 EAPI void ewk_webkitdom_htmlbuttonelement_get_type(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
68 EAPI void ewk_webkitdom_htmlbuttonelement_get_value(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
69 EAPI void ewk_webkitdom_htmlbuttonelement_set_value(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String*);
71 EAPI Eina_Bool ewk_webkitdom_htmlbuttonelement_get_will_validate(WebKitDOM_HTMLButtonElement* self);
73 EAPI void ewk_webkitdom_htmlbuttonelement_get_validation_message(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* ret);
75 EAPI void ewk_webkitdom_htmlbuttonelement_get_labels(WebKitDOM_HTMLButtonElement* self, WebKitDOM_NodeList* ret);
78 EAPI Eina_Bool ewk_webkitdom_htmlbuttonelement_check_validity(WebKitDOM_HTMLButtonElement* self);
79 EAPI void ewk_webkitdom_htmlbuttonelement_set_custom_validity(WebKitDOM_HTMLButtonElement* self, WebKitDOM_String* error);
80 EAPI void ewk_webkitdom_htmlbuttonelement_click(WebKitDOM_HTMLButtonElement* self);
82 EAPI void ewk_webkitdom_htmlbuttonelement_deinit(const WebKitDOM_Object*);
83 EAPI void _copy_webkit_htmlbuttonelement(WebKitDOM_HTMLButtonElement* kitObjSrc, WebKitDOM_HTMLButtonElement* ret);