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