io.qt.uic.ui4.DomGradientStop 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 DomGradientStop
* @hidden
*/
public class DomGradientStop extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See DomGradientStop:: DomGradientStop()
*/
public DomGradientStop(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(DomGradientStop instance);
/**
* See DomGradientStop:: attributePosition()const
* @return
*/
@QtUninvokable
public final double attributePosition(){
return attributePosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double attributePosition_native_constfct(long __this__nativeId);
/**
* See DomGradientStop:: clearAttributePosition()
*/
@QtUninvokable
public final void clearAttributePosition(){
clearAttributePosition_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearAttributePosition_native(long __this__nativeId);
/**
* See DomGradientStop:: clearElementColor()
*/
@QtUninvokable
public final void clearElementColor(){
clearElementColor_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearElementColor_native(long __this__nativeId);
/**
* See DomGradientStop:: elementColor()const
* @return
*/
@QtUninvokable
public final io.qt.uic.ui4.@Nullable DomColor elementColor(){
return elementColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.uic.ui4.DomColor elementColor_native_constfct(long __this__nativeId);
/**
* See DomGradientStop:: hasAttributePosition()const
* @return
*/
@QtUninvokable
public final boolean hasAttributePosition(){
return hasAttributePosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasAttributePosition_native_constfct(long __this__nativeId);
/**
* See DomGradientStop:: hasElementColor()const
* @return
*/
@QtUninvokable
public final boolean hasElementColor(){
return hasElementColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasElementColor_native_constfct(long __this__nativeId);
/**
* See DomGradientStop:: 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 DomGradientStop:: setAttributePosition(double)
* @param a
*/
@QtUninvokable
public final void setAttributePosition(double a){
setAttributePosition_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), a);
}
@QtUninvokable
private native void setAttributePosition_native_double(long __this__nativeId, double a);
/**
* See DomGradientStop:: setElementColor(DomColor*)
* @param a
*/
@QtUninvokable
public final void setElementColor(io.qt.uic.ui4.@Nullable DomColor a){
setElementColor_native_DomColor_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a));
}
@QtUninvokable
private native void setElementColor_native_DomColor_ptr(long __this__nativeId, long a);
/**
* See DomGradientStop:: takeElementColor()
* @return
*/
@QtUninvokable
public final io.qt.uic.ui4.@Nullable DomColor takeElementColor(){
return takeElementColor_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.uic.ui4.DomColor takeElementColor_native(long __this__nativeId);
/**
* See DomGradientStop:: 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 DomGradientStop(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);
}
}