Module qtjambi
Package io.qt

Interface QtShortEnumerator

All Superinterfaces:
QtAbstractEnumerator
All Known Subinterfaces:
QtShortFlagEnumerator
All Known Implementing Classes:
QAudioFormat.SampleFormat, QLocale.Country, QLocale.Language, QLocale.Script, QMetaType.GenericShortEnumerator, QTextLayout.GlyphRunRetrievalFlag

public interface QtShortEnumerator extends QtAbstractEnumerator
The QtEnumerator interface servers as a base for all 16 Bit enum classes. Its sole purpose is to unify the access to the short value of enumerators and flags using the value() method.
  • Method Details

    • value

      default short value()
      This function should return a short value for the enum values of the enumeration that implements this interface.
    • comparator

      static <E extends QtShortEnumerator> Comparator<E> comparator()
      Creates a comparator for enumeration values
      Type Parameters:
      E -
      Returns:
      comparator