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

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

package io.qt.gui;


/**
 * 

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 io.qt.QtEnumerator { FontPropertiesSpecifiedOnly(0), FontPropertiesAll(1); 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 FontPropertiesInheritanceBehavior resolve(int value) { switch (value) { case 0: return FontPropertiesSpecifiedOnly; case 1: return FontPropertiesAll; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QTextCharFormat::UnderlineStyle

*/ public enum UnderlineStyle implements io.qt.QtEnumerator { NoUnderline(0), SingleUnderline(1), DashUnderline(2), DotLine(3), DashDotLine(4), DashDotDotLine(5), WaveUnderline(6), SpellCheckUnderline(7); 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 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 io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QTextCharFormat::VerticalAlignment

*/ public enum VerticalAlignment implements io.qt.QtEnumerator { AlignNormal(0), AlignSuperScript(1), AlignSubScript(2), AlignMiddle(3), AlignTop(4), AlignBottom(5), AlignBaseline(6); 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 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 io.qt.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); protected QTextCharFormat(io.qt.gui.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

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

See QTextCharFormat::anchorNames()const

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

See QTextCharFormat::baselineOffset()const

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

See QTextCharFormat::font()const

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

See QTextCharFormat::fontCapitalization()const

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

See QTextCharFormat::fontFamilies()const

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

See QTextCharFormat::fontFixedPitch()const

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

See QTextCharFormat::fontHintingPreference()const

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

See QTextCharFormat::fontItalic()const

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

See QTextCharFormat::fontKerning()const

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

See QTextCharFormat::fontLetterSpacing()const

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

See QTextCharFormat::fontLetterSpacingType()const

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

See QTextCharFormat::fontOverline()const

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

See QTextCharFormat::fontPointSize()const

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

See QTextCharFormat::fontStretch()const

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

See QTextCharFormat::fontStrikeOut()const

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

See QTextCharFormat::fontStyleHint()const

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

See QTextCharFormat::fontStyleName()const

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

See QTextCharFormat::fontStyleStrategy()const

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

See QTextCharFormat::fontUnderline()const

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

See QTextCharFormat::fontWeight()const

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

See QTextCharFormat::fontWordSpacing()const

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

See QTextCharFormat::isAnchor()const

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

See QTextFormat::isValid()const

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

See QTextCharFormat::setAnchor(bool)

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

See QTextCharFormat::setAnchorHref(QString)

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

See QTextCharFormat::setAnchorNames(QStringList)

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

See QTextCharFormat::setBaselineOffset(qreal)

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

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

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

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

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

See QTextCharFormat::setFontCapitalization(QFont::Capitalization)

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

See QTextCharFormat::setFontFamilies(QStringList)

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

See QTextCharFormat::setFontFixedPitch(bool)

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

See QTextCharFormat::setFontHintingPreference(QFont::HintingPreference)

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

See QTextCharFormat::setFontItalic(bool)

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

See QTextCharFormat::setFontKerning(bool)

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

See QTextCharFormat::setFontLetterSpacing(qreal)

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

See QTextCharFormat::setFontLetterSpacingType(QFont::SpacingType)

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

See QTextCharFormat::setFontOverline(bool)

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

See QTextCharFormat::setFontPointSize(qreal)

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

See QTextCharFormat::setFontStretch(int)

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

See QTextCharFormat::setFontStrikeOut(bool)

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

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

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

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

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

See QTextCharFormat::setFontStyleName(QString)

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

See QTextCharFormat::setFontStyleStrategy(QFont::StyleStrategy)

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

See QTextCharFormat::setFontUnderline(bool)

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

See QTextCharFormat::setFontWeight(int)

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

See QTextCharFormat::setFontWordSpacing(qreal)

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

See QTextCharFormat::setSubScriptBaseline(qreal)

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

See QTextCharFormat::setSuperScriptBaseline(qreal)

*/ @io.qt.QtUninvokable public final void setSuperScriptBaseline(double baseline){ setSuperScriptBaseline_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), baseline); } @io.qt.QtUninvokable private native void setSuperScriptBaseline_native_qtjambireal(long __this__nativeId, double baseline); @io.qt.QtUninvokable public final void setTableCellColumnSpan(int tableCellColumnSpan){ setTableCellColumnSpan_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), tableCellColumnSpan); } @io.qt.QtUninvokable private native void setTableCellColumnSpan_native_int(long __this__nativeId, int tableCellColumnSpan); @io.qt.QtUninvokable public final void setTableCellRowSpan(int tableCellRowSpan){ setTableCellRowSpan_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), tableCellRowSpan); } @io.qt.QtUninvokable private native void setTableCellRowSpan_native_int(long __this__nativeId, int tableCellRowSpan); /** *

See QTextCharFormat::setTextOutline(QPen)

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

See QTextCharFormat::setToolTip(QString)

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

See QTextCharFormat::setUnderlineColor(QColor)

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

See QTextCharFormat::setUnderlineStyle(QTextCharFormat::UnderlineStyle)

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

See QTextCharFormat::setVerticalAlignment(QTextCharFormat::VerticalAlignment)

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

See QTextCharFormat::subScriptBaseline()const

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

See QTextCharFormat::superScriptBaseline()const

*/ @io.qt.QtUninvokable public final double superScriptBaseline(){ return superScriptBaseline_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double superScriptBaseline_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final int tableCellColumnSpan(){ return tableCellColumnSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int tableCellColumnSpan_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final int tableCellRowSpan(){ return tableCellRowSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int tableCellRowSpan_native_constfct(long __this__nativeId); /** *

See QTextCharFormat::textOutline()const

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

See QTextCharFormat::toolTip()const

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

See QTextCharFormat::underlineColor()const

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

See QTextCharFormat::underlineStyle()const

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

See QTextCharFormat::verticalAlignment()const

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy