Module qtjambi
Package io.qt.gui.rhi

Class QRhi.Flags

java.lang.Object
io.qt.QFlags<QRhi.Flag>
io.qt.gui.rhi.QRhi.Flags
All Implemented Interfaces:
Serializable, Cloneable, Comparable<QRhi.Flags>
Enclosing class:
QRhi

public static final class QRhi.Flags extends QFlags<QRhi.Flag> implements Comparable<QRhi.Flags>
QFlags type for enum QRhi.Flag
See Also:
  • Constructor Details

    • Flags

      public Flags()
      Creates a new Flags.
    • Flags

      public Flags(QRhi.Flag ... args)
      Creates a new Flags where the flags in args are set.
      Parameters:
      args - enum entries
    • Flags

      public Flags(int value)
      Creates a new Flags with given value.
      Parameters:
      value -
  • Method Details

    • combined

      public final QRhi.Flags combined(QRhi.Flag e)
      Combines this flags with enum entry.
      Overrides:
      combined in class QFlags<QRhi.Flag>
      Parameters:
      e - enum entry
      Returns:
      new Flags
    • setFlag

      public final QRhi.Flags setFlag(QRhi.Flag e)
      Sets the flag e
      Overrides:
      setFlag in class QFlags<QRhi.Flag>
      Parameters:
      e - enum entry
      Returns:
      this
    • setFlag

      public final QRhi.Flags setFlag(QRhi.Flag e, boolean on)
      Sets or clears the flag flag
      Overrides:
      setFlag in class QFlags<QRhi.Flag>
      Parameters:
      e - enum entry
      on - set (true) or clear (false)
      Returns:
      this
    • flags

      public final QRhi.Flag [] flags()
      Returns an array of flag objects represented by this Flags.
      Overrides:
      flags in class QFlags<QRhi.Flag>
      Returns:
      array of enum entries
    • clone

      public final QRhi.Flags clone()
      Clones the flags
      Overrides:
      clone in class QFlags<QRhi.Flag>
    • compareTo

      public final int compareTo(QRhi.Flags other)
      Specified by:
      compareTo in interface Comparable<QRhi.Flags>
    • value

      public final int value()
      Returns the value of this QFlags.
    • setValue

      public final void setValue(int value)
      Sets the value of this QFlags.
      Parameters:
      value - new value