io.qt.uic.ui4.DomItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-uic Show documentation
Show all versions of qtjambi-uic Show documentation
QtJambi User Interface Compiler
The newest version!
package io.qt.uic.ui4;
import io.qt.*;
/**
* Java wrapper for Qt class DomItem
* @hidden
*/
public class DomItem extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See DomItem:: DomItem()
*/
public DomItem(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(DomItem instance);
/**
* See DomItem:: 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 DomItem:: 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 DomItem:: clearAttributeColumn()
*/
@QtUninvokable
public final void clearAttributeColumn(){
clearAttributeColumn_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearAttributeColumn_native(long __this__nativeId);
/**
* See DomItem:: clearAttributeRow()
*/
@QtUninvokable
public final void clearAttributeRow(){
clearAttributeRow_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearAttributeRow_native(long __this__nativeId);
/**
* See DomItem:: elementItem()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QList elementItem(){
return elementItem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList elementItem_native_constfct(long __this__nativeId);
/**
* See DomItem:: elementProperty()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QList elementProperty(){
return elementProperty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList elementProperty_native_constfct(long __this__nativeId);
/**
* See DomItem:: 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 DomItem:: 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 DomItem:: 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 DomItem:: 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 DomItem:: 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 DomItem:: setElementItem(QList<DomItem*>)
* @param a
*/
@QtUninvokable
public final void setElementItem(java.util.@NonNull Collection extends io.qt.uic.ui4.@Nullable DomItem> a){
setElementItem_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setElementItem_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.uic.ui4.DomItem> a);
/**
* See DomItem:: setElementProperty(QList<DomProperty*>)
* @param a
*/
@QtUninvokable
public final void setElementProperty(java.util.@NonNull Collection extends io.qt.uic.ui4.@Nullable DomProperty> a){
setElementProperty_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setElementProperty_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.uic.ui4.DomProperty> a);
/**
* See DomItem:: 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 DomItem(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);
}
}