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

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

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

import io.qt.*;


/**
 * 

Abstract item that a QLayout manipulates

*

Java wrapper for Qt class QLayoutItem

*/ public interface QLayoutItem extends QtObjectInterface { /** * @hidden *

Implementor class for interface {@link io.qt.widgets.QLayoutItem}

*/ public static abstract class Impl extends QtObject implements io.qt.widgets.QLayoutItem { static { QtJambi_LibraryUtilities.initialize(); } @NativeAccess private static final class ConcreteWrapper extends QLayoutItem.Impl { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @QtUninvokable public io.qt.core.Qt.@NonNull Orientations expandingDirections(){ return new io.qt.core.Qt.Orientations(expandingDirections_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } private native static int expandingDirections_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.core.@NonNull QRect geometry(){ return geometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QRect geometry_native_constfct(long __this__nativeId); @Override @QtUninvokable public boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean isEmpty_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.core.@NonNull QSize maximumSize(){ return maximumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QSize maximumSize_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.core.@NonNull QSize minimumSize(){ return minimumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QSize minimumSize_native_constfct(long __this__nativeId); @Override @QtUninvokable public void setGeometry(io.qt.core.@NonNull QRect arg__1){ setGeometry_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native static void setGeometry_native_cref_QRect(long __this__nativeId, long arg__1); @Override @QtUninvokable public io.qt.core.@NonNull QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); } /** *

See QLayoutItem::QLayoutItem(Qt::Alignment)

*/ public Impl(io.qt.core.Qt.@NonNull Alignment alignment){ super((QPrivateConstructor)null); initialize_native(this, alignment); } private native static void initialize_native(QLayoutItem instance, io.qt.core.Qt.Alignment alignment); /** *

See QLayoutItem::alignment()const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment alignment(){ return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } private native static int alignment_native_constfct(long __this__nativeId); /** *

See QLayoutItem::setAlignment(Qt::Alignment)

*/ @QtUninvokable public final void setAlignment(io.qt.core.Qt.@NonNull Alignment a){ setAlignment_native_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), a.value()); } private native static void setAlignment_native_Qt_Alignment(long __this__nativeId, int a); /** *

See QLayoutItem::controlTypes()const

*/ @QtUninvokable public io.qt.widgets.QSizePolicy.@NonNull ControlTypes controlTypes(){ return new io.qt.widgets.QSizePolicy.ControlTypes(controlTypes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } private native static int controlTypes_native_constfct(long __this__nativeId); /** *

See QLayoutItem::expandingDirections()const

*/ @QtUninvokable public abstract io.qt.core.Qt.@NonNull Orientations expandingDirections(); private native static int expandingDirections_native_constfct(long __this__nativeId); /** *

See QLayoutItem::geometry()const

*/ @QtUninvokable public abstract io.qt.core.@NonNull QRect geometry(); private native static io.qt.core.QRect geometry_native_constfct(long __this__nativeId); /** *

See QLayoutItem::hasHeightForWidth()const

*/ @QtUninvokable public boolean hasHeightForWidth(){ return hasHeightForWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean hasHeightForWidth_native_constfct(long __this__nativeId); /** *

See QLayoutItem::heightForWidth(int)const

*/ @QtUninvokable public int heightForWidth(int arg__1){ return heightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } private native static int heightForWidth_native_int_constfct(long __this__nativeId, int arg__1); /** *

See QLayoutItem::invalidate()

*/ @QtUninvokable public void invalidate(){ invalidate_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static void invalidate_native(long __this__nativeId); /** *

See QLayoutItem::isEmpty()const

*/ @QtUninvokable public abstract boolean isEmpty(); private native static boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QLayoutItem::layout()

*/ @QtUninvokable public io.qt.widgets.@Nullable QLayout layout(){ return layout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.widgets.QLayout layout_native(long __this__nativeId); /** *

See QLayoutItem::maximumSize()const

*/ @QtUninvokable public abstract io.qt.core.@NonNull QSize maximumSize(); private native static io.qt.core.QSize maximumSize_native_constfct(long __this__nativeId); /** *

See QLayoutItem::minimumHeightForWidth(int)const

*/ @QtUninvokable public int minimumHeightForWidth(int arg__1){ return minimumHeightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } private native static int minimumHeightForWidth_native_int_constfct(long __this__nativeId, int arg__1); /** *

See QLayoutItem::minimumSize()const

*/ @QtUninvokable public abstract io.qt.core.@NonNull QSize minimumSize(); private native static io.qt.core.QSize minimumSize_native_constfct(long __this__nativeId); /** *

See QLayoutItem::setGeometry(QRect)

*/ @QtUninvokable public abstract void setGeometry(io.qt.core.@NonNull QRect arg__1); private native static void setGeometry_native_cref_QRect(long __this__nativeId, long arg__1); /** *

See QLayoutItem::sizeHint()const

*/ @QtUninvokable public abstract io.qt.core.@NonNull QSize sizeHint(); private native static io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** *

See QLayoutItem::spacerItem()

*/ @QtUninvokable public io.qt.widgets.@Nullable QSpacerItem spacerItem(){ return spacerItem_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.widgets.QSpacerItem spacerItem_native(long __this__nativeId); /** *

See QLayoutItem::widget()const

*/ @QtUninvokable public io.qt.widgets.@Nullable QWidget widget(){ return widget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.widgets.QWidget widget_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected Impl(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #Impl(io.qt.core.Qt.Alignment)} * with alignment = new io.qt.core.Qt.Alignment(0).

*/ public Impl() { this(new io.qt.core.Qt.Alignment(0)); } /** *

Overloaded constructor for {@link #Impl(io.qt.core.Qt.Alignment)}.

*/ public Impl(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) { this(new io.qt.core.Qt.Alignment(alignment)); } /** *

Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void setAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... a) { setAlignment(new io.qt.core.Qt.Alignment(a)); } } /** *

See QLayoutItem::alignment()const

*/ @QtDeclaredFinal @QtUninvokable public default io.qt.core.Qt.@NonNull Alignment alignment(){ return new io.qt.core.Qt.Alignment(Impl.alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } /** *

See QLayoutItem::setAlignment(Qt::Alignment)

*/ @QtDeclaredFinal @QtUninvokable public default void setAlignment(io.qt.core.Qt.@NonNull Alignment a){ Impl.setAlignment_native_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), a.value()); } /** *

See QLayoutItem::controlTypes()const

*/ @QtUninvokable public default io.qt.widgets.QSizePolicy.@NonNull ControlTypes controlTypes(){ return new io.qt.widgets.QSizePolicy.ControlTypes(Impl.controlTypes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } /** *

See QLayoutItem::expandingDirections()const

*/ @QtUninvokable public io.qt.core.Qt.@NonNull Orientations expandingDirections(); /** *

See QLayoutItem::geometry()const

*/ @QtUninvokable public io.qt.core.@NonNull QRect geometry(); /** *

See QLayoutItem::hasHeightForWidth()const

*/ @QtUninvokable public default boolean hasHeightForWidth(){ return Impl.hasHeightForWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QLayoutItem::heightForWidth(int)const

*/ @QtUninvokable public default int heightForWidth(int arg__1){ return Impl.heightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } /** *

See QLayoutItem::invalidate()

*/ @QtUninvokable public default void invalidate(){ Impl.invalidate_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QLayoutItem::isEmpty()const

*/ @QtUninvokable public boolean isEmpty(); /** *

See QLayoutItem::layout()

*/ @QtUninvokable public default io.qt.widgets.@Nullable QLayout layout(){ return Impl.layout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QLayoutItem::maximumSize()const

*/ @QtUninvokable public io.qt.core.@NonNull QSize maximumSize(); /** *

See QLayoutItem::minimumHeightForWidth(int)const

*/ @QtUninvokable public default int minimumHeightForWidth(int arg__1){ return Impl.minimumHeightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } /** *

See QLayoutItem::minimumSize()const

*/ @QtUninvokable public io.qt.core.@NonNull QSize minimumSize(); /** *

See QLayoutItem::setGeometry(QRect)

*/ @QtUninvokable public void setGeometry(io.qt.core.@NonNull QRect arg__1); /** *

See QLayoutItem::sizeHint()const

*/ @QtUninvokable public io.qt.core.@NonNull QSize sizeHint(); /** *

See QLayoutItem::spacerItem()

*/ @QtUninvokable public default io.qt.widgets.@Nullable QSpacerItem spacerItem(){ return Impl.spacerItem_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QLayoutItem::widget()const

*/ @QtUninvokable public default io.qt.widgets.@Nullable QWidget widget(){ return Impl.widget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.

*/ @QtDeclaredFinal @QtUninvokable public default void setAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... a) { setAlignment(new io.qt.core.Qt.Alignment(a)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy