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

io.qt.serialport.QSerialPortInfo Maven / Gradle / Ivy

The newest version!
package io.qt.serialport;

import io.qt.*;


/**
 * 

Provides information about existing serial ports

*

Java wrapper for Qt class QSerialPortInfo

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

See QSerialPortInfo::QSerialPortInfo()

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

See QSerialPortInfo::QSerialPortInfo(QSerialPort)

* @param port */ public QSerialPortInfo(io.qt.serialport.@StrictNonNull QSerialPort port){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(port, "Argument 'port': null not expected."); initialize_native(this, port); } private native static void initialize_native(QSerialPortInfo instance, io.qt.serialport.QSerialPort port); /** *

See QSerialPortInfo::QSerialPortInfo(QSerialPortInfo)

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

See QSerialPortInfo::QSerialPortInfo(QString)

* @param name */ public QSerialPortInfo(java.lang.@NonNull String name){ super((QPrivateConstructor)null); initialize_native(this, name); } private native static void initialize_native(QSerialPortInfo instance, java.lang.String name); /** *

See QSerialPortInfo::description()const

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

See QSerialPortInfo::hasProductIdentifier()const

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

See QSerialPortInfo::hasVendorIdentifier()const

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

See QSerialPortInfo::isNull()const

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

See QSerialPortInfo::manufacturer()const

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

See QSerialPortInfo::operator=(QSerialPortInfo)

* @param other */ @QtUninvokable public final void assign(io.qt.serialport.@NonNull QSerialPortInfo other){ assign_native_cref_QSerialPortInfo(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QSerialPortInfo(long __this__nativeId, long other); /** *

See QSerialPortInfo::portName()const

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

See QSerialPortInfo::productIdentifier()const

* @return */ @QtUninvokable public final short productIdentifier(){ return productIdentifier_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short productIdentifier_native_constfct(long __this__nativeId); /** *

See QSerialPortInfo::serialNumber()const

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

See QSerialPortInfo::swap(QSerialPortInfo&)

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

See QSerialPortInfo::systemLocation()const

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

See QSerialPortInfo::vendorIdentifier()const

* @return */ @QtUninvokable public final short vendorIdentifier(){ return vendorIdentifier_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short vendorIdentifier_native_constfct(long __this__nativeId); /** *

See QSerialPortInfo::availablePorts()

* @return */ public native static io.qt.core.@NonNull QList availablePorts(); /** *

See QSerialPortInfo::standardBaudRates()

* @return */ public native static io.qt.core.@NonNull QList standardBaudRates(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QSerialPortInfo(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QSerialPortInfo::QSerialPortInfo(QSerialPortInfo)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy