|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.webkit.QWebHitTestResult
public class QWebHitTestResult
The QWebHitTestResult class provides information about the web page content after a hit test. QWebHitTestResult is returned by QWebFrame::hitTestContent()
to provide information about the content of the web page at the specified position.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
Field Summary |
---|
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
currentSender |
Constructor Summary | |
---|---|
QWebHitTestResult()
Constructs a null hit test result. |
|
QWebHitTestResult(QWebHitTestResult other)
Constructs a hit test result from other. |
Method Summary | |
---|---|
java.lang.String |
alternateText()
Returns the alternate text of the element. |
QRect |
boundingRect()
Returns the bounding rect of the element. |
QWebHitTestResult |
clone()
This method is reimplemented for internal reasons |
QWebFrame |
frame()
Returns the frame the hit test was executed in. |
QUrl |
imageUrl()
Returns the url of the image. |
boolean |
isContentEditable()
Returns true if the content is editable by the user; otherwise returns false. |
boolean |
isContentSelected()
Returns true if the content tested is part of the selection; otherwise returns false. |
boolean |
isNull()
Returns true if the hit test result is null; otherwise returns false. |
QWebFrame |
linkTargetFrame()
Returns the frame that will load the link if it is activated. |
java.lang.String |
linkText()
Returns the text of the link. |
QUrl |
linkTitle()
Returns the title of the link. |
QUrl |
linkUrl()
Returns the url to which the link points to. |
QPixmap |
pixmap()
Returns a QPixmap containing the image. |
QPoint |
pos()
Returns the position where the hit test occured. |
java.lang.String |
title()
Returns the title of the nearest enclosing HTML element. |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QWebHitTestResult()
public QWebHitTestResult(QWebHitTestResult other)
Method Detail |
---|
public final java.lang.String alternateText()
public final QRect boundingRect()
public final QWebFrame frame()
public final QUrl imageUrl()
public final boolean isContentEditable()
public final boolean isContentSelected()
public final boolean isNull()
public final QWebFrame linkTargetFrame()
public final java.lang.String linkText()
public final QUrl linkTitle()
public final QUrl linkUrl()
public final QPixmap pixmap()
QPixmap
containing the image. A null pixmap is returned if the element being tested is not an image.
public final QPoint pos()
public final java.lang.String title()
public QWebHitTestResult clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |