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

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

package io.qt.gui;


/**
 * 

Used to check a string against a regular expression

*

Java wrapper for Qt class QRegExpValidator

*/ public class QRegExpValidator extends io.qt.gui.QValidator { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QRegExpValidator.class); /** *

See QRegExpValidator::regExpChanged(QRegExp)

*/ @io.qt.QtPropertyNotify(name="regExp") public final Signal1 regExpChanged = new Signal1<>(); /** *

Overloaded constructor for {@link #QRegExpValidator(io.qt.core.QObject)} * with parent = null.

*/ public QRegExpValidator() { this((io.qt.core.QObject)null); } /** *

See QRegExpValidator::QRegExpValidator(QObject*)

*/ public QRegExpValidator(io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QRegExpValidator instance, io.qt.core.QObject parent); /** *

Overloaded constructor for {@link #QRegExpValidator(io.qt.core.QRegExp, io.qt.core.QObject)} * with parent = null.

*/ public QRegExpValidator(io.qt.core.QRegExp rx) { this(rx, (io.qt.core.QObject)null); } /** *

See QRegExpValidator::QRegExpValidator(QRegExp,QObject*)

*/ public QRegExpValidator(io.qt.core.QRegExp rx, io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, rx, parent); } private native static void initialize_native(QRegExpValidator instance, io.qt.core.QRegExp rx, io.qt.core.QObject parent); /** *

See QRegExpValidator::regExp()const

*/ @io.qt.QtPropertyReader(name="regExp") @io.qt.QtUninvokable public final io.qt.core.QRegExp regExp(){ return regExp_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRegExp regExp_native_constfct(long __this__nativeId); /** *

See QRegExpValidator::setRegExp(QRegExp)

*/ @io.qt.QtPropertyWriter(name="regExp") @io.qt.QtUninvokable public final void setRegExp(io.qt.core.QRegExp rx){ setRegExp_native_cref_QRegExp(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rx)); } @io.qt.QtUninvokable private native void setRegExp_native_cref_QRegExp(long __this__nativeId, long rx); /** *

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

*/ @io.qt.QtUninvokable public io.qt.gui.QValidator.State validate(io.qt.gui.QValidator.QValidationData input){ return io.qt.gui.QValidator.State.resolve(validate_native_ref_QString_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input)); } @io.qt.QtUninvokable private native int validate_native_ref_QString_ref_int_constfct(long __this__nativeId, io.qt.gui.QValidator.QValidationData input); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QRegExpValidator(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QRegExpValidator(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QRegExpValidator instance, QDeclarativeConstructor constructor); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy