io.qt.core.QMimeData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
/**
* Container for data that records information about its MIME type
* Java wrapper for Qt class QMimeData
*/
public class QMimeData extends io.qt.core.QObject
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QMimeData.class);
/**
*
*/
public QMimeData(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QMimeData instance);
/**
*
*/
@io.qt.QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QMimeData::colorData()const
*/
@io.qt.QtUninvokable
public final java.lang.Object colorData(){
return colorData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.Object colorData_native_constfct(long __this__nativeId);
/**
* See QMimeData::data(QString)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QByteArray data(java.lang.String mimetype){
return data_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mimetype);
}
@io.qt.QtUninvokable
private native io.qt.core.QByteArray data_native_cref_QString_constfct(long __this__nativeId, java.lang.String mimetype);
/**
* See QMimeData::hasColor()const
*/
@io.qt.QtUninvokable
public final boolean hasColor(){
return hasColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasColor_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final boolean hasHtml(){
return hasHtml_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasHtml_native_constfct(long __this__nativeId);
/**
* See QMimeData::hasImage()const
*/
@io.qt.QtUninvokable
public final boolean hasImage(){
return hasImage_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasImage_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final boolean hasText(){
return hasText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasText_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final boolean hasUrls(){
return hasUrls_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasUrls_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String html(){
return html_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String html_native_constfct(long __this__nativeId);
/**
* See QMimeData::imageData()const
*/
@io.qt.QtUninvokable
public final java.lang.Object imageData(){
return imageData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.Object imageData_native_constfct(long __this__nativeId);
/**
* See QMimeData::removeFormat(QString)
*/
@io.qt.QtUninvokable
public final void removeFormat(java.lang.String mimetype){
removeFormat_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), mimetype);
}
@io.qt.QtUninvokable
private native void removeFormat_native_cref_QString(long __this__nativeId, java.lang.String mimetype);
/**
* See QMimeData::setColorData(QVariant)
*/
@io.qt.QtUninvokable
public final void setColorData(java.lang.Object color){
setColorData_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), color);
}
@io.qt.QtUninvokable
private native void setColorData_native_cref_QVariant(long __this__nativeId, java.lang.Object color);
/**
* See QMimeData::setData(QString,QByteArray)
*/
@io.qt.QtUninvokable
public final void setData(java.lang.String mimetype, io.qt.core.QByteArray data){
setData_native_cref_QString_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), mimetype, QtJambi_LibraryUtilities.internal.checkedNativeId(data));
}
@io.qt.QtUninvokable
private native void setData_native_cref_QString_cref_QByteArray(long __this__nativeId, java.lang.String mimetype, long data);
/**
* See QMimeData::setHtml(QString)
*/
@io.qt.QtUninvokable
public final void setHtml(java.lang.String html){
setHtml_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), html);
}
@io.qt.QtUninvokable
private native void setHtml_native_cref_QString(long __this__nativeId, java.lang.String html);
/**
* See QMimeData::setImageData(QVariant)
*/
@io.qt.QtUninvokable
public final void setImageData(java.lang.Object image){
setImageData_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), image);
}
@io.qt.QtUninvokable
private native void setImageData_native_cref_QVariant(long __this__nativeId, java.lang.Object image);
/**
* See QMimeData::setText(QString)
*/
@io.qt.QtUninvokable
public final void setText(java.lang.String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@io.qt.QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QMimeData::setUrls(QList<QUrl>)
*/
@io.qt.QtUninvokable
public final void setUrls(java.util.Collection urls){
setUrls_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), urls);
}
@io.qt.QtUninvokable
private native void setUrls_native_cref_QList(long __this__nativeId, java.util.Collection urls);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QList urls(){
return urls_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QList urls_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public java.util.List formats(){
return formats_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.util.List formats_native_constfct(long __this__nativeId);
/**
* See QMimeData::hasFormat(QString)const
*/
@io.qt.QtUninvokable
public boolean hasFormat(java.lang.String mimetype){
return hasFormat_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mimetype);
}
@io.qt.QtUninvokable
private native boolean hasFormat_native_cref_QString_constfct(long __this__nativeId, java.lang.String mimetype);
/**
* See QMimeData::retrieveData(QString,QMetaType)const
*/
@io.qt.QtUninvokable
protected java.lang.Object retrieveData(java.lang.String mimetype, io.qt.core.QMetaType preferredType){
return retrieveData_native_cref_QString_QMetaType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mimetype, QtJambi_LibraryUtilities.internal.checkedNativeId(preferredType));
}
@io.qt.QtUninvokable
private native java.lang.Object retrieveData_native_cref_QString_QMetaType_constfct(long __this__nativeId, java.lang.String mimetype, long preferredType);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QMimeData(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QMimeData(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QMimeData instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy