All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QItemEditorFactory Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

Widgets for editing item data in views and delegates

*

Java wrapper for Qt class QItemEditorFactory

*/ public class QItemEditorFactory extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QItemEditorFactory::QItemEditorFactory()

*/ public QItemEditorFactory(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QItemEditorFactory instance); /** *

See QItemEditorFactory::QItemEditorFactory(QItemEditorFactory)

*/ public QItemEditorFactory(io.qt.widgets.@StrictNonNull QItemEditorFactory other){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); initialize_native(this, other); } private native static void initialize_native(QItemEditorFactory instance, io.qt.widgets.QItemEditorFactory other); /** *

See QItemEditorFactory::registerEditor(int,QItemEditorCreatorBase*)

*/ @QtUninvokable public final void registerEditor(int userType, io.qt.widgets.@Nullable QItemEditorCreatorBase creator){ registerEditor_native_int_QItemEditorCreatorBase_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), userType, QtJambi_LibraryUtilities.internal.checkedNativeId(creator)); } @QtUninvokable private native void registerEditor_native_int_QItemEditorCreatorBase_ptr(long __this__nativeId, int userType, long creator); /** *

See QItemEditorFactory::createEditor(int,QWidget*)const

*/ @QtUninvokable public io.qt.widgets.@Nullable QWidget createEditor(int userType, io.qt.widgets.@Nullable QWidget parent){ return createEditor_native_int_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), userType, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native io.qt.widgets.QWidget createEditor_native_int_QWidget_ptr_constfct(long __this__nativeId, int userType, long parent); /** *

See QItemEditorFactory::valuePropertyName(int)const

*/ @QtUninvokable public io.qt.core.@NonNull QByteArray valuePropertyName(int userType){ return valuePropertyName_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), userType); } @QtUninvokable private native io.qt.core.QByteArray valuePropertyName_native_int_constfct(long __this__nativeId, int userType); /** *

See QItemEditorFactory::defaultFactory()

*/ public native static io.qt.widgets.@Nullable QItemEditorFactory defaultFactory(); /** *

See QItemEditorFactory::setDefaultFactory(QItemEditorFactory*)

*/ public static void setDefaultFactory(io.qt.widgets.@Nullable QItemEditorFactory factory){ setDefaultFactory_native_QItemEditorFactory_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(factory)); } private native static void setDefaultFactory_native_QItemEditorFactory_ptr(long factory); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QItemEditorFactory(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QItemEditorFactory::QItemEditorFactory(QItemEditorFactory)

*/ @QtUninvokable @Override public QItemEditorFactory clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QItemEditorFactory clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy