io.qt.uic.ui4.DomPoint 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 DomPoint
* @hidden
*/
public class DomPoint extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See DomPoint:: DomPoint()
*/
public DomPoint(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(DomPoint instance);
/**
* See DomPoint:: clearElementX()
*/
@QtUninvokable
public final void clearElementX(){
clearElementX_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearElementX_native(long __this__nativeId);
/**
* See DomPoint:: clearElementY()
*/
@QtUninvokable
public final void clearElementY(){
clearElementY_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearElementY_native(long __this__nativeId);
/**
* See DomPoint:: elementX()const
* @return
*/
@QtUninvokable
public final int elementX(){
return elementX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int elementX_native_constfct(long __this__nativeId);
/**
* See DomPoint:: elementY()const
* @return
*/
@QtUninvokable
public final int elementY(){
return elementY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int elementY_native_constfct(long __this__nativeId);
/**
* See DomPoint:: hasElementX()const
* @return
*/
@QtUninvokable
public final boolean hasElementX(){
return hasElementX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasElementX_native_constfct(long __this__nativeId);
/**
* See DomPoint:: hasElementY()const
* @return
*/
@QtUninvokable
public final boolean hasElementY(){
return hasElementY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasElementY_native_constfct(long __this__nativeId);
/**
* See DomPoint:: 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 DomPoint:: setElementX(int)
* @param a
*/
@QtUninvokable
public final void setElementX(int a){
setElementX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setElementX_native_int(long __this__nativeId, int a);
/**
* See DomPoint:: setElementY(int)
* @param a
*/
@QtUninvokable
public final void setElementY(int a){
setElementY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setElementY_native_int(long __this__nativeId, int a);
/**
* See DomPoint:: 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 DomPoint(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);
}
}