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.webkit
Class QWebPage.LinkDelegationPolicy

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.webkit.QWebPage.LinkDelegationPolicy

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

Enclosing class:
  QWebPage

    public static final class QWebPage.LinkDelegationPolicy

extends java.lang.Enum
implements QtEnumerator

This enum defines the delegation policies a webpage can have when activating links and emitting the `linkClicked()` signal.

See Also:
  Serialized Form

Field Summary
`static QWebPage.LinkDelegationPolicy` | `DelegateAllLinks` Whenever a link is activated the `linkClicked()` signal is emitted.
`static QWebPage.LinkDelegationPolicy` | `DelegateExternalLinks` When activating links that point to documents not stored on the local filesystem or an equivalent - such as the Qt resource system - then `linkClicked()` is emitted.
`static QWebPage.LinkDelegationPolicy` | `DontDelegateLinks` No links are delegated.

Method Summary
`static QWebPage.LinkDelegationPolicy` | `resolve(int value)` Returns the LinkDelegationPolicy 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 QWebPage.LinkDelegationPolicy` | `valueOf(java.lang.String name)`
`static QWebPage.LinkDelegationPolicy[]` | `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

### DontDelegateLinks

    public static final QWebPage.LinkDelegationPolicy DontDelegateLinks

  No links are delegated. Instead, `QWebPage` tries to handle them all.

### DelegateExternalLinks

    public static final QWebPage.LinkDelegationPolicy DelegateExternalLinks

  When activating links that point to documents not stored on the local filesystem or an equivalent - such as the Qt resource system - then `linkClicked()` is emitted.

### DelegateAllLinks

    public static final QWebPage.LinkDelegationPolicy DelegateAllLinks

  Whenever a link is activated the `linkClicked()` signal is emitted.

Method Detail

### values

    public static QWebPage.LinkDelegationPolicy[] values()

### valueOf

    public static QWebPage.LinkDelegationPolicy 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`

### resolve

    public static QWebPage.LinkDelegationPolicy resolve(int value)

  Returns the LinkDelegationPolicy 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