java.lang.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
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enum QWebEngineScript::InjectionPointstatic enumJava wrapper for Qt enum QWebEngineScript::ScriptWorldIdNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObjectThis variable stores the meta-object for the class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for internal use only.QWebEngineScript(QWebEngineScript other) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanUsed 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.inthashCode()final Stringname()final booleanfinal voidset(QWebEngineScript other) final voidfinal voidfinal voidsetRunsOnSubFrames(boolean on) final voidsetSourceCode(String arg__1) final voidsetSourceUrl(QUrl url) final voidsetWorldId(int arg__1) final Stringfinal QUrlfinal voidswap(QWebEngineScript other) toString()final intworldId()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:io.qt.QtObjectUsed 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
-