io.qt.uic.ui4.DomTime 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 DomTime
* @hidden
*/
public class DomTime extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See DomTime:: DomTime()
*/
public DomTime(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(DomTime instance);
/**
* See DomTime:: clearElementHour()
*/
@QtUninvokable
public final void clearElementHour(){
clearElementHour_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearElementHour_native(long __this__nativeId);
/**
* See DomTime:: clearElementMinute()
*/
@QtUninvokable
public final void clearElementMinute(){
clearElementMinute_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearElementMinute_native(long __this__nativeId);
/**
* See DomTime:: clearElementSecond()
*/
@QtUninvokable
public final void clearElementSecond(){
clearElementSecond_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearElementSecond_native(long __this__nativeId);
/**
* See DomTime:: elementHour()const
* @return
*/
@QtUninvokable
public final int elementHour(){
return elementHour_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int elementHour_native_constfct(long __this__nativeId);
/**
* See DomTime:: elementMinute()const
* @return
*/
@QtUninvokable
public final int elementMinute(){
return elementMinute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int elementMinute_native_constfct(long __this__nativeId);
/**
* See DomTime:: elementSecond()const
* @return
*/
@QtUninvokable
public final int elementSecond(){
return elementSecond_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int elementSecond_native_constfct(long __this__nativeId);
/**
* See DomTime:: hasElementHour()const
* @return
*/
@QtUninvokable
public final boolean hasElementHour(){
return hasElementHour_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasElementHour_native_constfct(long __this__nativeId);
/**
* See DomTime:: hasElementMinute()const
* @return
*/
@QtUninvokable
public final boolean hasElementMinute(){
return hasElementMinute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasElementMinute_native_constfct(long __this__nativeId);
/**
* See DomTime:: hasElementSecond()const
* @return
*/
@QtUninvokable
public final boolean hasElementSecond(){
return hasElementSecond_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasElementSecond_native_constfct(long __this__nativeId);
/**
* See DomTime:: 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 DomTime:: setElementHour(int)
* @param a
*/
@QtUninvokable
public final void setElementHour(int a){
setElementHour_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setElementHour_native_int(long __this__nativeId, int a);
/**
* See DomTime:: setElementMinute(int)
* @param a
*/
@QtUninvokable
public final void setElementMinute(int a){
setElementMinute_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setElementMinute_native_int(long __this__nativeId, int a);
/**
* See DomTime:: setElementSecond(int)
* @param a
*/
@QtUninvokable
public final void setElementSecond(int a){
setElementSecond_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setElementSecond_native_int(long __this__nativeId, int a);
/**
* See DomTime:: 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 DomTime(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);
}
}