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

io.qt.uic.ui4.DomLayoutItem Maven / Gradle / Ivy

The newest version!
package io.qt.uic.ui4;

import io.qt.*;


/**
 * 

Java wrapper for Qt class DomLayoutItem

* @hidden */ public class DomLayoutItem extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum DomLayoutItem::Kind

* @hidden */ public enum Kind implements QtEnumerator { /** *

Representing DomLayoutItem::Unknown

*/ Unknown(0), /** *

Representing DomLayoutItem::Widget

*/ Widget(1), /** *

Representing DomLayoutItem::Layout

*/ Layout(2), /** *

Representing DomLayoutItem::Spacer

*/ Spacer(3); static { QtJambi_LibraryUtilities.initialize(); } private Kind(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Kind resolve(int value) { switch (value) { case 0: return Unknown; case 1: return Widget; case 2: return Layout; case 3: return Spacer; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See DomLayoutItem::DomLayoutItem()

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

See DomLayoutItem::attributeAlignment()const

* @return */ @QtUninvokable public final java.lang.@NonNull String attributeAlignment(){ return attributeAlignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String attributeAlignment_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::attributeColSpan()const

* @return */ @QtUninvokable public final int attributeColSpan(){ return attributeColSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int attributeColSpan_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::attributeColumn()const

* @return */ @QtUninvokable public final int attributeColumn(){ return attributeColumn_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int attributeColumn_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::attributeRow()const

* @return */ @QtUninvokable public final int attributeRow(){ return attributeRow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int attributeRow_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::attributeRowSpan()const

* @return */ @QtUninvokable public final int attributeRowSpan(){ return attributeRowSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int attributeRowSpan_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::clearAttributeAlignment()

*/ @QtUninvokable public final void clearAttributeAlignment(){ clearAttributeAlignment_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearAttributeAlignment_native(long __this__nativeId); /** *

See DomLayoutItem::clearAttributeColSpan()

*/ @QtUninvokable public final void clearAttributeColSpan(){ clearAttributeColSpan_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearAttributeColSpan_native(long __this__nativeId); /** *

See DomLayoutItem::clearAttributeColumn()

*/ @QtUninvokable public final void clearAttributeColumn(){ clearAttributeColumn_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearAttributeColumn_native(long __this__nativeId); /** *

See DomLayoutItem::clearAttributeRow()

*/ @QtUninvokable public final void clearAttributeRow(){ clearAttributeRow_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearAttributeRow_native(long __this__nativeId); /** *

See DomLayoutItem::clearAttributeRowSpan()

*/ @QtUninvokable public final void clearAttributeRowSpan(){ clearAttributeRowSpan_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clearAttributeRowSpan_native(long __this__nativeId); /** *

See DomLayoutItem::elementLayout()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomLayout elementLayout(){ return elementLayout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomLayout elementLayout_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::elementSpacer()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomSpacer elementSpacer(){ return elementSpacer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomSpacer elementSpacer_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::elementWidget()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomWidget elementWidget(){ return elementWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomWidget elementWidget_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::hasAttributeAlignment()const

* @return */ @QtUninvokable public final boolean hasAttributeAlignment(){ return hasAttributeAlignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasAttributeAlignment_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::hasAttributeColSpan()const

* @return */ @QtUninvokable public final boolean hasAttributeColSpan(){ return hasAttributeColSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasAttributeColSpan_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::hasAttributeColumn()const

* @return */ @QtUninvokable public final boolean hasAttributeColumn(){ return hasAttributeColumn_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasAttributeColumn_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::hasAttributeRow()const

* @return */ @QtUninvokable public final boolean hasAttributeRow(){ return hasAttributeRow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasAttributeRow_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::hasAttributeRowSpan()const

* @return */ @QtUninvokable public final boolean hasAttributeRowSpan(){ return hasAttributeRowSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasAttributeRowSpan_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::kind()const

* @return */ @QtUninvokable public final io.qt.uic.ui4.DomLayoutItem.@NonNull Kind kind(){ return io.qt.uic.ui4.DomLayoutItem.Kind.resolve(kind_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int kind_native_constfct(long __this__nativeId); /** *

See DomLayoutItem::read(QXmlStreamReader&)

* @param reader */ @QtUninvokable public final void read(io.qt.core.@StrictNonNull QXmlStreamReader reader){ java.util.Objects.requireNonNull(reader, "Argument 'reader': null not expected."); read_native_ref_QXmlStreamReader(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(reader)); } @QtUninvokable private native void read_native_ref_QXmlStreamReader(long __this__nativeId, long reader); /** *

See DomLayoutItem::setAttributeAlignment(QString)

* @param a */ @QtUninvokable public final void setAttributeAlignment(java.lang.@NonNull String a){ setAttributeAlignment_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), a); } @QtUninvokable private native void setAttributeAlignment_native_cref_QString(long __this__nativeId, java.lang.String a); /** *

See DomLayoutItem::setAttributeColSpan(int)

* @param a */ @QtUninvokable public final void setAttributeColSpan(int a){ setAttributeColSpan_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a); } @QtUninvokable private native void setAttributeColSpan_native_int(long __this__nativeId, int a); /** *

See DomLayoutItem::setAttributeColumn(int)

* @param a */ @QtUninvokable public final void setAttributeColumn(int a){ setAttributeColumn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a); } @QtUninvokable private native void setAttributeColumn_native_int(long __this__nativeId, int a); /** *

See DomLayoutItem::setAttributeRow(int)

* @param a */ @QtUninvokable public final void setAttributeRow(int a){ setAttributeRow_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a); } @QtUninvokable private native void setAttributeRow_native_int(long __this__nativeId, int a); /** *

See DomLayoutItem::setAttributeRowSpan(int)

* @param a */ @QtUninvokable public final void setAttributeRowSpan(int a){ setAttributeRowSpan_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a); } @QtUninvokable private native void setAttributeRowSpan_native_int(long __this__nativeId, int a); /** *

See DomLayoutItem::setElementLayout(DomLayout*)

* @param a */ @QtUninvokable public final void setElementLayout(io.qt.uic.ui4.@Nullable DomLayout a){ setElementLayout_native_DomLayout_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native void setElementLayout_native_DomLayout_ptr(long __this__nativeId, long a); /** *

See DomLayoutItem::setElementSpacer(DomSpacer*)

* @param a */ @QtUninvokable public final void setElementSpacer(io.qt.uic.ui4.@Nullable DomSpacer a){ setElementSpacer_native_DomSpacer_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native void setElementSpacer_native_DomSpacer_ptr(long __this__nativeId, long a); /** *

See DomLayoutItem::setElementWidget(DomWidget*)

* @param a */ @QtUninvokable public final void setElementWidget(io.qt.uic.ui4.@Nullable DomWidget a){ setElementWidget_native_DomWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @QtUninvokable private native void setElementWidget_native_DomWidget_ptr(long __this__nativeId, long a); /** *

See DomLayoutItem::takeElementLayout()

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomLayout takeElementLayout(){ return takeElementLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomLayout takeElementLayout_native(long __this__nativeId); /** *

See DomLayoutItem::takeElementSpacer()

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomSpacer takeElementSpacer(){ return takeElementSpacer_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomSpacer takeElementSpacer_native(long __this__nativeId); /** *

See DomLayoutItem::takeElementWidget()

* @return */ @QtUninvokable public final io.qt.uic.ui4.@Nullable DomWidget takeElementWidget(){ return takeElementWidget_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.uic.ui4.DomWidget takeElementWidget_native(long __this__nativeId); /** *

See DomLayoutItem::write(QXmlStreamWriter&,QString)const

* @param writer * @param tagName */ @QtUninvokable public final void write(io.qt.core.@StrictNonNull QXmlStreamWriter writer, java.lang.@NonNull String tagName){ java.util.Objects.requireNonNull(writer, "Argument 'writer': null not expected."); write_native_ref_QXmlStreamWriter_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(writer), tagName); } @QtUninvokable private native void write_native_ref_QXmlStreamWriter_cref_QString_constfct(long __this__nativeId, long writer, java.lang.String tagName); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected DomLayoutItem(QPrivateConstructor p) { super(p); } /** *

Overloaded function for {@link #write(io.qt.core.QXmlStreamWriter, java.lang.String)} * with tagName = (String)null.

*/ @QtUninvokable public final void write(io.qt.core.@StrictNonNull QXmlStreamWriter writer) { write(writer, (String)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy