java.lang.Object
io.qt.QtObject
io.qt.webengine.widgets.QWebEngineScript
- All Implemented Interfaces:
io.qt.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
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQWebEngineScript(QWebEngineScript other) protectedQWebEngineScript(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QWebEngineScript other) clone()Creates and returns a copy of this object.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 booleanisNull()final Stringname()final booleanfinal voidset(QWebEngineScript other) Deprecated.final voidfinal voidfinal voidsetRunsOnSubFrames(boolean on) final voidsetSourceCode(String arg__1) final voidsetWorldId(int arg__1) final Stringfinal voidswap(QWebEngineScript other) toString()final intworldId()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QWebEngineScript
public QWebEngineScript() -
QWebEngineScript
-
QWebEngineScript
protected QWebEngineScript(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
injectionPoint
-
isNull
@QtUninvokable public final boolean isNull() -
name
-
set
Deprecated.Useassign(io.qt.webengine.widgets.QWebEngineScript)instead. -
assign
-
runsOnSubFrames
@QtUninvokable public final boolean runsOnSubFrames() -
setInjectionPoint
-
setName
-
setRunsOnSubFrames
@QtUninvokable public final void setRunsOnSubFrames(boolean on) -
setSourceCode
-
setWorldId
@QtUninvokable public final void setWorldId(int arg__1) -
sourceCode
-
swap
-
worldId
@QtUninvokable public final int 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.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- other object- Returns:
- true if the native counterpart of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
toString
-
clone
Creates and returns a copy of this object.
-
assign(io.qt.webengine.widgets.QWebEngineScript)instead.