java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.webengine.core.QWebEngineScript
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Encapsulates a JavaScript program
Java wrapper for Qt's class QWebEngineScript
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QWebEngineScript::InjectionPointstatic enum
Java wrapper for Qt enum QWebEngineScript::ScriptWorldIdNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QWebEngineScript
(QWebEngineScript other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final String
name()
final boolean
final void
set
(QWebEngineScript other) final void
final void
final void
setRunsOnSubFrames
(boolean on) final void
setSourceCode
(String arg__1) final void
setSourceUrl
(QUrl url) final void
setWorldId
(int arg__1) final String
final QUrl
final void
swap
(QWebEngineScript other) toString()
final int
worldId()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QWebEngineScript
public QWebEngineScript() -
QWebEngineScript
-
QWebEngineScript
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
injectionPoint
-
name
-
set
-
runsOnSubFrames
-
setInjectionPoint
-
setName
-
setRunsOnSubFrames
-
setSourceCode
-
setSourceUrl
-
setWorldId
-
sourceCode
-
sourceUrl
-
swap
-
worldId
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-