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

io.qt.widgets.QSpinBox Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

Spin box widget

*

Java wrapper for Qt class QSpinBox

*/ public class QSpinBox extends io.qt.widgets.QAbstractSpinBox { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSpinBox.class); /** *

See QSpinBox::textChanged(QString)

*/ public final @NonNull Signal1 textChanged = new Signal1<>(); /** *

See QSpinBox::valueChanged(int)

*/ @QtPropertyNotify(name="value") public final @NonNull Signal1 valueChanged = new Signal1<>(); /** *

See QSpinBox::QSpinBox(QWidget*)

*/ public QSpinBox(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QSpinBox instance, io.qt.widgets.QWidget parent); /** *

See QSpinBox::cleanText()const

*/ @QtPropertyReader(name="cleanText") @QtUninvokable public final java.lang.@NonNull String cleanText(){ return cleanText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String cleanText_native_constfct(long __this__nativeId); /** *

See QSpinBox::displayIntegerBase()const

*/ @QtPropertyReader(name="displayIntegerBase") @QtUninvokable public final int displayIntegerBase(){ return displayIntegerBase_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int displayIntegerBase_native_constfct(long __this__nativeId); /** *

See QSpinBox::maximum()const

*/ @QtPropertyReader(name="maximum") @QtUninvokable public final int maximum(){ return maximum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int maximum_native_constfct(long __this__nativeId); /** *

See QSpinBox::minimum()const

*/ @QtPropertyReader(name="minimum") @QtUninvokable public final int minimum(){ return minimum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int minimum_native_constfct(long __this__nativeId); /** *

See QSpinBox::prefix()const

*/ @QtPropertyReader(name="prefix") @QtUninvokable public final java.lang.@NonNull String prefix(){ return prefix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String prefix_native_constfct(long __this__nativeId); /** *

See QSpinBox::setDisplayIntegerBase(int)

*/ @QtPropertyWriter(name="displayIntegerBase") @QtUninvokable public final void setDisplayIntegerBase(int base){ setDisplayIntegerBase_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), base); } @QtUninvokable private native void setDisplayIntegerBase_native_int(long __this__nativeId, int base); /** *

See QSpinBox::setMaximum(int)

*/ @QtPropertyWriter(name="maximum") @QtUninvokable public final void setMaximum(int max){ setMaximum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), max); } @QtUninvokable private native void setMaximum_native_int(long __this__nativeId, int max); /** *

See QSpinBox::setMinimum(int)

*/ @QtPropertyWriter(name="minimum") @QtUninvokable public final void setMinimum(int min){ setMinimum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), min); } @QtUninvokable private native void setMinimum_native_int(long __this__nativeId, int min); /** *

See QSpinBox::setPrefix(QString)

*/ @QtPropertyWriter(name="prefix") @QtUninvokable public final void setPrefix(java.lang.@NonNull String prefix){ setPrefix_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), prefix); } @QtUninvokable private native void setPrefix_native_cref_QString(long __this__nativeId, java.lang.String prefix); /** *

See QSpinBox::setRange(int,int)

*/ @QtUninvokable public final void setRange(int min, int max){ setRange_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), min, max); } @QtUninvokable private native void setRange_native_int_int(long __this__nativeId, int min, int max); /** *

See QSpinBox::setSingleStep(int)

*/ @QtPropertyWriter(name="singleStep") @QtUninvokable public final void setSingleStep(int val){ setSingleStep_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), val); } @QtUninvokable private native void setSingleStep_native_int(long __this__nativeId, int val); /** *

See QSpinBox::setStepType(QAbstractSpinBox::StepType)

*/ @QtPropertyWriter(name="stepType") @QtUninvokable public final void setStepType(io.qt.widgets.QAbstractSpinBox.@NonNull StepType stepType){ setStepType_native_QAbstractSpinBox_StepType(QtJambi_LibraryUtilities.internal.nativeId(this), stepType.value()); } @QtUninvokable private native void setStepType_native_QAbstractSpinBox_StepType(long __this__nativeId, int stepType); /** *

See QSpinBox::setSuffix(QString)

*/ @QtPropertyWriter(name="suffix") @QtUninvokable public final void setSuffix(java.lang.@NonNull String suffix){ setSuffix_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), suffix); } @QtUninvokable private native void setSuffix_native_cref_QString(long __this__nativeId, java.lang.String suffix); /** *

See QSpinBox::setValue(int)

*/ @QtPropertyWriter(name="value") public final void setValue(int val){ setValue_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), val); } private native void setValue_native_int(long __this__nativeId, int val); /** *

See QSpinBox::singleStep()const

*/ @QtPropertyReader(name="singleStep") @QtUninvokable public final int singleStep(){ return singleStep_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int singleStep_native_constfct(long __this__nativeId); /** *

See QSpinBox::stepType()const

*/ @QtPropertyReader(name="stepType") @QtUninvokable public final io.qt.widgets.QAbstractSpinBox.@NonNull StepType stepType(){ return io.qt.widgets.QAbstractSpinBox.StepType.resolve(stepType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int stepType_native_constfct(long __this__nativeId); /** *

See QSpinBox::suffix()const

*/ @QtPropertyReader(name="suffix") @QtUninvokable public final java.lang.@NonNull String suffix(){ return suffix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String suffix_native_constfct(long __this__nativeId); /** *

See QSpinBox::value()const

*/ @QtPropertyReader(name="value") @QtPropertyUser @QtUninvokable public final int value(){ return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int value_native_constfct(long __this__nativeId); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent event){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractSpinBox::fixup(QString&)const

*/ @QtUninvokable @Override public void fixup(io.qt.core.@StrictNonNull QString str){ java.util.Objects.requireNonNull(str, "Argument 'str': null not expected."); fixup_native_ref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), str); } @QtUninvokable private native void fixup_native_ref_QString_constfct(long __this__nativeId, io.qt.core.QString str); /** *

See QSpinBox::textFromValue(int)const

*/ @QtUninvokable protected java.lang.@NonNull String textFromValue(int val){ return textFromValue_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), val); } @QtUninvokable private native java.lang.String textFromValue_native_int_constfct(long __this__nativeId, int val); /** *

See QAbstractSpinBox::validate(QString&,int&)const

*/ @QtUninvokable @Override public io.qt.gui.QValidator.@NonNull State validate(io.qt.gui.QValidator.@StrictNonNull QValidationData input){ java.util.Objects.requireNonNull(input, "Argument 'input': null not expected."); return io.qt.gui.QValidator.State.resolve(validate_native_ref_QString_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input)); } @QtUninvokable private native int validate_native_ref_QString_ref_int_constfct(long __this__nativeId, io.qt.gui.QValidator.QValidationData input); /** *

See QSpinBox::valueFromText(QString)const

*/ @QtUninvokable protected int valueFromText(java.lang.@NonNull String text){ return valueFromText_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native int valueFromText_native_cref_QString_constfct(long __this__nativeId, java.lang.String text); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QSpinBox(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QSpinBox(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QSpinBox instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QSpinBox(io.qt.widgets.QWidget)} * with parent = null.

*/ public QSpinBox() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #cleanText()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getCleanText() { return cleanText(); } /** * @hidden *

Kotlin property getter. In Java use {@link #displayIntegerBase()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getDisplayIntegerBase() { return displayIntegerBase(); } /** * @hidden *

Kotlin property getter. In Java use {@link #maximum()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMaximum() { return maximum(); } /** * @hidden *

Kotlin property getter. In Java use {@link #minimum()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMinimum() { return minimum(); } /** * @hidden *

Kotlin property getter. In Java use {@link #prefix()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getPrefix() { return prefix(); } /** * @hidden *

Kotlin property getter. In Java use {@link #singleStep()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getSingleStep() { return singleStep(); } /** * @hidden *

Kotlin property getter. In Java use {@link #stepType()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QAbstractSpinBox.@NonNull StepType getStepType() { return stepType(); } /** * @hidden *

Kotlin property getter. In Java use {@link #suffix()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getSuffix() { return suffix(); } /** * @hidden *

Kotlin property getter. In Java use {@link #value()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getValue() { return value(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy