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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/HTMLTableElement.h>

class HTMLTableElementJBridge : public DOM::HTMLTableElement
{
public:
	HTMLTableElementJBridge() : DOM::HTMLTableElement() {};
	HTMLTableElementJBridge(const DOM::HTMLTableElement& arg1) : DOM::HTMLTableElement(arg1) {};
	HTMLTableElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableElement(arg1) {};
};

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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_caption(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableCaptionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->caption()), "org.trinitydesktop.koala.HTMLTableCaptionElement", true);
	return xret;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_createCaption(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createCaption()), "org.trinitydesktop.koala.HTMLElement", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_createTFoot(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createTFoot()), "org.trinitydesktop.koala.HTMLElement", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_createTHead(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createTHead()), "org.trinitydesktop.koala.HTMLElement", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_deleteCaption(JNIEnv* env, jobject obj)
{
	((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteCaption();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_deleteRow(JNIEnv* env, jobject obj, jlong index)
{
	((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteRow((long) index);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_deleteTFoot(JNIEnv* env, jobject obj)
{
	((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteTFoot();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_deleteTHead(JNIEnv* env, jobject obj)
{
	((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteTHead();
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_insertRow(JNIEnv* env, jobject obj, jlong index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->insertRow((long) index)), "org.trinitydesktop.koala.HTMLElement", true);
	return xret;
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_rows(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->rows()), "org.trinitydesktop.koala.HTMLCollection", true);
	return xret;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_setCaption(JNIEnv* env, jobject obj, jobject arg1)
{
	((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setCaption((const DOM::HTMLTableCaptionElement&)*(const DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_setTFoot(JNIEnv* env, jobject obj, jobject arg1)
{
	((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setTFoot((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_setTHead(JNIEnv* env, jobject obj, jobject arg1)
{
	((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setTHead((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_tBodies(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tBodies()), "org.trinitydesktop.koala.HTMLCollection", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_tFoot(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableSectionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tFoot()), "org.trinitydesktop.koala.HTMLTableSectionElement", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLTableElement_tHead(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableSectionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tHead()), "org.trinitydesktop.koala.HTMLTableSectionElement", true);
	return xret;
}

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

