//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom_string.h>
#include <dom/dom_node.h>
#include <dom/html_form.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/HTMLTextAreaElement.h>

class HTMLTextAreaElementJBridge : public DOM::HTMLTextAreaElement
{
public:
	HTMLTextAreaElementJBridge() : DOM::HTMLTextAreaElement() {};
	HTMLTextAreaElementJBridge(const DOM::HTMLTextAreaElement& arg1) : DOM::HTMLTextAreaElement(arg1) {};
	HTMLTextAreaElementJBridge(const DOM::Node& arg1) : DOM::HTMLTextAreaElement(arg1) {};
};

JNIEXPORT jstring JNICALL
Java_org_kde_koala_HTMLTextAreaElement_accessKey(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->accessKey();
	return KDESupport::fromDOMString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_blur(JNIEnv* env, jobject obj)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->blur();
	return;
}

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLTextAreaElement_cols(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->cols();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_HTMLTextAreaElement_defaultValue(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->defaultValue();
	return KDESupport::fromDOMString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_HTMLTextAreaElement_disabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->disabled();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_focus(JNIEnv* env, jobject obj)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->focus();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_HTMLTextAreaElement_formElement(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_HTMLTextAreaElement_name(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->name();
	return KDESupport::fromDOMString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_HTMLTextAreaElement_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge((const DOM::HTMLTextAreaElement&)*(const DOM::HTMLTextAreaElement*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_HTMLTextAreaElement_readOnly(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->readOnly();
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLTextAreaElement_rows(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->rows();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_select(JNIEnv* env, jobject obj)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->select();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setCols(JNIEnv* env, jobject obj, jlong arg1)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setCols((long) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setDefaultValue(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setDefaultValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setName(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setRows(JNIEnv* env, jobject obj, jlong arg1)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setRows((long) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1)
{
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTextAreaElement_setValue(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLTextAreaElement_tabIndex(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->tabIndex();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_HTMLTextAreaElement_type(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->type();
	return KDESupport::fromDOMString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_HTMLTextAreaElement_value(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->value();
	return KDESupport::fromDOMString(env, &_qstring);
}

