- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QSerialPort.PinoutSignals>
- Enclosing class:
- QSerialPort
public static final class QSerialPort.PinoutSignals extends QFlags<QSerialPort.PinoutSignal> implements Comparable<QSerialPort.PinoutSignals>
QFlags type for enum
QSerialPort.PinoutSignal
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PinoutSignals(int value)
Creates a new PinoutSignals with givenvalue
.PinoutSignals(QSerialPort.PinoutSignal... args)
Creates a new PinoutSignals where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QSerialPort.PinoutSignals
clone()
Clones the flagsQSerialPort.PinoutSignals
combined(QSerialPort.PinoutSignal e)
Combines this flags with enum entry.int
compareTo(QSerialPort.PinoutSignals other)
QSerialPort.PinoutSignal[]
flags()
Returns an array of flag objects represented by this PinoutSignals.QSerialPort.PinoutSignals
setFlag(QSerialPort.PinoutSignal e)
Sets the flage
QSerialPort.PinoutSignals
setFlag(QSerialPort.PinoutSignal e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
PinoutSignals
Creates a new PinoutSignals where the flags inargs
are set.- Parameters:
args
- enum entries
-
PinoutSignals
public PinoutSignals(int value)Creates a new PinoutSignals with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QSerialPort.PinoutSignal>
- Parameters:
e
- enum entry- Returns:
- new PinoutSignals
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QSerialPort.PinoutSignal>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QSerialPort.PinoutSignal>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this PinoutSignals.- Overrides:
flags
in classQFlags<QSerialPort.PinoutSignal>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QSerialPort.PinoutSignal>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QSerialPort.PinoutSignals>
-