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

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

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

import io.qt.*;


/**
 * 

Formatting information for characters in a QTextDocument

*

Java wrapper for Qt class QTextCharFormat

*/ public class QTextCharFormat extends io.qt.gui.QTextFormat implements java.lang.Cloneable { /** *

Java wrapper for Qt enum QTextCharFormat::FontPropertiesInheritanceBehavior

*/ public enum FontPropertiesInheritanceBehavior implements QtEnumerator { /** *

Representing QTextCharFormat::FontPropertiesSpecifiedOnly

*/ FontPropertiesSpecifiedOnly(0), /** *

Representing QTextCharFormat::FontPropertiesAll

*/ FontPropertiesAll(1); static { QtJambi_LibraryUtilities.initialize(); } private FontPropertiesInheritanceBehavior(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull FontPropertiesInheritanceBehavior resolve(int value) { switch (value) { case 0: return FontPropertiesSpecifiedOnly; case 1: return FontPropertiesAll; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QTextCharFormat::UnderlineStyle

*/ public enum UnderlineStyle implements QtEnumerator { /** *

Representing QTextCharFormat::NoUnderline

*/ NoUnderline(0), /** *

Representing QTextCharFormat::SingleUnderline

*/ SingleUnderline(1), /** *

Representing QTextCharFormat::DashUnderline

*/ DashUnderline(2), /** *

Representing QTextCharFormat::DotLine

*/ DotLine(3), /** *

Representing QTextCharFormat::DashDotLine

*/ DashDotLine(4), /** *

Representing QTextCharFormat::DashDotDotLine

*/ DashDotDotLine(5), /** *

Representing QTextCharFormat::WaveUnderline

*/ WaveUnderline(6), /** *

Representing QTextCharFormat::SpellCheckUnderline

*/ SpellCheckUnderline(7); static { QtJambi_LibraryUtilities.initialize(); } private UnderlineStyle(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull UnderlineStyle resolve(int value) { switch (value) { case 0: return NoUnderline; case 1: return SingleUnderline; case 2: return DashUnderline; case 3: return DotLine; case 4: return DashDotLine; case 5: return DashDotDotLine; case 6: return WaveUnderline; case 7: return SpellCheckUnderline; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QTextCharFormat::VerticalAlignment

*/ public enum VerticalAlignment implements QtEnumerator { /** *

Representing QTextCharFormat::AlignNormal

*/ AlignNormal(0), /** *

Representing QTextCharFormat::AlignSuperScript

*/ AlignSuperScript(1), /** *

Representing QTextCharFormat::AlignSubScript

*/ AlignSubScript(2), /** *

Representing QTextCharFormat::AlignMiddle

*/ AlignMiddle(3), /** *

Representing QTextCharFormat::AlignTop

*/ AlignTop(4), /** *

Representing QTextCharFormat::AlignBottom

*/ AlignBottom(5), /** *

Representing QTextCharFormat::AlignBaseline

*/ AlignBaseline(6); static { QtJambi_LibraryUtilities.initialize(); } private VerticalAlignment(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull VerticalAlignment resolve(int value) { switch (value) { case 0: return AlignNormal; case 1: return AlignSuperScript; case 2: return AlignSubScript; case 3: return AlignMiddle; case 4: return AlignTop; case 5: return AlignBottom; case 6: return AlignBaseline; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QTextCharFormat::QTextCharFormat()

*/ public QTextCharFormat(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QTextCharFormat instance); /** *

See QTextCharFormat::QTextCharFormat(QTextCharFormat)

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

See QTextCharFormat::QTextCharFormat(QTextFormat)

*/ protected QTextCharFormat(io.qt.gui.@NonNull QTextFormat fmt){ super((QPrivateConstructor)null); initialize_native(this, fmt); } private native static void initialize_native(QTextCharFormat instance, io.qt.gui.QTextFormat fmt); /** *

See QTextCharFormat::anchorHref()const

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

See QTextCharFormat::anchorNames()const

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList anchorNames(){ return anchorNames_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QStringList anchorNames_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::baselineOffset()const

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

See QTextCharFormat::font()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QFont font(){ return font_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QFont font_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::fontCapitalization()const

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

See QTextCharFormat::fontFamilies()const

*/ @QtUninvokable public final java.lang.Object fontFamilies(){ return fontFamilies_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.Object fontFamilies_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::fontFamily()const

* * @deprecated Use {@link io.qt.gui.QTextCharFormat#fontFamilies()} instead */ @Deprecated @QtUninvokable public final java.lang.@NonNull String fontFamily(){ return fontFamily_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native java.lang.String fontFamily_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::fontFixedPitch()const

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

See QTextCharFormat::fontHintingPreference()const

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

See QTextCharFormat::fontItalic()const

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

See QTextCharFormat::fontKerning()const

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

See QTextCharFormat::fontLetterSpacing()const

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

See QTextCharFormat::fontLetterSpacingType()const

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

See QTextCharFormat::fontOverline()const

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

See QTextCharFormat::fontPointSize()const

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

See QTextCharFormat::fontStretch()const

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

See QTextCharFormat::fontStrikeOut()const

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

See QTextCharFormat::fontStyleHint()const

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

See QTextCharFormat::fontStyleName()const

*/ @QtUninvokable public final java.lang.Object fontStyleName(){ return fontStyleName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.Object fontStyleName_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::fontStyleStrategy()const

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

See QTextCharFormat::fontUnderline()const

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

See QTextCharFormat::fontWeight()const

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

See QTextCharFormat::fontWordSpacing()const

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

See QTextCharFormat::isAnchor()const

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

See QTextFormat::isValid()const

*/ @QtDeclaredFinal @QtUninvokable public boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See operator<<(QDataStream&,QTextCharFormat)

*/ @QtUninvokable public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See operator>>(QDataStream&,QTextCharFormat&)

*/ @QtUninvokable public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QTextCharFormat::setAnchor(bool)

*/ @QtUninvokable public final void setAnchor(boolean anchor){ setAnchor_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), anchor); } @QtUninvokable private native void setAnchor_native_bool(long __this__nativeId, boolean anchor); /** *

See QTextCharFormat::setAnchorHref(QString)

*/ @QtUninvokable public final void setAnchorHref(java.lang.@NonNull String value){ setAnchorHref_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), value); } @QtUninvokable private native void setAnchorHref_native_cref_QString(long __this__nativeId, java.lang.String value); /** *

See QTextCharFormat::setAnchorNames(QStringList)

*/ @QtUninvokable public final void setAnchorNames(java.util.@NonNull Collection names){ setAnchorNames_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), names); } @QtUninvokable private native void setAnchorNames_native_cref_QStringList(long __this__nativeId, java.util.Collection names); /** *

See QTextCharFormat::setBaselineOffset(qreal)

*/ @QtUninvokable public final void setBaselineOffset(double baseline){ setBaselineOffset_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), baseline); } @QtUninvokable private native void setBaselineOffset_native_qreal(long __this__nativeId, double baseline); /** *

See QTextCharFormat::setFont(QFont,QTextCharFormat::FontPropertiesInheritanceBehavior)

*/ @QtUninvokable public final void setFont(io.qt.gui.@NonNull QFont font, io.qt.gui.QTextCharFormat.@NonNull FontPropertiesInheritanceBehavior behavior){ setFont_native_cref_QFont_QTextCharFormat_FontPropertiesInheritanceBehavior(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(font), behavior.value()); } @QtUninvokable private native void setFont_native_cref_QFont_QTextCharFormat_FontPropertiesInheritanceBehavior(long __this__nativeId, long font, int behavior); /** *

See QTextCharFormat::setFontCapitalization(QFont::Capitalization)

*/ @QtUninvokable public final void setFontCapitalization(io.qt.gui.QFont.@NonNull Capitalization capitalization){ setFontCapitalization_native_QFont_Capitalization(QtJambi_LibraryUtilities.internal.nativeId(this), capitalization.value()); } @QtUninvokable private native void setFontCapitalization_native_QFont_Capitalization(long __this__nativeId, int capitalization); /** *

See QTextCharFormat::setFontFamilies(QStringList)

*/ @QtUninvokable public final void setFontFamilies(java.util.@NonNull Collection families){ setFontFamilies_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), families); } @QtUninvokable private native void setFontFamilies_native_cref_QStringList(long __this__nativeId, java.util.Collection families); /** *

See QTextCharFormat::setFontFamily(QString)

* * @deprecated Use {@link io.qt.gui.QTextCharFormat#setFontFamilies(java.util.Collection)} instead */ @Deprecated @QtUninvokable public final void setFontFamily(java.lang.@NonNull String family){ setFontFamily_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), family); } @Deprecated @QtUninvokable private native void setFontFamily_native_cref_QString(long __this__nativeId, java.lang.String family); /** *

See QTextCharFormat::setFontFixedPitch(bool)

*/ @QtUninvokable public final void setFontFixedPitch(boolean fixedPitch){ setFontFixedPitch_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), fixedPitch); } @QtUninvokable private native void setFontFixedPitch_native_bool(long __this__nativeId, boolean fixedPitch); /** *

See QTextCharFormat::setFontHintingPreference(QFont::HintingPreference)

*/ @QtUninvokable public final void setFontHintingPreference(io.qt.gui.QFont.@NonNull HintingPreference hintingPreference){ setFontHintingPreference_native_QFont_HintingPreference(QtJambi_LibraryUtilities.internal.nativeId(this), hintingPreference.value()); } @QtUninvokable private native void setFontHintingPreference_native_QFont_HintingPreference(long __this__nativeId, int hintingPreference); /** *

See QTextCharFormat::setFontItalic(bool)

*/ @QtUninvokable public final void setFontItalic(boolean italic){ setFontItalic_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), italic); } @QtUninvokable private native void setFontItalic_native_bool(long __this__nativeId, boolean italic); /** *

See QTextCharFormat::setFontKerning(bool)

*/ @QtUninvokable public final void setFontKerning(boolean enable){ setFontKerning_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setFontKerning_native_bool(long __this__nativeId, boolean enable); /** *

See QTextCharFormat::setFontLetterSpacing(qreal)

*/ @QtUninvokable public final void setFontLetterSpacing(double spacing){ setFontLetterSpacing_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), spacing); } @QtUninvokable private native void setFontLetterSpacing_native_qreal(long __this__nativeId, double spacing); /** *

See QTextCharFormat::setFontLetterSpacingType(QFont::SpacingType)

*/ @QtUninvokable public final void setFontLetterSpacingType(io.qt.gui.QFont.@NonNull SpacingType letterSpacingType){ setFontLetterSpacingType_native_QFont_SpacingType(QtJambi_LibraryUtilities.internal.nativeId(this), letterSpacingType.value()); } @QtUninvokable private native void setFontLetterSpacingType_native_QFont_SpacingType(long __this__nativeId, int letterSpacingType); /** *

See QTextCharFormat::setFontOverline(bool)

*/ @QtUninvokable public final void setFontOverline(boolean overline){ setFontOverline_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), overline); } @QtUninvokable private native void setFontOverline_native_bool(long __this__nativeId, boolean overline); /** *

See QTextCharFormat::setFontPointSize(qreal)

*/ @QtUninvokable public final void setFontPointSize(double size){ setFontPointSize_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), size); } @QtUninvokable private native void setFontPointSize_native_qreal(long __this__nativeId, double size); /** *

See QTextCharFormat::setFontStretch(int)

*/ @QtUninvokable public final void setFontStretch(int factor){ setFontStretch_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), factor); } @QtUninvokable private native void setFontStretch_native_int(long __this__nativeId, int factor); /** *

See QTextCharFormat::setFontStrikeOut(bool)

*/ @QtUninvokable public final void setFontStrikeOut(boolean strikeOut){ setFontStrikeOut_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), strikeOut); } @QtUninvokable private native void setFontStrikeOut_native_bool(long __this__nativeId, boolean strikeOut); /** *

See QTextCharFormat::setFontStyleHint(QFont::StyleHint,QFont::StyleStrategy)

*/ @QtUninvokable public final void setFontStyleHint(io.qt.gui.QFont.@NonNull StyleHint hint, io.qt.gui.QFont.@NonNull StyleStrategy strategy){ setFontStyleHint_native_QFont_StyleHint_QFont_StyleStrategy(QtJambi_LibraryUtilities.internal.nativeId(this), hint.value(), strategy.value()); } @QtUninvokable private native void setFontStyleHint_native_QFont_StyleHint_QFont_StyleStrategy(long __this__nativeId, int hint, int strategy); /** *

See QTextCharFormat::setFontStyleName(QString)

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

See QTextCharFormat::setFontStyleStrategy(QFont::StyleStrategy)

*/ @QtUninvokable public final void setFontStyleStrategy(io.qt.gui.QFont.@NonNull StyleStrategy strategy){ setFontStyleStrategy_native_QFont_StyleStrategy(QtJambi_LibraryUtilities.internal.nativeId(this), strategy.value()); } @QtUninvokable private native void setFontStyleStrategy_native_QFont_StyleStrategy(long __this__nativeId, int strategy); /** *

See QTextCharFormat::setFontUnderline(bool)

*/ @QtUninvokable public final void setFontUnderline(boolean underline){ setFontUnderline_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), underline); } @QtUninvokable private native void setFontUnderline_native_bool(long __this__nativeId, boolean underline); /** *

See QTextCharFormat::setFontWeight(int)

*/ @QtUninvokable public final void setFontWeight(int weight){ setFontWeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), weight); } @QtUninvokable private native void setFontWeight_native_int(long __this__nativeId, int weight); /** *

See QTextCharFormat::setFontWordSpacing(qreal)

*/ @QtUninvokable public final void setFontWordSpacing(double spacing){ setFontWordSpacing_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), spacing); } @QtUninvokable private native void setFontWordSpacing_native_qreal(long __this__nativeId, double spacing); /** *

See QTextCharFormat::setSubScriptBaseline(qreal)

*/ @QtUninvokable public final void setSubScriptBaseline(double baseline){ setSubScriptBaseline_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), baseline); } @QtUninvokable private native void setSubScriptBaseline_native_qreal(long __this__nativeId, double baseline); /** *

See QTextCharFormat::setSuperScriptBaseline(qreal)

*/ @QtUninvokable public final void setSuperScriptBaseline(double baseline){ setSuperScriptBaseline_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), baseline); } @QtUninvokable private native void setSuperScriptBaseline_native_qreal(long __this__nativeId, double baseline); /** *

See QTextCharFormat::setTableCellColumnSpan(int)

*/ @QtUninvokable public final void setTableCellColumnSpan(int tableCellColumnSpan){ setTableCellColumnSpan_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), tableCellColumnSpan); } @QtUninvokable private native void setTableCellColumnSpan_native_int(long __this__nativeId, int tableCellColumnSpan); /** *

See QTextCharFormat::setTableCellRowSpan(int)

*/ @QtUninvokable public final void setTableCellRowSpan(int tableCellRowSpan){ setTableCellRowSpan_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), tableCellRowSpan); } @QtUninvokable private native void setTableCellRowSpan_native_int(long __this__nativeId, int tableCellRowSpan); /** *

See QTextCharFormat::setTextOutline(QPen)

*/ @QtUninvokable public final void setTextOutline(io.qt.gui.@NonNull QPen pen){ setTextOutline_native_cref_QPen(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pen)); } @QtUninvokable private native void setTextOutline_native_cref_QPen(long __this__nativeId, long pen); /** *

See QTextCharFormat::setToolTip(QString)

*/ @QtUninvokable public final void setToolTip(java.lang.@NonNull String tip){ setToolTip_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), tip); } @QtUninvokable private native void setToolTip_native_cref_QString(long __this__nativeId, java.lang.String tip); /** *

See QTextCharFormat::setUnderlineColor(QColor)

*/ @QtUninvokable public final void setUnderlineColor(io.qt.gui.@NonNull QColor color){ setUnderlineColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(color)); } @QtUninvokable private native void setUnderlineColor_native_cref_QColor(long __this__nativeId, long color); /** *

See QTextCharFormat::setUnderlineStyle(QTextCharFormat::UnderlineStyle)

*/ @QtUninvokable public final void setUnderlineStyle(io.qt.gui.QTextCharFormat.@NonNull UnderlineStyle style){ setUnderlineStyle_native_QTextCharFormat_UnderlineStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value()); } @QtUninvokable private native void setUnderlineStyle_native_QTextCharFormat_UnderlineStyle(long __this__nativeId, int style); /** *

See QTextCharFormat::setVerticalAlignment(QTextCharFormat::VerticalAlignment)

*/ @QtUninvokable public final void setVerticalAlignment(io.qt.gui.QTextCharFormat.@NonNull VerticalAlignment alignment){ setVerticalAlignment_native_QTextCharFormat_VerticalAlignment(QtJambi_LibraryUtilities.internal.nativeId(this), alignment.value()); } @QtUninvokable private native void setVerticalAlignment_native_QTextCharFormat_VerticalAlignment(long __this__nativeId, int alignment); /** *

See QTextCharFormat::subScriptBaseline()const

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

See QTextCharFormat::superScriptBaseline()const

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

See swap(QTextCharFormat&,QTextCharFormat&)

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

See QTextCharFormat::tableCellColumnSpan()const

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

See QTextCharFormat::tableCellRowSpan()const

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

See QTextCharFormat::textOutline()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPen textOutline(){ return textOutline_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QPen textOutline_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::toolTip()const

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

See QTextCharFormat::underlineColor()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor underlineColor(){ return underlineColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QColor underlineColor_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::underlineStyle()const

*/ @QtUninvokable public final io.qt.gui.QTextCharFormat.@NonNull UnderlineStyle underlineStyle(){ return io.qt.gui.QTextCharFormat.UnderlineStyle.resolve(underlineStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int underlineStyle_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::verticalAlignment()const

*/ @QtUninvokable public final io.qt.gui.QTextCharFormat.@NonNull VerticalAlignment verticalAlignment(){ return io.qt.gui.QTextCharFormat.VerticalAlignment.resolve(verticalAlignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int verticalAlignment_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTextCharFormat(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QTextCharFormat::QTextCharFormat(QTextCharFormat)

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

Overloaded function for {@link #setFont(io.qt.gui.QFont, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior)} * with behavior = io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesAll.

*/ @QtUninvokable public final void setFont(io.qt.gui.@NonNull QFont font) { setFont(font, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesAll); } /** *

Overloaded function for {@link #setFont(java.lang.String, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior)} * with behavior = io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesAll.

*/ @QtUninvokable public final void setFont(java.lang.@NonNull String font) { setFont(font, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesAll); } /** *

Overloaded function for {@link #setFont(io.qt.gui.QFont, io.qt.gui.QTextCharFormat.FontPropertiesInheritanceBehavior)}.

*/ @QtUninvokable public final void setFont(java.lang.@NonNull String font, io.qt.gui.QTextCharFormat.@NonNull FontPropertiesInheritanceBehavior behavior) { setFont(new io.qt.gui.QFont(font), behavior); } /** *

Overloaded function for {@link #setFontStyleHint(io.qt.gui.QFont.StyleHint, io.qt.gui.QFont.StyleStrategy)} * with strategy = io.qt.gui.QFont.StyleStrategy.PreferDefault.

*/ @QtUninvokable public final void setFontStyleHint(io.qt.gui.QFont.@NonNull StyleHint hint) { setFontStyleHint(hint, io.qt.gui.QFont.StyleStrategy.PreferDefault); } /** *

Overloaded function for {@link #setTextOutline(io.qt.gui.QPen)}.

*/ @QtUninvokable public final void setTextOutline(io.qt.core.Qt.@NonNull PenStyle pen) { setTextOutline(new io.qt.gui.QPen(pen)); } /** *

Overloaded function for {@link #setTextOutline(io.qt.gui.QPen)}.

*/ @QtUninvokable public final void setTextOutline(io.qt.gui.@NonNull QColor pen) { setTextOutline(new io.qt.gui.QPen(pen)); } /** *

Overloaded function for {@link #setUnderlineColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setUnderlineColor(io.qt.core.Qt.@NonNull GlobalColor color) { setUnderlineColor(new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setUnderlineColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setUnderlineColor(io.qt.gui.@NonNull QRgba64 color) { setUnderlineColor(new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setUnderlineColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setUnderlineColor(java.lang.@NonNull String color) { setUnderlineColor(new io.qt.gui.QColor(color)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy