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