- 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:
-
Constructor Summary
ConstructorsConstructorDescriptionPeekOptions(int value) Creates a new PeekOptions with givenvalue.PeekOptions(QX11Info.PeekOption... args) Creates a new PeekOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QX11Info.PeekOptionsclone()Clones the flagsfinal QX11Info.PeekOptionsCombines this flags with enum entry.final intcompareTo(QX11Info.PeekOptions other) final QX11Info.PeekOption[]flags()Returns an array of flag objects represented by this PeekOptions.final QX11Info.PeekOptionsSets the flagefinal QX11Info.PeekOptionssetFlag(QX11Info.PeekOption e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
PeekOptions
Creates a new PeekOptions where the flags inargsare 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:
combinedin classQFlags<QX11Info.PeekOption>- Parameters:
e- enum entry- Returns:
- new PeekOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QX11Info.PeekOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QX11Info.PeekOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QX11Info.PeekOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<QX11Info.PeekOptions>
-