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

io.qt.gui.QFontInfo Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

General information about fonts

*

Java wrapper for Qt class QFontInfo

*/ public class QFontInfo extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QFontInfo::QFontInfo(QFont)

*/ public QFontInfo(io.qt.gui.@NonNull QFont arg__1){ super((QPrivateConstructor)null); initialize_native(this, arg__1); } private native static void initialize_native(QFontInfo instance, io.qt.gui.QFont arg__1); /** *

See QFontInfo::QFontInfo(QFontInfo)

*/ public QFontInfo(io.qt.gui.@NonNull QFontInfo arg__1){ super((QPrivateConstructor)null); initialize_native(this, arg__1); } private native static void initialize_native(QFontInfo instance, io.qt.gui.QFontInfo arg__1); /** *

See QFontInfo::bold()const

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

See QFontInfo::exactMatch()const

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

See QFontInfo::family()const

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

See QFontInfo::fixedPitch()const

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

See QFontInfo::italic()const

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

See QFontInfo::legacyWeight()const

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

See QFontInfo::operator=(QFontInfo)

*/ @QtUninvokable public final void assign(io.qt.gui.@NonNull QFontInfo arg__1){ assign_native_cref_QFontInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QFontInfo(long __this__nativeId, long arg__1); /** *

See QFontInfo::overline()const

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

See QFontInfo::pixelSize()const

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

See QFontInfo::pointSize()const

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

See QFontInfo::pointSizeF()const

*/ @QtUninvokable public final double pointSizeF(){ return pointSizeF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double pointSizeF_native_constfct(long __this__nativeId); /** *

See QFontInfo::strikeOut()const

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

See QFontInfo::style()const

*/ @QtUninvokable public final io.qt.gui.QFont.@NonNull Style style(){ return io.qt.gui.QFont.Style.resolve(style_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int style_native_constfct(long __this__nativeId); /** *

See QFontInfo::styleHint()const

*/ @QtUninvokable public final io.qt.gui.QFont.@NonNull StyleHint styleHint(){ return io.qt.gui.QFont.StyleHint.resolve(styleHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int styleHint_native_constfct(long __this__nativeId); /** *

See QFontInfo::styleName()const

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

See QFontInfo::swap(QFontInfo&)

*/ @QtUninvokable public final void swap(io.qt.gui.@StrictNonNull QFontInfo other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QFontInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QFontInfo(long __this__nativeId, long other); /** *

See QFontInfo::underline()const

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

See QFontInfo::weight()const

*/ @QtUninvokable public final int weight(){ return weight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int weight_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QFontInfo(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QFontInfo::QFontInfo(QFontInfo)

*/ @QtUninvokable @Override public QFontInfo clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QFontInfo clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QFontInfo(io.qt.gui.QFont)}.

*/ public QFontInfo(java.lang.@NonNull String arg__1) { this(new io.qt.gui.QFont(arg__1)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy