Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QTextDocument.FindFlag

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QTextDocument.FindFlag

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QTextDocument

    public static final class QTextDocument.FindFlag

extends java.lang.Enum
implements QtEnumerator

This enum describes the options available to `QTextDocument`'s find function. The options can be OR-ed together from the following list:

See Also:
  Serialized Form

Field Summary
`static QTextDocument.FindFlag` | `FindBackward` Search backwards instead of forwards.
`static QTextDocument.FindFlag` | `FindCaseSensitively` By default find works case insensitive.
`static QTextDocument.FindFlag` | `FindWholeWords` Makes find match only complete words.

Method Summary
`static QTextDocument.FindFlags` | `createQFlags(QTextDocument.FindFlag[] values)` This function creates a com.trolltech.qt.gui.QTextDocument$FindFlags with the specified `com.trolltech.qt.gui.QTextDocument$FindFlag[]` QTextDocument$FindFlag values set.
`static QTextDocument.FindFlag` | `resolve(int value)` Returns the QTextDocument$FindFlag constant with the specified `int`.
`int` | `value()` This function should return an integer value for the enum values of the enumeration that implements this interface.
`static QTextDocument.FindFlag` | `valueOf(java.lang.String name)`
`static QTextDocument.FindFlag[]` | `values()`

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### FindBackward

    public static final QTextDocument.FindFlag FindBackward

  Search backwards instead of forwards.

### FindCaseSensitively

    public static final QTextDocument.FindFlag FindCaseSensitively

  By default find works case insensitive. Specifying this option changes the behaviour to a case sensitive find operation.

### FindWholeWords

    public static final QTextDocument.FindFlag FindWholeWords

  Makes find match only complete words.

Method Detail

### values

    public static QTextDocument.FindFlag[] values()

### valueOf

    public static QTextDocument.FindFlag valueOf(java.lang.String name)

### value

    public int value()

  This function should return an integer value for the enum values of the enumeration that implements this interface.

  Specified by:
    `value` in interface `QtEnumerator`

### createQFlags

    public static QTextDocument.FindFlags createQFlags(QTextDocument.FindFlag[] values)

  This function creates a com.trolltech.qt.gui.QTextDocument$FindFlags with the specified `com.trolltech.qt.gui.QTextDocument$FindFlag[]` QTextDocument$FindFlag values set.

### resolve

    public static QTextDocument.FindFlag resolve(int value)

  Returns the QTextDocument$FindFlag constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD